org.apache.tuscany.sdo.model.impl
Class TypeImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.apache.tuscany.sdo.impl.DataObjectImpl
              extended by org.apache.tuscany.sdo.model.impl.TypeImpl
All Implemented Interfaces:
commonj.sdo.DataObject, java.io.Serializable, Type, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class TypeImpl
extends DataObjectImpl
implements Type

An implementation of the model object 'Type'.

The following features are implemented:

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected  boolean abstract_
          The cached value of the 'Abstract' attribute.
protected static boolean ABSTRACT_EDEFAULT
          The default value of the 'Abstract' attribute.
protected  boolean abstractESet
          This is true if the Abstract attribute has been set.
protected  org.eclipse.emf.common.util.EList aliasName
          The cached value of the 'Alias Name' attribute list.
protected  BasicSequence any
          The cached value of the 'Any' attribute list.
protected  BasicSequence anyAttribute
          The cached value of the 'Any Attribute' attribute list.
protected  org.eclipse.emf.common.util.EList baseType
          The cached value of the 'Base Type' reference list.
protected static boolean DATA_TYPE_EDEFAULT
          The default value of the 'Data Type' attribute.
protected  boolean dataType
          The cached value of the 'Data Type' attribute.
protected  boolean dataTypeESet
          This is true if the Data Type attribute has been set.
protected  java.lang.String name
          The cached value of the 'Name' attribute.
protected static java.lang.String NAME_EDEFAULT
          The default value of the 'Name' attribute.
protected  boolean open
          The cached value of the 'Open' attribute.
protected static boolean OPEN_EDEFAULT
          The default value of the 'Open' attribute.
protected  boolean openESet
          This is true if the Open attribute has been set.
protected  org.eclipse.emf.common.util.EList property
          The cached value of the 'Property' containment reference list.
protected  boolean sequenced
          The cached value of the 'Sequenced' attribute.
protected static boolean SEQUENCED_EDEFAULT
          The default value of the 'Sequenced' attribute.
protected  boolean sequencedESet
          This is true if the Sequenced attribute has been set.
protected  java.lang.String uri
          The cached value of the 'Uri' attribute.
protected static java.lang.String URI_EDEFAULT
          The default value of the 'Uri' attribute.
 
Fields inherited from class org.apache.tuscany.sdo.impl.DataObjectImpl
changeRecorder, eContainer, eContainerFeatureID, location
 
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 TypeImpl()
           
 
Method Summary
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 java.util.List getAliasName()
           
 commonj.sdo.Sequence getAny()
           
 commonj.sdo.Sequence getAnyAttribute()
           
 java.util.List getBaseType()
           
 java.lang.String getInstanceClassName()
           
 java.lang.String getName()
           
 java.util.List getProperty()
           
 java.lang.String getUri()
           
 boolean isAbstract()
           
 boolean isDataType()
           
 boolean isOpen()
           
 boolean isSequenced()
           
 boolean isSetAbstract()
           
 boolean isSetDataType()
           
 boolean isSetOpen()
           
 boolean isSetSequenced()
           
 void setAbstract(boolean newAbstract)
           
 void setDataType(boolean newDataType)
           
 void setName(java.lang.String newName)
           
 void setOpen(boolean newOpen)
           
 void setSequenced(boolean newSequenced)
           
 void setUri(java.lang.String newUri)
           
 java.lang.String toString()
           
 void unsetAbstract()
           
 void unsetDataType()
           
 void unsetOpen()
           
 void unsetSequenced()
           
 
Methods inherited from class org.apache.tuscany.sdo.impl.DataObjectImpl
createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, detach, eBasicSetContainer, eClass, eContainerFeatureID, eContents, eCrossReferences, eDirectResource, eDynamicClass, eDynamicGet, eDynamicIsSet, eDynamicSet, eDynamicUnset, eHasSettings, eInternalContainer, eIsProxy, eNotificationRequired, eNotify, eProxyURI, eSetClass, eSetDirectResource, eSetProxyURI, eSettings, get, get, get, getBigDecimal, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getBytes, getBytes, getBytes, getChangeSummary, getChar, getChar, getChar, getContainer, getContainmentProperty, getDataGraph, getDataObject, getDataObject, getDataObject, getDate, getDate, getDate, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInstanceProperties, getInt, getInt, getInt, getList, getList, getList, getLong, getLong, getLong, getProperty, getRootObject, getSequence, getSequence, getSequence, getSequence, getShort, getShort, getShort, getString, getString, getString, getType, isSet, isSet, isSet, set, set, set, setBigDecimal, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBigInteger, setBoolean, setBoolean, setBoolean, setByte, setByte, setByte, setBytes, setBytes, setBytes, setChangeRecorder, setChar, setChar, setChar, setDataObject, setDataObject, setDataObject, setDate, setDate, setDate, setDouble, setDouble, setDouble, setFloat, setFloat, setFloat, setInt, setInt, setInt, setList, setList, setList, setLong, setLong, setLong, setShort, setShort, setShort, setString, setString, setString, unset, unset, unset, writeReplace
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicProperties, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProperties, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eAdapters, eBasicAdapters, eDeliver, eSetDeliver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

baseType

protected org.eclipse.emf.common.util.EList baseType
The cached value of the 'Base Type' reference list.

See Also:
getBaseType()

property

protected org.eclipse.emf.common.util.EList property
The cached value of the 'Property' containment reference list.

See Also:
getProperty()

aliasName

protected org.eclipse.emf.common.util.EList aliasName
The cached value of the 'Alias Name' attribute list.

See Also:
getAliasName()

any

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

See Also:
getAny()

ABSTRACT_EDEFAULT

protected static final boolean ABSTRACT_EDEFAULT
The default value of the 'Abstract' attribute.

See Also:
isAbstract(), Constant Field Values

abstract_

protected boolean abstract_
The cached value of the 'Abstract' attribute.

See Also:
isAbstract()

abstractESet

protected boolean abstractESet
This is true if the Abstract attribute has been set.


DATA_TYPE_EDEFAULT

protected static final boolean DATA_TYPE_EDEFAULT
The default value of the 'Data Type' attribute.

See Also:
isDataType(), Constant Field Values

dataType

protected boolean dataType
The cached value of the 'Data Type' attribute.

See Also:
isDataType()

dataTypeESet

protected boolean dataTypeESet
This is true if the Data Type attribute has been set.


NAME_EDEFAULT

protected static final java.lang.String NAME_EDEFAULT
The default value of the 'Name' attribute.

See Also:
getName()

name

protected java.lang.String name
The cached value of the 'Name' attribute.

See Also:
getName()

OPEN_EDEFAULT

protected static final boolean OPEN_EDEFAULT
The default value of the 'Open' attribute.

See Also:
isOpen(), Constant Field Values

open

protected boolean open
The cached value of the 'Open' attribute.

See Also:
isOpen()

openESet

protected boolean openESet
This is true if the Open attribute has been set.


SEQUENCED_EDEFAULT

protected static final boolean SEQUENCED_EDEFAULT
The default value of the 'Sequenced' attribute.

See Also:
isSequenced(), Constant Field Values

sequenced

protected boolean sequenced
The cached value of the 'Sequenced' attribute.

See Also:
isSequenced()

sequencedESet

protected boolean sequencedESet
This is true if the Sequenced attribute has been set.


URI_EDEFAULT

protected static final java.lang.String URI_EDEFAULT
The default value of the 'Uri' attribute.

See Also:
getUri()

uri

protected java.lang.String uri
The cached value of the 'Uri' attribute.

See Also:
getUri()

anyAttribute

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

See Also:
getAnyAttribute()
Constructor Detail

TypeImpl

protected TypeImpl()

Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class DataObjectImpl

getBaseType

public java.util.List getBaseType()

Specified by:
getBaseType in interface Type
Returns:
the value of the 'Base Type' reference list.

getProperty

public java.util.List getProperty()

Specified by:
getProperty in interface Type
Returns:
the value of the 'Property' containment reference list.

getAliasName

public java.util.List getAliasName()

Specified by:
getAliasName in interface Type
Returns:
the value of the 'Alias Name' attribute list.

getAny

public commonj.sdo.Sequence getAny()

Specified by:
getAny in interface Type
Returns:
the value of the 'Any' attribute list.

isAbstract

public boolean isAbstract()

Specified by:
isAbstract in interface Type
Returns:
the value of the 'Abstract' attribute.
See Also:
Type.isSetAbstract(), Type.unsetAbstract(), Type.setAbstract(boolean)

setAbstract

public void setAbstract(boolean newAbstract)

Specified by:
setAbstract in interface Type
Parameters:
newAbstract - the new value of the 'Abstract' attribute.
See Also:
Type.isSetAbstract(), Type.unsetAbstract(), Type.isAbstract()

unsetAbstract

public void unsetAbstract()

Specified by:
unsetAbstract in interface Type
See Also:
Type.isSetAbstract(), Type.isAbstract(), Type.setAbstract(boolean)

isSetAbstract

public boolean isSetAbstract()

Specified by:
isSetAbstract in interface Type
Returns:
whether the value of the 'Abstract' attribute is set.
See Also:
Type.unsetAbstract(), Type.isAbstract(), Type.setAbstract(boolean)

isDataType

public boolean isDataType()

Specified by:
isDataType in interface Type
Returns:
the value of the 'Data Type' attribute.
See Also:
Type.isSetDataType(), Type.unsetDataType(), Type.setDataType(boolean)

setDataType

public void setDataType(boolean newDataType)

Specified by:
setDataType in interface Type
Parameters:
newDataType - the new value of the 'Data Type' attribute.
See Also:
Type.isSetDataType(), Type.unsetDataType(), Type.isDataType()

unsetDataType

public void unsetDataType()

Specified by:
unsetDataType in interface Type
See Also:
Type.isSetDataType(), Type.isDataType(), Type.setDataType(boolean)

isSetDataType

public boolean isSetDataType()

Specified by:
isSetDataType in interface Type
Returns:
whether the value of the 'Data Type' attribute is set.
See Also:
Type.unsetDataType(), Type.isDataType(), Type.setDataType(boolean)

getName

public java.lang.String getName()

Specified by:
getName in interface Type
Returns:
the value of the 'Name' attribute.
See Also:
Type.setName(String)

setName

public void setName(java.lang.String newName)

Specified by:
setName in interface Type
Parameters:
newName - the new value of the 'Name' attribute.
See Also:
Type.getName()

isOpen

public boolean isOpen()

Specified by:
isOpen in interface Type
Returns:
the value of the 'Open' attribute.
See Also:
Type.isSetOpen(), Type.unsetOpen(), Type.setOpen(boolean)

setOpen

public void setOpen(boolean newOpen)

Specified by:
setOpen in interface Type
Parameters:
newOpen - the new value of the 'Open' attribute.
See Also:
Type.isSetOpen(), Type.unsetOpen(), Type.isOpen()

unsetOpen

public void unsetOpen()

Specified by:
unsetOpen in interface Type
See Also:
Type.isSetOpen(), Type.isOpen(), Type.setOpen(boolean)

isSetOpen

public boolean isSetOpen()

Specified by:
isSetOpen in interface Type
Returns:
whether the value of the 'Open' attribute is set.
See Also:
Type.unsetOpen(), Type.isOpen(), Type.setOpen(boolean)

isSequenced

public boolean isSequenced()

Specified by:
isSequenced in interface Type
Returns:
the value of the 'Sequenced' attribute.
See Also:
Type.isSetSequenced(), Type.unsetSequenced(), Type.setSequenced(boolean)

setSequenced

public void setSequenced(boolean newSequenced)

Specified by:
setSequenced in interface Type
Parameters:
newSequenced - the new value of the 'Sequenced' attribute.
See Also:
Type.isSetSequenced(), Type.unsetSequenced(), Type.isSequenced()

unsetSequenced

public void unsetSequenced()

Specified by:
unsetSequenced in interface Type
See Also:
Type.isSetSequenced(), Type.isSequenced(), Type.setSequenced(boolean)

isSetSequenced

public boolean isSetSequenced()

Specified by:
isSetSequenced in interface Type
Returns:
whether the value of the 'Sequenced' attribute is set.
See Also:
Type.unsetSequenced(), Type.isSequenced(), Type.setSequenced(boolean)

getUri

public java.lang.String getUri()

Specified by:
getUri in interface Type
Returns:
the value of the 'Uri' attribute.
See Also:
Type.setUri(String)

setUri

public void setUri(java.lang.String newUri)

Specified by:
setUri in interface Type
Parameters:
newUri - the new value of the 'Uri' attribute.
See Also:
Type.getUri()

getAnyAttribute

public commonj.sdo.Sequence getAnyAttribute()

Specified by:
getAnyAttribute in interface Type
Returns:
the value of the 'Any Attribute' attribute list.

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eGet

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

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class DataObjectImpl

eSet

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

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class DataObjectImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class DataObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class DataObjectImpl

toString

public java.lang.String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

getInstanceClassName

public java.lang.String getInstanceClassName()
Specified by:
getInstanceClassName in interface Type


Copyright © 2006 Apache Software Foundation. All Rights Reserved.