org.eclipse.emf.test.models.qname.impl
Class DocumentRootImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.emf.test.models.qname.impl.DocumentRootImpl
All Implemented Interfaces:
Notifier, EObject, InternalEObject, DocumentRoot

public class DocumentRootImpl
extends EObjectImpl
implements DocumentRoot

An implementation of the model object 'Document Root'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
protected  int aInt
          The cached value of the 'AInt' attribute
protected static int AINT_EDEFAULT
          The default value of the 'AInt' attribute
protected  boolean aIntESet
          This is true if the AInt attribute has been set
protected static javax.xml.namespace.QName ANY_E_EDEFAULT
          The default value of the 'Any E' attribute
protected static java.util.List<java.lang.Object> ANY_EU_EDEFAULT
          The default value of the 'Any EU' attribute
protected  javax.xml.namespace.QName aQname
          The cached value of the 'AQname' attribute
protected static javax.xml.namespace.QName AQNAME_EDEFAULT
          The default value of the 'AQname' attribute
protected  java.util.List<java.lang.Object> aUnion
          The cached value of the 'AUnion' attribute
protected static java.util.List<java.lang.Object> AUNION_EDEFAULT
          The default value of the 'AUnion' attribute
protected  FeatureMap mixed
          The cached value of the 'Mixed' attribute list
protected  EMap<java.lang.String,java.lang.String> xMLNSPrefixMap
          The cached value of the 'XMLNS Prefix Map' map
