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

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.XClassifierImpl
                          extended by org.eclipse.emf.ecore.xcore.impl.XDataTypeImpl
All Implemented Interfaces:
Notifier, EObject, InternalEObject, XClassifier, XDataType, XModelElement, XNamedElement
Direct Known Subclasses:
XEnumImpl

public class XDataTypeImpl
extends XClassifierImpl
implements XDataType

An implementation of the model object 'XData 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  org.eclipse.xtext.xbase.XBlockExpression convertBody
          The cached value of the 'Convert Body' containment reference
protected  org.eclipse.xtext.xbase.XBlockExpression createBody
          The cached value of the 'Create Body' containment reference
protected  boolean serializable
          The cached value of the 'Serializable' attribute
protected static boolean SERIALIZABLE_EDEFAULT
          The default value of the 'Serializable' attribute
 
Fields inherited from class org.eclipse.emf.ecore.xcore.impl.XClassifierImpl
instanceType, typeParameters
 
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 XDataTypeImpl()
           
 
Method Summary
 NotificationChain basicSetConvertBody(org.eclipse.xtext.xbase.XBlockExpression newConvertBody, NotificationChain msgs)
           
 NotificationChain basicSetCreateBody(org.eclipse.xtext.xbase.XBlockExpression newCreateBody, 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)
           
 org.eclipse.xtext.xbase.XBlockExpression getConvertBody()
           
 org.eclipse.xtext.xbase.XBlockExpression getCreateBody()
           
 boolean isSerializable()
           
 void setConvertBody(org.eclipse.xtext.xbase.XBlockExpression newConvertBody)
           
 void setCreateBody(org.eclipse.xtext.xbase.XBlockExpression newCreateBody)
           
 void setSerializable(boolean newSerializable)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.xcore.impl.XClassifierImpl
basicSetInstanceType, eBasicRemoveFromContainerFeature, eInverseAdd, getInstanceType, getPackage, getTypeParameters, setInstanceType
 
Methods inherited from class org.eclipse.emf.ecore.xcore.impl.XNamedElementImpl
getName, setName
 
Methods inherited from class org.eclipse.emf.ecore.xcore.impl.XModelElementImpl
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, 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.XClassifier
getInstanceType, getPackage, getTypeParameters, setInstanceType
 
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

SERIALIZABLE_EDEFAULT

protected static final boolean SERIALIZABLE_EDEFAULT
The default value of the 'Serializable' attribute.

See Also:
isSerializable(), Constant Field Values

serializable

protected boolean serializable
The cached value of the 'Serializable' attribute.

See Also:
isSerializable()

createBody

protected org.eclipse.xtext.xbase.XBlockExpression createBody
The cached value of the 'Create Body' containment reference.

See Also:
getCreateBody()

convertBody

protected org.eclipse.xtext.xbase.XBlockExpression convertBody
The cached value of the 'Convert Body' containment reference.

See Also:
getConvertBody()
Constructor Detail

XDataTypeImpl

protected XDataTypeImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class XClassifierImpl

isSerializable

public boolean isSerializable()

Specified by:
isSerializable in interface XDataType
Returns:
the value of the 'Serializable' attribute.
See Also:
XDataType.setSerializable(boolean), XcorePackage.getXDataType_Serializable()

setSerializable

public void setSerializable(boolean newSerializable)

Specified by:
setSerializable in interface XDataType
Parameters:
newSerializable - the new value of the 'Serializable' attribute.
See Also:
XDataType.isSerializable()

getCreateBody

public org.eclipse.xtext.xbase.XBlockExpression getCreateBody()

Specified by:
getCreateBody in interface XDataType
Returns:
the value of the 'Create Body' containment reference.
See Also:
XDataType.setCreateBody(XBlockExpression), XcorePackage.getXDataType_CreateBody()

basicSetCreateBody

public NotificationChain basicSetCreateBody(org.eclipse.xtext.xbase.XBlockExpression newCreateBody,
                                            NotificationChain msgs)


setCreateBody

public void setCreateBody(org.eclipse.xtext.xbase.XBlockExpression newCreateBody)

Specified by:
setCreateBody in interface XDataType
Parameters:
newCreateBody - the new value of the 'Create Body' containment reference.
See Also:
XDataType.getCreateBody()

getConvertBody

public org.eclipse.xtext.xbase.XBlockExpression getConvertBody()

Specified by:
getConvertBody in interface XDataType
Returns:
the value of the 'Convert Body' containment reference.
See Also:
XDataType.setConvertBody(XBlockExpression), XcorePackage.getXDataType_ConvertBody()

basicSetConvertBody

public NotificationChain basicSetConvertBody(org.eclipse.xtext.xbase.XBlockExpression newConvertBody,
                                             NotificationChain msgs)


setConvertBody

public void setConvertBody(org.eclipse.xtext.xbase.XBlockExpression newConvertBody)

Specified by:
setConvertBody in interface XDataType
Parameters:
newConvertBody - the new value of the 'Convert Body' containment reference.
See Also:
XDataType.getConvertBody()

eInverseRemove

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

Overrides:
eInverseRemove in class XClassifierImpl

eGet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface InternalEObject
Overrides:
eIsSet in class XClassifierImpl
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.