|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'ETyped Element'.
The following features are supported:
EcorePackage.getETypedElement()
Field Summary | |
static int |
UNBOUNDED_MULTIPLICITY
A value indicating that there is no upper bound . |
static int |
UNSPECIFIED_MULTIPLICITY
A value indicating that there is an unspecified upper bound . |
Method Summary | |
EClassifier |
getEType()
Returns the value of the 'EType' reference |
int |
getLowerBound()
Returns the value of the 'Lower Bound' attribute |
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 |
setEType(EClassifier value)
Sets the value of the ' EType ' reference |
void |
setLowerBound(int value)
Sets the value of the ' Lower Bound ' attribute |
void |
setOrdered(boolean value)
Sets the value of the ' Ordered ' attribute |
void |
setUnique(boolean value)
Sets the value of the ' Unique ' attribute |
void |
setUpperBound(int value)
Sets the value of the ' Upper Bound ' attribute |
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement |
getName, setName |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
getEAnnotation, getEAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Field Detail |
public static final int UNBOUNDED_MULTIPLICITY
upper bound
.
getUpperBound()
,
Constant Field Valuespublic static final int UNSPECIFIED_MULTIPLICITY
upper bound
.
getUpperBound()
,
Constant Field ValuesMethod Detail |
public boolean isOrdered()
"true"
.
It represents whether order is meaningful.
setOrdered(boolean)
,
EcorePackage.getETypedElement_Ordered()
public void setOrdered(boolean value)
Ordered
' attribute.
value
- the new value of the 'Ordered' attribute.isOrdered()
public boolean isUnique()
"true"
.
It represents whether values must be unique.
setUnique(boolean)
,
EcorePackage.getETypedElement_Unique()
public void setUnique(boolean value)
Unique
' attribute.
value
- the new value of the 'Unique' attribute.isUnique()
public int getLowerBound()
It represents the minimum number of values that must appear in a valid instance.
setLowerBound(int)
,
EcorePackage.getETypedElement_LowerBound()
public void setLowerBound(int value)
Lower Bound
' attribute.
value
- the new value of the 'Lower Bound' attribute.getLowerBound()
public int getUpperBound()
"1"
.
It represents the maximum number of values that must appear in a valid instance;
the value -1
, i.e., (@link #UNBOUNDED_MULTIPLICITY}}, represents unbounded,
and the value -2
, i.e., (@link #UNSPECIFIED_MULTIPLICITY}}, represents unspecified.
setUpperBound(int)
,
EcorePackage.getETypedElement_UpperBound()
public void setUpperBound(int value)
Upper Bound
' attribute.
value
- the new value of the 'Upper Bound' attribute.getUpperBound()
public boolean isMany()
It represents whether more than one value may appear in a valid instance.
EcorePackage.getETypedElement_Many()
public boolean isRequired()
It represents whether at least one value is required for a valid instance.
EcorePackage.getETypedElement_Required()
public EClassifier getEType()
It represents the type of the element.
setEType(EClassifier)
,
EcorePackage.getETypedElement_EType()
public void setEType(EClassifier value)
EType
' reference.
value
- the new value of the 'EType' reference.getEType()
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |