|
||||||||||
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.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.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 | |
---|---|
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 java.util.List |
aliasName
The cached value of the ' Alias Name ' attribute list. |
protected commonj.sdo.Sequence |
any
The cached value of the ' Any ' attribute list. |
static int |
ANY
|
static int |
ANY_ATTRIBUTE
|
protected commonj.sdo.Sequence |
anyAttribute
The cached value of the ' Any Attribute ' attribute list. |
static int |
BASE_TYPE
|
protected java.util.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 java.lang.String |
name
The cached value of the ' Name ' attribute. |
static int |
NAME
|
protected static java.lang.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 java.util.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 java.lang.String |
uri
The cached value of the ' Uri ' attribute. |
static int |
URI
|
protected static java.lang.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.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 | |
---|---|
TypeImpl()
|
Method Summary | |
---|---|
java.lang.Object |
get(int propertyIndex,
boolean resolve)
|
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()
|
commonj.sdo.Type |
getType()
|
java.lang.String |
getUri()
|
protected int |
internalConvertIndex(int internalIndex)
|
DataObjectBase.ChangeContext |
inverseRemove(java.lang.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,
java.lang.Object newValue)
|
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 |
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, eUnset, get, getList, inverseAdd, inverseAdd, inverseRemove, isNotifying, isProxy, isProxy, isSequenceEmpty, isSet, notify, notify, notify, notify, removeFromList, removeFromSequence, resolveProxy, set, setSequence, unset, unsetSequence |
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 |
---|
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 java.util.List baseType
Base Type
' reference list.
getBaseType()
protected java.util.List property
Property
' containment reference list.
getProperty()
protected java.util.List aliasName
Alias Name
' attribute list.
getAliasName()
protected commonj.sdo.Sequence any
Any
' attribute list.
getAny()
protected static final java.lang.String NAME_DEFAULT_
Name
' attribute.
getName()
protected java.lang.String name
Name
' attribute.
getName()
protected boolean name_set_
protected static final java.lang.String URI_DEFAULT_
Uri
' attribute.
getUri()
protected java.lang.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 commonj.sdo.Sequence anyAttribute
Any Attribute
' attribute list.
getAnyAttribute()
Constructor Detail |
---|
public TypeImpl()
Method Detail |
---|
protected int internalConvertIndex(int internalIndex)
internalConvertIndex
in class DataObjectBase
public commonj.sdo.Type getType()
getType
in interface commonj.sdo.DataObject
getType
in class DataObjectBase
public java.util.List getBaseType()
getBaseType
in interface Type
public java.util.List getProperty()
getProperty
in interface Type
public java.util.List getAliasName()
getAliasName
in interface Type
public commonj.sdo.Sequence getAny()
getAny
in interface Type
public java.lang.String getName()
getName
in interface Type
Type.isSetName()
,
Type.unsetName()
,
Type.setName(String)
public void setName(java.lang.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 java.lang.String getUri()
getUri
in interface Type
Type.isSetUri()
,
Type.unsetUri()
,
Type.setUri(String)
public void setUri(java.lang.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 commonj.sdo.Sequence getAnyAttribute()
getAnyAttribute
in interface Type
public DataObjectBase.ChangeContext inverseRemove(java.lang.Object otherEnd, int propertyIndex, DataObjectBase.ChangeContext changeContext)
inverseRemove
in class DataObjectBase
public java.lang.Object get(int propertyIndex, boolean resolve)
get
in class DataObjectBase
public void set(int propertyIndex, java.lang.Object newValue)
set
in interface commonj.sdo.DataObject
set
in class DataObjectImpl
public void unset(int propertyIndex)
unset
in interface commonj.sdo.DataObject
unset
in class DataObjectImpl
public boolean isSet(int propertyIndex)
isSet
in interface commonj.sdo.DataObject
isSet
in class DataObjectImpl
public java.lang.String toString()
toString
in class DataObjectBase
public java.lang.String getInstanceClassName()
getInstanceClassName
in interface Type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |