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

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.ResourceTypeImpl
All Implemented Interfaces:
Notifier, EObject, InternalEObject, ResourceType

public class ResourceTypeImpl
extends EObjectImpl
implements ResourceType

An implementation of the model object 'Resource Type'.

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  FeatureMap any
          The cached value of the 'Any' attribute list
protected  FeatureMap anyAttribute
          The cached value of the 'Any Attribute' attribute list
protected  int intvalue
          The cached value of the 'Intvalue' attribute
protected static int INTVALUE_EDEFAULT
          The default value of the 'Intvalue' attribute
protected  boolean intvalueESet
          This is true if the Intvalue attribute has been set
protected static java.util.List<javax.xml.namespace.QName> MY_QNAME_EDEFAULT
          The default value of the 'My Qname' attribute
protected  java.util.List<javax.xml.namespace.QName> myQname
          The cached value of the 'My Qname' attribute
protected  java.util.List<javax.xml.namespace.QName> qnamelist
          The cached value of the 'Qnamelist' attribute
protected static java.util.List<javax.xml.namespace.QName> QNAMELIST_EDEFAULT
          The default value of the 'Qnamelist' attribute
protected  java.lang.Object unionvalue
          The cached value of the 'Unionvalue' attribute
protected static java.lang.Object UNIONVALUE_EDEFAULT
          The default value of the 'Unionvalue' attribute
 
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 ResourceTypeImpl()
           
 
Method Summary
 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)
           
 FeatureMap getAny()
           
 FeatureMap getAnyAttribute()
           
 int getIntvalue()
           
 java.util.List<javax.xml.namespace.QName> getMyQname()
           
 java.util.List<javax.xml.namespace.QName> getQnamelist()
           
 java.lang.Object getUnionvalue()
           
 boolean isSetIntvalue()
           
 void setIntvalue(int newIntvalue)
           
 void setMyQname(java.util.List<javax.xml.namespace.QName> newMyQname)
           
 void setQnamelist(java.util.List<javax.xml.namespace.QName> newQnamelist)
           
 void setUnionvalue(java.lang.Object newUnionvalue)
           
 java.lang.String toString()
           
 void unsetIntvalue()
           
 
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

UNIONVALUE_EDEFAULT

protected static final java.lang.Object UNIONVALUE_EDEFAULT
The default value of the 'Unionvalue' attribute.

See Also:
getUnionvalue()

unionvalue

protected java.lang.Object unionvalue
The cached value of the 'Unionvalue' attribute.

See Also:
getUnionvalue()

QNAMELIST_EDEFAULT

protected static final java.util.List<javax.xml.namespace.QName> QNAMELIST_EDEFAULT
The default value of the 'Qnamelist' attribute.

See Also:
getQnamelist()

qnamelist

protected java.util.List<javax.xml.namespace.QName> qnamelist
The cached value of the 'Qnamelist' attribute.

See Also:
getQnamelist()

INTVALUE_EDEFAULT

protected static final int INTVALUE_EDEFAULT
The default value of the 'Intvalue' attribute.

See Also:
getIntvalue(), Constant Field Values

intvalue

protected int intvalue
The cached value of the 'Intvalue' attribute.

See Also:
getIntvalue()

intvalueESet

protected boolean intvalueESet
This is true if the Intvalue attribute has been set.


any

protected FeatureMap any
The cached value of the 'Any' attribute list.

See Also:
getAny()

MY_QNAME_EDEFAULT

protected static final java.util.List<javax.xml.namespace.QName> MY_QNAME_EDEFAULT
The default value of the 'My Qname' attribute.

See Also:
getMyQname()

myQname

protected java.util.List<javax.xml.namespace.QName> myQname
The cached value of the 'My Qname' attribute.

See Also:
getMyQname()

anyAttribute

protected FeatureMap anyAttribute
The cached value of the 'Any Attribute' attribute list.

See Also:
getAnyAttribute()
Constructor Detail

ResourceTypeImpl

protected ResourceTypeImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class EObjectImpl

getUnionvalue

public java.lang.Object getUnionvalue()

Specified by:
getUnionvalue in interface ResourceType
Returns:
the value of the 'Unionvalue' attribute.
See Also:
ResourceType.setUnionvalue(Object), QNamePackage.getResourceType_Unionvalue()

setUnionvalue

public void setUnionvalue(java.lang.Object newUnionvalue)

Specified by:
setUnionvalue in interface ResourceType
Parameters:
newUnionvalue - the new value of the 'Unionvalue' attribute.
See Also:
ResourceType.getUnionvalue()

getQnamelist

public java.util.List<javax.xml.namespace.QName> getQnamelist()

Specified by:
getQnamelist in interface ResourceType
Returns:
the value of the 'Qnamelist' attribute.
See Also:
ResourceType.setQnamelist(List), QNamePackage.getResourceType_Qnamelist()

setQnamelist

public void setQnamelist(java.util.List<javax.xml.namespace.QName> newQnamelist)

Specified by:
setQnamelist in interface ResourceType
Parameters:
newQnamelist - the new value of the 'Qnamelist' attribute.
See Also:
ResourceType.getQnamelist()

getIntvalue

public int getIntvalue()

Specified by:
getIntvalue in interface ResourceType
Returns:
the value of the 'Intvalue' attribute.
See Also:
ResourceType.isSetIntvalue(), ResourceType.unsetIntvalue(), ResourceType.setIntvalue(int), QNamePackage.getResourceType_Intvalue()

setIntvalue

public void setIntvalue(int newIntvalue)

Specified by:
setIntvalue in interface ResourceType
Parameters:
newIntvalue - the new value of the 'Intvalue' attribute.
See Also:
ResourceType.isSetIntvalue(), ResourceType.unsetIntvalue(), ResourceType.getIntvalue()

unsetIntvalue

public void unsetIntvalue()

Specified by:
unsetIntvalue in interface ResourceType
See Also:
ResourceType.isSetIntvalue(), ResourceType.getIntvalue(), ResourceType.setIntvalue(int)

isSetIntvalue

public boolean isSetIntvalue()

Specified by:
isSetIntvalue in interface ResourceType
Returns:
whether the value of the 'Intvalue' attribute is set.
See Also:
ResourceType.unsetIntvalue(), ResourceType.getIntvalue(), ResourceType.setIntvalue(int)

getAny

public FeatureMap getAny()

Specified by:
getAny in interface ResourceType
Returns:
the value of the 'Any' attribute list.
See Also:
QNamePackage.getResourceType_Any()

getMyQname

public java.util.List<javax.xml.namespace.QName> getMyQname()

Specified by:
getMyQname in interface ResourceType
Returns:
the value of the 'My Qname' attribute.
See Also:
ResourceType.setMyQname(List), QNamePackage.getResourceType_MyQname()

setMyQname

public void setMyQname(java.util.List<javax.xml.namespace.QName> newMyQname)

Specified by:
setMyQname in interface ResourceType
Parameters:
newMyQname - the new value of the 'My Qname' attribute.
See Also:
ResourceType.getMyQname()

getAnyAttribute

public FeatureMap getAnyAttribute()

Specified by:
getAnyAttribute in interface ResourceType
Returns:
the value of the 'Any Attribute' attribute list.
See Also:
QNamePackage.getResourceType_AnyAttribute()

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.