org.eclipse.stp.core.internal.introspection
Class AttributeSet
java.lang.Object
org.eclipse.stp.core.internal.introspection.AttributeSet
public class AttributeSet
- extends java.lang.Object
Manages a set of EAttributes for a single logical EStructuralFeature element.
For each attribute, the "value" of that attribute is stored, along with a
boolean indicating if it's a unique attribute for the containing feature
(e.g. Service_Name() is a unique key for Service).
- Since:
- 1.0
Method Summary |
void |
add(org.eclipse.emf.ecore.EAttribute attribute,
java.lang.Object value,
boolean isUniqueKey)
|
java.lang.Object |
getValue(org.eclipse.emf.ecore.EAttribute attribute)
|
boolean |
isUniqueKey(org.eclipse.emf.ecore.EAttribute attribute)
|
java.util.Iterator |
iterator()
|
void |
reset()
|
org.eclipse.emf.ecore.EAttribute[] |
uniqueKeys()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeSet
public AttributeSet()
iterator
public java.util.Iterator iterator()
uniqueKeys
public org.eclipse.emf.ecore.EAttribute[] uniqueKeys()
add
public void add(org.eclipse.emf.ecore.EAttribute attribute,
java.lang.Object value,
boolean isUniqueKey)
isUniqueKey
public boolean isUniqueKey(org.eclipse.emf.ecore.EAttribute attribute)
getValue
public java.lang.Object getValue(org.eclipse.emf.ecore.EAttribute attribute)
reset
public void reset()