public class EReference extends EStructuralFeature
<complexType name="EReference">
<complexContent>
<extension base="{http://www.eclipse.org/emf/2002/Ecore}EStructuralFeature">
<choice maxOccurs="unbounded" minOccurs="0">
<element name="eOpposite" type="{http://www.eclipse.org/emf/2002/Ecore}EReference"/>
</choice>
<attribute name="containment" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="eOpposite" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="resolveProxies" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
containment |
protected String |
eOpposite |
protected List<EReference> |
eReferenceEOpposites |
protected Boolean |
resolveProxies |
changeable, defaultValueLiteral, derived, isTransient, isVolatile, unsettableeClassifierETypes, eType, lowerBound, ordered, unique, upperBoundnameeAnnotations| Constructor and Description |
|---|
EReference() |
| Modifier and Type | Method and Description |
|---|---|
String |
getEOpposite()
Gets the value of the eOpposite property.
|
List<EReference> |
getEReferenceEOpposites()
Gets the value of the eReferenceEOpposites property.
|
Boolean |
isContainment()
Gets the value of the containment property.
|
Boolean |
isResolveProxies()
Gets the value of the resolveProxies property.
|
void |
setContainment(Boolean value)
Sets the value of the containment property.
|
void |
setEOpposite(String value)
Sets the value of the eOpposite property.
|
void |
setResolveProxies(Boolean value)
Sets the value of the resolveProxies property.
|
getDefaultValueLiteral, isChangeable, isDerived, isIsTransient, isIsVolatile, isUnsettable, setChangeable, setDefaultValueLiteral, setDerived, setIsTransient, setIsVolatile, setUnsettablegetEClassifierETypes, getEType, getLowerBound, getUpperBound, isOrdered, isUnique, setEType, setLowerBound, setOrdered, setUnique, setUpperBoundgetName, setNamegetEAnnotationsprotected List<EReference> eReferenceEOpposites
protected Boolean containment
protected String eOpposite
protected Boolean resolveProxies
public List<EReference> getEReferenceEOpposites()
set method for the eReferenceEOpposites property.
For example, to add a new item, do as follows:
getEReferenceEOpposites().add(newItem);Objects of the following type(s) are allowed in the list
EReferencepublic Boolean isContainment()
Booleanpublic void setContainment(Boolean value)
value - allowed object is Booleanpublic String getEOpposite()
Stringpublic void setEOpposite(String value)
value - allowed object is Stringpublic Boolean isResolveProxies()
BooleanCopyright © 1999–2017 The Apache Software Foundation. All rights reserved.