org.eclipse.emf._2002.ecore
Class EReference

java.lang.Object
  extended by org.eclipse.emf._2002.ecore.EModelElement
      extended by org.eclipse.emf._2002.ecore.ENamedElement
          extended by org.eclipse.emf._2002.ecore.ETypedElement
              extended by org.eclipse.emf._2002.ecore.EStructuralFeature
                  extended by org.eclipse.emf._2002.ecore.EReference
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString

public class EReference
extends EStructuralFeature
implements org.jvnet.jaxb2_commons.lang.ToString

Java class for EReference complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="EReference">
   <complexContent>
     <extension base="{http://www.eclipse.org/emf/2002/Ecore}EStructuralFeature">
       <attribute name="containment" type="{http://www.eclipse.org/emf/2002/Ecore}EBoolean" />
       <attribute name="container" type="{http://www.eclipse.org/emf/2002/Ecore}EBoolean" />
       <attribute name="resolveProxies" type="{http://www.eclipse.org/emf/2002/Ecore}EBoolean" default="true" />
       <attribute name="eOpposite" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <attribute name="eReferenceType" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <attribute name="eKeys">
         <simpleType>
           <list itemType="{http://www.w3.org/2001/XMLSchema}anyURI" />
         </simpleType>
       </attribute>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  String container
           
protected  String containment
           
protected  List<String> eKeys
           
protected  String eOpposite
           
protected  String eReferenceType
           
protected  String resolveProxies
           
 
Fields inherited from class org.eclipse.emf._2002.ecore.EStructuralFeature
_transient, _volatile, changeable, defaultValue, defaultValueLiteral, derived, unsettable
 
Fields inherited from class org.eclipse.emf._2002.ecore.ETypedElement
eGenericType, eType, lowerBound, many, ordered, required, unique, upperBound
 
Fields inherited from class org.eclipse.emf._2002.ecore.ENamedElement
name
 
Fields inherited from class org.eclipse.emf._2002.ecore.EModelElement
eAnnotations
 
Constructor Summary
EReference()
           
 
Method Summary
 String getContainer()
          Gets the value of the container property.
 String getContainment()
          Gets the value of the containment property.
 List<String> getEKeys()
          Gets the value of the eKeys property.
 String getEOpposite()
          Gets the value of the eOpposite property.
 String getEReferenceType()
          Gets the value of the eReferenceType property.
 String getResolveProxies()
          Gets the value of the resolveProxies property.
 void setContainer(String value)
          Sets the value of the container property.
 void setContainment(String value)
          Sets the value of the containment property.
 void setEOpposite(String value)
          Sets the value of the eOpposite property.
 void setEReferenceType(String value)
          Sets the value of the eReferenceType property.
 void setResolveProxies(String value)
          Sets the value of the resolveProxies property.
 String toString()
           
 void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
           
 
Methods inherited from class org.eclipse.emf._2002.ecore.EStructuralFeature
getChangeable, getDefaultValue, getDefaultValueLiteral, getDerived, getTransient, getUnsettable, getVolatile, setChangeable, setDefaultValue, setDefaultValueLiteral, setDerived, setTransient, setUnsettable, setVolatile
 
Methods inherited from class org.eclipse.emf._2002.ecore.ETypedElement
getEGenericType, getEType, getLowerBound, getMany, getOrdered, getRequired, getUnique, getUpperBound, setEGenericType, setEType, setLowerBound, setMany, setOrdered, setRequired, setUnique, setUpperBound
 
Methods inherited from class org.eclipse.emf._2002.ecore.ENamedElement
getName, setName
 
Methods inherited from class org.eclipse.emf._2002.ecore.EModelElement
getEAnnotations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

containment

protected String containment

container

protected String container

resolveProxies

protected String resolveProxies

eOpposite

protected String eOpposite

eReferenceType

protected String eReferenceType

eKeys

protected List<String> eKeys
Constructor Detail

EReference

public EReference()
Method Detail

getContainment

public String getContainment()
Gets the value of the containment property.

Returns:
possible object is String

setContainment

public void setContainment(String value)
Sets the value of the containment property.

Parameters:
value - allowed object is String

getContainer

public String getContainer()
Gets the value of the container property.

Returns:
possible object is String

setContainer

public void setContainer(String value)
Sets the value of the container property.

Parameters:
value - allowed object is String

getResolveProxies

public String getResolveProxies()
Gets the value of the resolveProxies property.

Returns:
possible object is String

setResolveProxies

public void setResolveProxies(String value)
Sets the value of the resolveProxies property.

Parameters:
value - allowed object is String

getEOpposite

public String getEOpposite()
Gets the value of the eOpposite property.

Returns:
possible object is String

setEOpposite

public void setEOpposite(String value)
Sets the value of the eOpposite property.

Parameters:
value - allowed object is String

getEReferenceType

public String getEReferenceType()
Gets the value of the eReferenceType property.

Returns:
possible object is String

setEReferenceType

public void setEReferenceType(String value)
Sets the value of the eReferenceType property.

Parameters:
value - allowed object is String

getEKeys

public List<String> getEKeys()
Gets the value of the eKeys property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the eKeys property.

For example, to add a new item, do as follows:

    getEKeys().add(newItem);
 

Objects of the following type(s) are allowed in the list String


toString

public void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
Specified by:
toString in interface org.jvnet.jaxb2_commons.lang.ToString
Overrides:
toString in class EStructuralFeature

toString

public String toString()
Overrides:
toString in class EStructuralFeature


Copyright © 2010-2011 OW2 Consortium. All Rights Reserved.