protected  EMap<java.lang.String,java.lang.String> xSISchemaLocation
          The cached value of the 'XSI Schema Location' map
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected DocumentRootImpl()
           
 
Method Summary
 NotificationChain basicSetResource(ResourceType newResource, NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 int getAInt()
           
 javax.xml.namespace.QName getAnyE()
           
 java.util.List<java.lang.Object> getAnyEU()
           
 javax.xml.namespace.QName getAQname()
           
 java.util.List<java.lang.Object> getAUnion()
           
 FeatureMap getMixed()
           
 ResourceType getResource()
           
 EMap<java.lang.String,java.lang.String> getXMLNSPrefixMap()
           
 EMap<java.lang.String,java.lang.String> getXSISchemaLocation()
           
 boolean isSetAInt()
           
 void setAInt(int newAInt)
           
 void setAnyE(javax.xml.namespace.QName newAnyE)
           
 void setAnyEU(java.util.List<java.lang.Object> newAnyEU)
           
 void setAQname(javax.xml.namespace.QName newAQname)
           
 void setAUnion(java.util.List<java.lang.Object> newAUnion)
           
 void setResource(ResourceType newResource)
           
 java.lang.String toString()
           
 void unsetAInt()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

mixed

protected FeatureMap mixed
The cached value of the 'Mixed' attribute list.

See Also:
getMixed()

xMLNSPrefixMap

protected EMap<java.lang.String,java.lang.String> xMLNSPrefixMap
The cached value of the 'XMLNS Prefix Map' map.

See Also:
getXMLNSPrefixMap()

xSISchemaLocation

protected EMap<java.lang.String,java.lang.String> xSISchemaLocation
The cached value of the 'XSI Schema Location' map.

See Also:
getXSISchemaLocation()

ANY_E_EDEFAULT

protected static final javax.xml.namespace.QName ANY_E_EDEFAULT
The default value of the 'Any E' attribute.

See Also:
getAnyE()

ANY_EU_EDEFAULT

protected static final java.util.List<java.lang.Object> ANY_EU_EDEFAULT
The default value of the 'Any EU' attribute.

See Also:
getAnyEU()

AINT_EDEFAULT

protected static final int AINT_EDEFAULT
The default value of the 'AInt' attribute.

See Also:
getAInt(), Constant Field Values

aInt

protected int aInt
The cached value of the 'AInt' attribute.

See Also:
getAInt()

aIntESet

protected boolean aIntESet
This is true if the AInt attribute has been set.


AQNAME_EDEFAULT

protected static final javax.xml.namespace.QName AQNAME_EDEFAULT
The default value of the 'AQname' attribute.

See Also:
getAQname()

aQname

protected javax.xml.namespace.QName aQname
The cached value of the 'AQname' attribute.

See Also:
getAQname()

AUNION_EDEFAULT

protected static final java.util.List<java.lang.Object> AUNION_EDEFAULT
The default value of the 'AUnion' attribute.

See Also:
getAUnion()

aUnion

protected java.util.List<java.lang.Object> aUnion
The cached value of the 'AUnion' attribute.

See Also:
getAUnion()
Constructor Detail

DocumentRootImpl

protected DocumentRootImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class EObjectImpl

getMixed

public FeatureMap getMixed()

Specified by:
getMixed in interface DocumentRoot
Returns:
the value of the 'Mixed' attribute list.
See Also:
QNamePackage.getDocumentRoot_Mixed()

getXMLNSPrefixMap

public EMap<java.lang.String,java.lang.String> getXMLNSPrefixMap()

Specified by:
getXMLNSPrefixMap in interface DocumentRoot
Returns:
the value of the 'XMLNS Prefix Map' map.
See Also:
QNamePackage.getDocumentRoot_XMLNSPrefixMap()

getXSISchemaLocation

public EMap<java.lang.String,java.lang.String> getXSISchemaLocation()

Specified by:
getXSISchemaLocation in interface DocumentRoot
Returns:
the value of the 'XSI Schema Location' map.
See Also:
QNamePackage.getDocumentRoot_XSISchemaLocation()

getAnyE

public javax.xml.namespace.QName getAnyE()

Specified by:
getAnyE in interface DocumentRoot
Returns:
the value of the 'Any E' attribute.
See Also:
DocumentRoot.setAnyE(QName), QNamePackage.getDocumentRoot_AnyE()

setAnyE

public void setAnyE(javax.xml.namespace.QName newAnyE)

Specified by:
setAnyE in interface DocumentRoot
Parameters:
newAnyE - the new value of the 'Any E' attribute.
See Also:
DocumentRoot.getAnyE()

getAnyEU

public java.util.List<java.lang.Object> getAnyEU()

Specified by:
getAnyEU in interface DocumentRoot
Returns:
the value of the 'Any EU' attribute.
See Also:
DocumentRoot.setAnyEU(List), QNamePackage.getDocumentRoot_AnyEU()

setAnyEU

public void setAnyEU(java.util.List<java.lang.Object> newAnyEU)

Specified by:
setAnyEU in interface DocumentRoot
Parameters:
newAnyEU - the new value of the 'Any EU' attribute.
See Also:
DocumentRoot.getAnyEU()

getResource

public ResourceType getResource()

Specified by:
getResource in interface DocumentRoot
Returns:
the value of the 'Resource' containment reference.
See Also:
DocumentRoot.setResource(ResourceType), QNamePackage.getDocumentRoot_Resource()

basicSetResource

public NotificationChain basicSetResource(ResourceType newResource,
                                          NotificationChain msgs)


setResource

public void setResource(ResourceType newResource)

Specified by:
setResource in interface DocumentRoot
Parameters:
newResource - the new value of the 'Resource' containment reference.
See Also:
DocumentRoot.getResource()

getAInt

public int getAInt()

Specified by:
getAInt in interface DocumentRoot
Returns:
the value of the 'AInt' attribute.
See Also:
DocumentRoot.isSetAInt(), DocumentRoot.unsetAInt(), DocumentRoot.setAInt(int), QNamePackage.getDocumentRoot_AInt()

setAInt

public void setAInt(int newAInt)

Specified by:
setAInt in interface DocumentRoot
Parameters:
newAInt - the new value of the 'AInt' attribute.
See Also:
DocumentRoot.isSetAInt(), DocumentRoot.unsetAInt(), DocumentRoot.getAInt()

unsetAInt

public void unsetAInt()

Specified by:
unsetAInt in interface DocumentRoot
See Also:
DocumentRoot.isSetAInt(), DocumentRoot.getAInt(), DocumentRoot.setAInt(int)

isSetAInt

public boolean isSetAInt()

Specified by:
isSetAInt in interface DocumentRoot
Returns:
whether the value of the 'AInt' attribute is set.
See Also:
DocumentRoot.unsetAInt(), DocumentRoot.getAInt(), DocumentRoot.setAInt(int)

getAQname

public javax.xml.namespace.QName getAQname()

Specified by:
getAQname in interface DocumentRoot
Returns:
the value of the 'AQname' attribute.
See Also:
DocumentRoot.setAQname(QName), QNamePackage.getDocumentRoot_AQname()

setAQname

public void setAQname(javax.xml.namespace.QName newAQname)

Specified by:
setAQname in interface DocumentRoot
Parameters:
newAQname - the new value of the 'AQname' attribute.
See Also:
DocumentRoot.getAQname()

getAUnion

public java.util.List<java.lang.Object> getAUnion()

Specified by:
getAUnion in interface DocumentRoot
Returns:
the value of the 'AUnion' attribute.
See Also:
DocumentRoot.setAUnion(List), QNamePackage.getDocumentRoot_AUnion()

setAUnion

public void setAUnion(java.util.List<java.lang.Object> newAUnion)

Specified by:
setAUnion in interface DocumentRoot
Parameters:
newAUnion - the new value of the 'AUnion' attribute.
See Also:
DocumentRoot.getAUnion()

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)

Overrides:
eInverseRemove in class BasicEObjectImpl

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class BasicEObjectImpl
See Also:
InternalEObject.eGet(EStructuralFeature, boolean, boolean)

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface InternalEObject
Overrides:
eSet in class BasicEObjectImpl
See Also:
EObject.eSet(EStructuralFeature, Object)

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface InternalEObject
Overrides:
eUnset in class BasicEObjectImpl
See Also:
EObject.eUnset(EStructuralFeature)

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface InternalEObject
Overrides:
eIsSet in class BasicEObjectImpl
See Also:
EObject.eIsSet(EStructuralFeature)

toString

public java.lang.String toString()

Overrides:
toString in class BasicEObjectImpl

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.