public interface EReference extends EStructuralFeature
The following features are supported:
EcorePackage.getEReference()
EStructuralFeature.Internal, EStructuralFeature.Setting
UNBOUNDED_MULTIPLICITY, UNSPECIFIED_MULTIPLICITY
Modifier and Type | Method and Description |
---|---|
EList<EAttribute> |
getEKeys()
Returns the value of the 'EKeys' reference list.
|
EReference |
getEOpposite()
Returns the value of the 'EOpposite' reference
|
EClass |
getEReferenceType()
Returns the value of the 'EReference Type' reference
|
boolean |
isContainer()
Returns the value of the 'Container' attribute
|
boolean |
isContainment()
Returns the value of the 'Containment' attribute
|
boolean |
isResolveProxies()
Returns the value of the 'Resolve Proxies' attribute.
|
void |
setContainment(boolean value)
Sets the value of the '
Containment ' attribute |
void |
setEOpposite(EReference value)
Sets the value of the '
EOpposite ' reference |
void |
setResolveProxies(boolean value)
Sets the value of the '
Resolve Proxies ' 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 isContainment()
setContainment(boolean)
,
EcorePackage.getEReference_Containment()
void setContainment(boolean value)
Containment
' attribute.
value
- the new value of the 'Containment' attribute.isContainment()
boolean isContainer()
A reference is a container if it has an opposite
that is a containment
.
EcorePackage.getEReference_Container()
boolean isResolveProxies()
"true"
.
It represents whether proxies
will be automatically resolved.
setResolveProxies(boolean)
,
EcorePackage.getEReference_ResolveProxies()
void setResolveProxies(boolean value)
Resolve Proxies
' attribute.
value
- the new value of the 'Resolve Proxies' attribute.isResolveProxies()
EReference getEOpposite()
It represent the other end of a bidirectional relation.
setEOpposite(EReference)
,
EcorePackage.getEReference_EOpposite()
void setEOpposite(EReference value)
EOpposite
' reference.
value
- the new value of the 'EOpposite' reference.getEOpposite()
EClass getEReferenceType()
The type
of a reference must always be a class; this method provides access to it.
EcorePackage.getEReference_EReferenceType()
EList<EAttribute> getEKeys()
EAttribute
.
This represents a subset of the attributes on the referenced type that uniquely identify an instance within this reference.
EcorePackage.getEReference_EKeys()