|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ETypedElement
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 | |
---|---|
EGenericType |
getEGenericType()
Returns the value of the 'EGeneric Type' containment reference |
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 |
setEGenericType(EGenericType value)
Sets the value of the ' EGeneric Type ' containment reference |
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 |
---|
static final int UNBOUNDED_MULTIPLICITY
upper bound
.
getUpperBound()
,
Constant Field Valuesstatic final int UNSPECIFIED_MULTIPLICITY
upper bound
.
getUpperBound()
,
Constant Field ValuesMethod Detail |
---|
boolean isOrdered()
"true"
.
It represents whether order is meaningful.
setOrdered(boolean)
,
EcorePackage.getETypedElement_Ordered()
void setOrdered(boolean value)
Ordered
' attribute.
value
- the new value of the 'Ordered' attribute.isOrdered()
boolean isUnique()
"true"
.
It represents whether values must be unique.
setUnique(boolean)
,
EcorePackage.getETypedElement_Unique()
void setUnique(boolean value)
Unique
' attribute.
value
- the new value of the 'Unique' attribute.isUnique()
int getLowerBound()
It represents the minimum number of values that must appear in a valid instance.
setLowerBound(int)
,
EcorePackage.getETypedElement_LowerBound()
void setLowerBound(int value)
Lower Bound
' attribute.
value
- the new value of the 'Lower Bound' attribute.getLowerBound()
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()
void setUpperBound(int value)
Upper Bound
' attribute.
value
- the new value of the 'Upper Bound' attribute.getUpperBound()
boolean isMany()
It represents whether more than one value may appear in a valid instance.
EcorePackage.getETypedElement_Many()
boolean isRequired()
It represents whether at least one value is required for a valid instance.
EcorePackage.getETypedElement_Required()
EClassifier getEType()
It represents the type of the element
and is derived from the generic type
.
,
setEType(EClassifier)
,
EcorePackage.getETypedElement_EType()
void setEType(EClassifier value)
EType
' reference.
value
- the new value of the 'EType' reference.getEType()
EGenericType getEGenericType()
It represents the generic type of the element.
The type
is derived from this, i.e., it represents the erasure
of the generic type.
setEGenericType(EGenericType)
,
EcorePackage.getETypedElement_EGenericType()
void setEGenericType(EGenericType value)
EGeneric Type
' containment reference.
value
- the new value of the 'EGeneric Type' containment reference.getEGenericType()
|
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 |