|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.apache.tuscany.sdo.impl.DataObjectImpl
org.apache.tuscany.sdo.impl.ExtensibleDataObjectImpl
org.apache.tuscany.sdo.impl.DataObjectBase
org.apache.tuscany.sdo.model.impl.TypeImpl
public class TypeImpl
An implementation of the model object 'Type'.
The following features are implemented:
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.tuscany.sdo.impl.DataObjectBase |
---|
DataObjectBase.ChangeContext, DataObjectBase.ChangeKind, DataObjectBase.ListKind |
Nested classes/interfaces inherited from class org.apache.tuscany.sdo.impl.ExtensibleDataObjectImpl |
---|
ExtensibleDataObjectImpl.FactoryImpl |
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, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
org.eclipse.emf.ecore.InternalEObject.EStore |
Field Summary | |
---|---|
static int |
ABSTRACT
|
protected boolean |
abstract_
The cached value of the ' Abstract ' attribute. |
protected static boolean |
ABSTRACT_DEFAULT_
The default value of the ' Abstract ' attribute. |
protected boolean |
abstract_set_
This is true if the Abstract attribute has been set. |
static int |
ALIAS_NAME
|
protected List |
aliasName
The cached value of the ' Alias Name ' attribute list. |
protected Sequence |
any
The cached value of the ' Any ' attribute list. |
static int |
ANY
|
static int |
ANY_ATTRIBUTE
|
protected Sequence |
anyAttribute
The cached value of the ' Any Attribute ' attribute list. |
static int |
BASE_TYPE
|
protected List |
baseType
The cached value of the ' Base Type ' reference list. |
static int |
DATA_TYPE
|
protected static boolean |
DATA_TYPE_DEFAULT_
The default value of the ' Data Type ' attribute. |
protected boolean |
dataType
The cached value of the ' Data Type ' attribute. |
protected boolean |
dataType_set_
This is true if the Data Type attribute has been set. |
static int |
EXTENDED_PROPERTY_COUNT
|
static int |
INTERNAL_ABSTRACT
The internal feature id for the 'Abstract' attribute. |
static int |
INTERNAL_ALIAS_NAME
The internal feature id for the 'Alias Name' attribute list. |
static int |
INTERNAL_ANY
The internal feature id for the 'Any' attribute list. |
static int |
INTERNAL_ANY_ATTRIBUTE
The internal feature id for the 'Any Attribute' attribute list. |
static int |
INTERNAL_BASE_TYPE
The internal feature id for the 'Base Type' reference list. |
static int |
INTERNAL_DATA_TYPE
The internal feature id for the 'Data Type' attribute. |
static int |
INTERNAL_NAME
The internal feature id for the 'Name' attribute. |
static int |
INTERNAL_OPEN
The internal feature id for the 'Open' attribute. |
static int |
INTERNAL_PROPERTY
The internal feature id for the 'Property' containment reference list. |
static int |
INTERNAL_PROPERTY_COUNT
The number of properties for this type. |
static int |
INTERNAL_SEQUENCED
The internal feature id for the 'Sequenced' attribute. |
static int |
INTERNAL_URI
The internal feature id for the 'Uri' attribute. |
protected String |
name
The cached value of the ' Name ' attribute. |
static int |
NAME
|
protected static String |
NAME_DEFAULT_
The default value of the ' Name ' attribute. |
protected boolean |
name_set_
This is true if the Name attribute has been set. |
protected boolean |
open
The cached value of the ' Open ' attribute. |
static int |
OPEN
|
protected static boolean |
OPEN_DEFAULT_
The default value of the ' Open ' attribute. |
protected boolean |
open_set_
This is true if the Open attribute has been set. |
protected List |
property
The cached value of the ' Property ' containment reference list. |
static int |
PROPERTY
|
static int |
SDO_PROPERTY_COUNT
|
protected boolean |
sequenced
The cached value of the ' Sequenced ' attribute. |
static int |
SEQUENCED
|
protected static boolean |
SEQUENCED_DEFAULT_
The default value of the ' Sequenced ' attribute. |
protected boolean |
sequenced_set_
This is true if the Sequenced attribute has been set. |
protected String |
uri
The cached value of the ' Uri ' attribute. |
static int |
URI
|
protected static String |
URI_DEFAULT_
The default value of the ' Uri ' attribute. |
protected boolean |
uri_set_
This is true if the Uri attribute has been set. |
Fields inherited from class org.apache.tuscany.sdo.impl.DataObjectBase |
---|
OPPOSITE_FEATURE_BASE |
Fields inherited from class org.apache.tuscany.sdo.impl.ExtensibleDataObjectImpl |
---|
eClass, ENO_SETTINGS, eSettings |
Fields inherited from class org.apache.tuscany.sdo.impl.DataObjectImpl |
---|
changeRecorder, eAdapters, eContainer, eContainerFeatureID, location, sequence |
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.EStructuralFeature.Internal.DynamicValueHolder |
---|
NIL |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
---|---|
TypeImpl()
|
Method Summary | |
---|---|
Object |
get(int propertyIndex,
boolean resolve)
|
List |
getAliasName()
|
Sequence |
getAny()
|
Sequence |
getAnyAttribute()
|
List |
getBaseType()
|
String |
getInstanceClassName()
|
String |
getName()
|
List |
getProperty()
|
Type |
getStaticType()
|
String |
getUri()
|
protected int |
internalConvertIndex(int internalIndex)
|
DataObjectBase.ChangeContext |
inverseRemove(Object otherEnd,
int propertyIndex,
DataObjectBase.ChangeContext changeContext)
|
boolean |
isAbstract()
|
boolean |
isDataType()
|
boolean |
isOpen()
|
boolean |
isSequenced()
|
boolean |
isSet(int propertyIndex)
|
boolean |
isSetAbstract()
|
boolean |
isSetDataType()
|
boolean |
isSetName()
|
boolean |
isSetOpen()
|
boolean |
isSetSequenced()
|
boolean |
isSetUri()
|
void |
set(int propertyIndex,
Object newValue)
|
void |
setAbstract(boolean newAbstract)
|
void |
setDataType(boolean newDataType)
|
void |
setName(String newName)
|
void |
setOpen(boolean newOpen)
|
void |
setSequenced(boolean newSequenced)
|
void |
setUri(String newUri)
|
String |
toString()
|
void |
unset(int propertyIndex)
|
void |
unsetAbstract()
|
void |
unsetDataType()
|
void |
unsetName()
|
void |
unsetOpen()
|
void |
unsetSequenced()
|
void |
unsetUri()
|
Methods inherited from class org.apache.tuscany.sdo.impl.DataObjectBase |
---|
addNotification, addNotification, basicAdd, createChangeSummary, createPropertyList, createPropertyList, createSequence, createSequence, dispatch, eGet, eInverseRemove, eIsSet, eSet, eStaticClass, eStaticFeatureCount, eUnset, get, getList, getStaticPropertyCount, inverseAdd, inverseAdd, inverseRemove, isNotifying, isProxy, isProxy, isSequenceEmpty, isSet, notify, notify, notify, notify, notify, notify, notify, notify, notify, notify, notify, notify, notify, notify, notify, notify, notify, notify, removeFromList, removeFromSequence, resolveProxy, set, setSequence, unset, unsetSequence |
Methods inherited from class org.apache.tuscany.sdo.impl.ExtensibleDataObjectImpl |
---|
dynamicGet, dynamicSet, dynamicUnset, eClass, eDerivedStructuralFeatureID, eDynamicClass, eDynamicGet, eDynamicIsSet, eDynamicSet, eDynamicUnset, eHasSettings, eSetClass, eSettings, get, isDynamic |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicProperties, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProperties, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, 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, eSetDeliver |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eSetDeliver |
Field Detail |
---|
public static final int BASE_TYPE
public static final int PROPERTY
public static final int ALIAS_NAME
public static final int ANY
public static final int NAME
public static final int URI
public static final int DATA_TYPE
public static final int OPEN
public static final int SEQUENCED
public static final int ABSTRACT
public static final int ANY_ATTRIBUTE
public static final int SDO_PROPERTY_COUNT
public static final int EXTENDED_PROPERTY_COUNT
public static final int INTERNAL_BASE_TYPE
public static final int INTERNAL_PROPERTY
public static final int INTERNAL_ALIAS_NAME
public static final int INTERNAL_ANY
public static final int INTERNAL_NAME
public static final int INTERNAL_URI
public static final int INTERNAL_DATA_TYPE
public static final int INTERNAL_OPEN
public static final int INTERNAL_SEQUENCED
public static final int INTERNAL_ABSTRACT
public static final int INTERNAL_ANY_ATTRIBUTE
public static final int INTERNAL_PROPERTY_COUNT
protected List baseType
Base Type
' reference list.
getBaseType()
protected List property
Property
' containment reference list.
getProperty()
protected List aliasName
Alias Name
' attribute list.
getAliasName()
protected Sequence any
Any
' attribute list.
getAny()
protected static final String NAME_DEFAULT_
Name
' attribute.
getName()
protected String name
Name
' attribute.
getName()
protected boolean name_set_
protected static final String URI_DEFAULT_
Uri
' attribute.
getUri()
protected String uri
Uri
' attribute.
getUri()
protected boolean uri_set_
protected static final boolean DATA_TYPE_DEFAULT_
Data Type
' attribute.
isDataType()
,
Constant Field Valuesprotected boolean dataType
Data Type
' attribute.
isDataType()
protected boolean dataType_set_
protected static final boolean OPEN_DEFAULT_
Open
' attribute.
isOpen()
,
Constant Field Valuesprotected boolean open
Open
' attribute.
isOpen()
protected boolean open_set_
protected static final boolean SEQUENCED_DEFAULT_
Sequenced
' attribute.
isSequenced()
,
Constant Field Valuesprotected boolean sequenced
Sequenced
' attribute.
isSequenced()
protected boolean sequenced_set_
protected static final boolean ABSTRACT_DEFAULT_
Abstract
' attribute.
isAbstract()
,
Constant Field Valuesprotected boolean abstract_
Abstract
' attribute.
isAbstract()
protected boolean abstract_set_
protected Sequence anyAttribute
Any Attribute
' attribute list.
getAnyAttribute()
Constructor Detail |
---|
public TypeImpl()
Method Detail |
---|
protected int internalConvertIndex(int internalIndex)
internalConvertIndex
in class DataObjectBase
public Type getStaticType()
getStaticType
in class DataObjectBase
public List getBaseType()
getBaseType
in interface Type
public List getProperty()
getProperty
in interface Type
public List getAliasName()
getAliasName
in interface Type
public Sequence getAny()
getAny
in interface Type
public String getName()
getName
in interface Type
Type.isSetName()
,
Type.unsetName()
,
Type.setName(String)
public void setName(String newName)
setName
in interface Type
newName
- the new value of the 'Name' attribute.Type.isSetName()
,
Type.unsetName()
,
Type.getName()
public void unsetName()
unsetName
in interface Type
Type.isSetName()
,
Type.getName()
,
Type.setName(String)
public boolean isSetName()
isSetName
in interface Type
Type.unsetName()
,
Type.getName()
,
Type.setName(String)
public String getUri()
getUri
in interface Type
Type.isSetUri()
,
Type.unsetUri()
,
Type.setUri(String)
public void setUri(String newUri)
setUri
in interface Type
newUri
- the new value of the 'Uri' attribute.Type.isSetUri()
,
Type.unsetUri()
,
Type.getUri()
public void unsetUri()
unsetUri
in interface Type
Type.isSetUri()
,
Type.getUri()
,
Type.setUri(String)
public boolean isSetUri()
isSetUri
in interface Type
Type.unsetUri()
,
Type.getUri()
,
Type.setUri(String)
public boolean isDataType()
isDataType
in interface Type
Type.isSetDataType()
,
Type.unsetDataType()
,
Type.setDataType(boolean)
public void setDataType(boolean newDataType)
setDataType
in interface Type
newDataType
- the new value of the 'Data Type' attribute.Type.isSetDataType()
,
Type.unsetDataType()
,
Type.isDataType()
public void unsetDataType()
unsetDataType
in interface Type
Type.isSetDataType()
,
Type.isDataType()
,
Type.setDataType(boolean)
public boolean isSetDataType()
isSetDataType
in interface Type
Type.unsetDataType()
,
Type.isDataType()
,
Type.setDataType(boolean)
public boolean isOpen()
isOpen
in interface Type
Type.isSetOpen()
,
Type.unsetOpen()
,
Type.setOpen(boolean)
public void setOpen(boolean newOpen)
setOpen
in interface Type
newOpen
- the new value of the 'Open' attribute.Type.isSetOpen()
,
Type.unsetOpen()
,
Type.isOpen()
public void unsetOpen()
unsetOpen
in interface Type
Type.isSetOpen()
,
Type.isOpen()
,
Type.setOpen(boolean)
public boolean isSetOpen()
isSetOpen
in interface Type
Type.unsetOpen()
,
Type.isOpen()
,
Type.setOpen(boolean)
public boolean isSequenced()
isSequenced
in interface Type
Type.isSetSequenced()
,
Type.unsetSequenced()
,
Type.setSequenced(boolean)
public void setSequenced(boolean newSequenced)
setSequenced
in interface Type
newSequenced
- the new value of the 'Sequenced' attribute.Type.isSetSequenced()
,
Type.unsetSequenced()
,
Type.isSequenced()
public void unsetSequenced()
unsetSequenced
in interface Type
Type.isSetSequenced()
,
Type.isSequenced()
,
Type.setSequenced(boolean)
public boolean isSetSequenced()
isSetSequenced
in interface Type
Type.unsetSequenced()
,
Type.isSequenced()
,
Type.setSequenced(boolean)
public boolean isAbstract()
isAbstract
in interface Type
Type.isSetAbstract()
,
Type.unsetAbstract()
,
Type.setAbstract(boolean)
public void setAbstract(boolean newAbstract)
setAbstract
in interface Type
newAbstract
- the new value of the 'Abstract' attribute.Type.isSetAbstract()
,
Type.unsetAbstract()
,
Type.isAbstract()
public void unsetAbstract()
unsetAbstract
in interface Type
Type.isSetAbstract()
,
Type.isAbstract()
,
Type.setAbstract(boolean)
public boolean isSetAbstract()
isSetAbstract
in interface Type
Type.unsetAbstract()
,
Type.isAbstract()
,
Type.setAbstract(boolean)
public Sequence getAnyAttribute()
getAnyAttribute
in interface Type
public DataObjectBase.ChangeContext inverseRemove(Object otherEnd, int propertyIndex, DataObjectBase.ChangeContext changeContext)
inverseRemove
in class DataObjectBase
public Object get(int propertyIndex, boolean resolve)
get
in class ExtensibleDataObjectImpl
public void set(int propertyIndex, Object newValue)
set
in interface DataObject
set
in class ExtensibleDataObjectImpl
propertyIndex
- the index of the property.newValue
- the new value for the property.DataObject.set(Property, Object)
public void unset(int propertyIndex)
unset
in interface DataObject
unset
in class ExtensibleDataObjectImpl
propertyIndex
- the index of the property.DataObject.unset(Property)
public boolean isSet(int propertyIndex)
isSet
in interface DataObject
isSet
in class ExtensibleDataObjectImpl
propertyIndex
- the index of the property.
DataObject.isSet(Property)
public String toString()
toString
in class DataObjectBase
public String getInstanceClassName()
getInstanceClassName
in interface Type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |