org.eclipse.emf.ecore.xcore.impl
Class XTypedElementImpl

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.ecore.xcore.impl.XModelElementImpl
                  extended by org.eclipse.emf.ecore.xcore.impl.XNamedElementImpl
                      extended by org.eclipse.emf.ecore.xcore.impl.XTypedElementImpl
All Implemented Interfaces:
Notifier, EObject, InternalEObject, XModelElement, XNamedElement, XTypedElement
Direct Known Subclasses:
XMemberImpl, XParameterImpl

public abstract class XTypedElementImpl
extends XNamedElementImpl
implements XTypedElement

An implementation of the model object 'XTyped Element'.

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[] multiplicity
          The cached value of the 'Multiplicity' attribute
protected static int[] MULTIPLICITY_EDEFAULT
          The default value of the 'Multiplicity' attribute
protected  XGenericType type
          The cached value of the 'Type' containment reference
protected  boolean typeESet
          This is true if the Type containment reference has been set
protected  boolean unique
          The cached value of the 'Unique' attribute
protected static boolean UNIQUE_EDEFAULT
          The default value of the 'Unique' attribute
protected  boolean unordered
          The cached value of the 'Unordered' attribute
protected static boolean UNORDERED_EDEFAULT
          The default value of the 'Unordered' attribute
 
Fields inherited from class org.eclipse.emf.ecore.xcore.impl.XNamedElementImpl
name, NAME_EDEFAULT
 
Fields inherited from class org.eclipse.emf.ecore.xcore.impl.XModelElementImpl
annotations
 
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 XTypedElementImpl()
           
 
Method Summary
 NotificationChain basicSetType(XGenericType newType, NotificationChain msgs)
           
 NotificationChain basicUnsetType(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[] getMultiplicity()
           
 XGenericType getType()
           
 boolean isSetType()
           
 boolean isUnique()
           
 boolean isUnordered()
           
 void setMultiplicity(int[] newMultiplicity)
           
 void setType(XGenericType newType)
           
 void setUnique(boolean newUnique)
           
 void setUnordered(boolean newUnordered)
           
 java.lang.String toString()
           
 void unsetType()
           
 
Methods inherited from class org.eclipse.emf.ecore.xcore.impl.XNamedElementImpl
getName, setName
 
Methods inherited from class org.eclipse.emf.ecore.xcore.impl.XModelElementImpl
eInverseAdd, getAnnotation, getAnnotations
 
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, 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.xcore.XNamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.xcore.XModelElement
getAnnotation, getAnnotations
 
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

UNORDERED_EDEFAULT

protected static final boolean UNORDERED_EDEFAULT
The default value of the 'Unordered' attribute.

See Also:
isUnordered(), Constant Field Values

unordered

protected boolean unordered
The cached value of the 'Unordered' attribute.

See Also:
isUnordered()

UNIQUE_EDEFAULT

protected static final boolean UNIQUE_EDEFAULT
The default value of the 'Unique' attribute.

See Also:
isUnique(), Constant Field Values

unique

protected boolean unique
The cached value of the 'Unique' attribute.

See Also:
isUnique()

type

protected XGenericType type
The cached value of the 'Type' containment reference.

See Also:
getType()

typeESet

protected boolean typeESet
This is true if the Type containment reference has been set.


MULTIPLICITY_EDEFAULT

protected static final int[] MULTIPLICITY_EDEFAULT
The default value of the 'Multiplicity' attribute.

See Also:
getMultiplicity()

multiplicity

protected int[] multiplicity
The cached value of the 'Multiplicity' attribute.

See Also:
getMultiplicity()
Constructor Detail

XTypedElementImpl

protected XTypedElementImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class XNamedElementImpl

isUnordered

public boolean isUnordered()

Specified by:
isUnordered in interface XTypedElement
Returns:
the value of the 'Unordered' attribute.
See Also:
XTypedElement.setUnordered(boolean), XcorePackage.getXTypedElement_Unordered()

setUnordered

public void setUnordered(boolean newUnordered)

Specified by:
setUnordered in interface XTypedElement
Parameters:
newUnordered - the new value of the 'Unordered' attribute.
See Also:
XTypedElement.isUnordered()

isUnique

public boolean isUnique()

Specified by:
isUnique in interface XTypedElement
Returns:
the value of the 'Unique' attribute.
See Also:
XTypedElement.setUnique(boolean), XcorePackage.getXTypedElement_Unique()

setUnique

public void setUnique(boolean newUnique)

Specified by:
setUnique in interface XTypedElement
Parameters:
newUnique - the new value of the 'Unique' attribute.
See Also:
XTypedElement.isUnique()

getType

public XGenericType getType()

Specified by:
getType in interface XTypedElement
Returns:
the value of the 'Type' containment reference.
See Also:
XTypedElement.setType(XGenericType), XcorePackage.getXTypedElement_Type()

basicSetType

public NotificationChain basicSetType(XGenericType newType,
                                      NotificationChain msgs)


setType

public void setType(XGenericType newType)

Specified by:
setType in interface XTypedElement
Parameters:
newType - the new value of the 'Type' containment reference.
See Also:
XTypedElement.getType()

basicUnsetType

public NotificationChain basicUnsetType(NotificationChain msgs)


unsetType

public void unsetType()


isSetType

public boolean isSetType()


getMultiplicity

public int[] getMultiplicity()

Specified by:
getMultiplicity in interface XTypedElement
Returns:
the value of the 'Multiplicity' attribute.
See Also:
XTypedElement.setMultiplicity(int[]), XcorePackage.getXTypedElement_Multiplicity()

setMultiplicity

public void setMultiplicity(int[] newMultiplicity)

Specified by:
setMultiplicity in interface XTypedElement
Parameters:
newMultiplicity - the new value of the 'Multiplicity' attribute.
See Also:
XTypedElement.getMultiplicity()

eInverseRemove

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

Overrides:
eInverseRemove in class XModelElementImpl

eGet

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

Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class XNamedElementImpl
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 XNamedElementImpl
See Also:
EObject.eSet(EStructuralFeature, Object)

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public java.lang.String toString()

Overrides:
toString in class XNamedElementImpl

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