public interface TypedElement extends NamedElement
The following features are supported:
EcorePackage.getTypedElement()
Modifier and Type | Field and Description |
---|---|
static int |
UNBOUNDED_MULTIPLICITY
A value indicating that there is no
upper bound . |
Modifier and Type | Method and Description |
---|---|
int |
getLowerBound()
Returns the value of the 'Lower Bound' attribute.
|
Classifier |
getType()
Returns the value of the 'Type' reference.
|
int |
getUpperBound()
Returns the value of the 'Upper Bound' attribute.
|
boolean |
isMany()
Returns the value of the 'Many' attribute.
|
boolean |
isOrdered()
Returns the value of the 'Ordered' attribute.
|
boolean |
isRequired()
Returns the value of the 'Required' attribute.
|
boolean |
isUnique()
Returns the value of the 'Unique' attribute.
|
void |
setLowerBound(int value)
Sets the value of the '
Lower Bound ' attribute. |
void |
setOrdered(boolean value)
Sets the value of the '
Ordered ' attribute. |
void |
setType(Classifier value)
Sets the value of the '
Type ' reference. |
void |
setUnique(boolean value)
Sets the value of the '
Unique ' attribute. |
void |
setUpperBound(int value)
Sets the value of the '
Upper Bound ' attribute. |
getName, setName
getAnnotations
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
static final int UNBOUNDED_MULTIPLICITY
upper bound
.getUpperBound()
,
Constant Field Valuesboolean isOrdered()
"true"
.
setOrdered(boolean)
,
EcorePackage.getTypedElement_Ordered()
void setOrdered(boolean value)
Ordered
' attribute.
value
- the new value of the 'Ordered' attribute.isOrdered()
boolean isUnique()
"true"
.
setUnique(boolean)
,
EcorePackage.getTypedElement_Unique()
void setUnique(boolean value)
Unique
' attribute.
value
- the new value of the 'Unique' attribute.isUnique()
int getLowerBound()
setLowerBound(int)
,
EcorePackage.getTypedElement_LowerBound()
void setLowerBound(int value)
Lower Bound
' attribute.
value
- the new value of the 'Lower Bound' attribute.getLowerBound()
int getUpperBound()
"1"
.
setUpperBound(int)
,
EcorePackage.getTypedElement_UpperBound()
void setUpperBound(int value)
Upper Bound
' attribute.
value
- the new value of the 'Upper Bound' attribute.getUpperBound()
boolean isMany()
EcorePackage.getTypedElement_Many()
boolean isRequired()
EcorePackage.getTypedElement_Required()
Classifier getType()
setType(Classifier)
,
EcorePackage.getTypedElement_Type()
void setType(Classifier value)
Type
' reference.
value
- the new value of the 'Type' reference.getType()