public interface EAttribute extends EStructuralFeature
The following features are supported:
EcorePackage.getEAttribute()
EStructuralFeature.Internal, EStructuralFeature.Setting
UNBOUNDED_MULTIPLICITY, UNSPECIFIED_MULTIPLICITY
Modifier and Type | Method and Description |
---|---|
EDataType |
getEAttributeType()
Returns the value of the 'EAttribute Type' reference
|
boolean |
isID()
Returns the value of the 'ID' attribute
|
void |
setID(boolean value)
Sets the value of the '
ID ' attribute |
getContainerClass, getDefaultValue, getDefaultValueLiteral, getEContainingClass, getFeatureID, isChangeable, isDerived, isTransient, isUnsettable, isVolatile, setChangeable, setDefaultValue, setDefaultValueLiteral, setDerived, setTransient, setUnsettable, setVolatile
getEGenericType, getEType, getLowerBound, getUpperBound, isMany, isOrdered, isRequired, isUnique, setEGenericType, setEType, setLowerBound, setOrdered, setUnique, setUpperBound
getName, setName
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
boolean isID()
An ID attribute explicitly models
the one unique ID
of an object.
EClass.getEIDAttribute()
,
setID(boolean)
,
EcorePackage.getEAttribute_ID()
void setID(boolean value)
ID
' attribute.
value
- the new value of the 'ID' attribute.isID()
EDataType getEAttributeType()
The type
of an attribute must always be a data type; this method provides access to it.
EcorePackage.getEAttribute_EAttributeType()