|
||||||||||
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.PropertyImpl
public class PropertyImpl
An implementation of the model object 'Property'.
The following features are implemented:
Alias Name
Any
Name
Many
Containment
Default
Read Only
Type
Opposite
Nullable
Any Attribute
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 |
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. |
protected boolean |
containment
The cached value of the ' Containment ' attribute. |
static int |
CONTAINMENT
|
protected static boolean |
CONTAINMENT_DEFAULT_
The default value of the ' Containment ' attribute. |
protected boolean |
containment_set_
This is true if the Containment attribute has been set. |
static int |
DEFAULT
|
protected String |
default_
The cached value of the ' Default ' attribute. |
protected static String |
DEFAULT_DEFAULT_
The default value of the ' Default ' attribute. |
protected boolean |
default_set_
This is true if the Default attribute has been set. |
static int |
EXTENDED_PROPERTY_COUNT
|
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_CONTAINMENT
The internal feature id for the 'Containment' attribute. |
static int |
INTERNAL_DEFAULT
The internal feature id for the 'Default' attribute. |
static int |
INTERNAL_MANY
The internal feature id for the 'Many' attribute. |
static int |
INTERNAL_NAME
The internal feature id for the 'Name' attribute. |
static int |
INTERNAL_NULLABLE
The internal feature id for the 'Nullable' attribute. |
static int |
INTERNAL_OPPOSITE
The internal feature id for the 'Opposite' reference. |
static int |
INTERNAL_PROPERTY_COUNT
The number of properties for this type. |
static int |
INTERNAL_READ_ONLY
The internal feature id for the 'Read Only' attribute. |
static int |
INTERNAL_TYPE
The internal feature id for the 'Type' reference. |
protected boolean |
many
The cached value of the ' Many ' attribute. |
static int |
MANY
|
protected static boolean |
MANY_DEFAULT_
The default value of the ' Many ' attribute. |
protected boolean |
many_set_
This is true if the Many attribute has been set. |
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 |
nullable
The cached value of the ' Nullable ' attribute. |
static int |
NULLABLE
|
protected static boolean |
NULLABLE_DEFAULT_
The default value of the ' Nullable ' attribute. |
protected boolean |
nullable_set_
This is true if the Nullable attribute has been set. |
protected Property |
opposite
The cached value of the ' Opposite ' reference. |
static int |
OPPOSITE
|
protected boolean |
opposite_set_
This is true if the Opposite reference has been set. |
static int |
READ_ONLY
|
protected static boolean |
READ_ONLY_DEFAULT_
The default value of the ' Read Only ' attribute. |
protected boolean |
readOnly
The cached value of the ' Read Only ' attribute. |
protected boolean |
readOnly_set_
This is true if the Read Only attribute has been set. |
static int |
SDO_PROPERTY_COUNT
|
protected Type |
type
The cached value of the ' Type ' reference. |
static int |
TYPE
|
protected boolean |
type_set_
This is true if the Type reference 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 | |
---|---|
PropertyImpl()
|
Method Summary | |
---|---|
Property |
basicGetOpposite()
|
Type |
basicGetType()
|
Object |
get(int propertyIndex,
boolean resolve)
|
List |
getAliasName()
|
Sequence |
getAny()
|
Sequence |
getAnyAttribute()
|
String |
getDefault_()
|
String |
getName()
|
Property |
getOpposite_()
|
Type |
getStaticType()
|
Type |
getType_()
|
protected int |
internalConvertIndex(int internalIndex)
|
DataObjectBase.ChangeContext |
inverseRemove(Object otherEnd,
int propertyIndex,
DataObjectBase.ChangeContext changeContext)
|
boolean |
isContainment()
|
boolean |
isMany()
|
boolean |
isNullable()
|
boolean |
isReadOnly()
|
boolean |
isSet(int propertyIndex)
|
boolean |
isSetContainment()
|
boolean |
isSetDefault()
|
boolean |
isSetMany()
|
boolean |
isSetName()
|
boolean |
isSetNullable()
|
boolean |
isSetOpposite()
|
boolean |
isSetReadOnly()
|
boolean |
isSetType()
|
void |
set(int propertyIndex,
Object newValue)
|
void |
setContainment(boolean newContainment)
|
void |
setDefault_(String newDefault)
|
void |
setMany(boolean newMany)
|
void |
setName(String newName)
|
void |
setNullable(boolean newNullable)
|
void |
setOpposite_(Property newOpposite)
|
void |
setReadOnly(boolean newReadOnly)
|
void |
setType(Type newType)
|
String |
toString()
|
void |
unset(int propertyIndex)
|
void |
unsetContainment()
|
void |
unsetDefault()
|
void |
unsetMany()
|
void |
unsetName()
|
void |
unsetNullable()
|
void |
unsetOpposite()
|
void |
unsetReadOnly()
|
void |
unsetType()
|
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 ALIAS_NAME
public static final int ANY
public static final int NAME
public static final int MANY
public static final int CONTAINMENT
public static final int DEFAULT
public static final int READ_ONLY
public static final int TYPE
public static final int OPPOSITE
public static final int NULLABLE
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_ALIAS_NAME
public static final int INTERNAL_ANY
public static final int INTERNAL_NAME
public static final int INTERNAL_MANY
public static final int INTERNAL_CONTAINMENT
public static final int INTERNAL_DEFAULT
public static final int INTERNAL_READ_ONLY
public static final int INTERNAL_TYPE
public static final int INTERNAL_OPPOSITE
public static final int INTERNAL_NULLABLE
public static final int INTERNAL_ANY_ATTRIBUTE
public static final int INTERNAL_PROPERTY_COUNT
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 boolean MANY_DEFAULT_
Many
' attribute.
isMany()
,
Constant Field Valuesprotected boolean many
Many
' attribute.
isMany()
protected boolean many_set_
protected static final boolean CONTAINMENT_DEFAULT_
Containment
' attribute.
isContainment()
,
Constant Field Valuesprotected boolean containment
Containment
' attribute.
isContainment()
protected boolean containment_set_
protected static final String DEFAULT_DEFAULT_
Default
' attribute.
getDefault_()
protected String default_
Default
' attribute.
getDefault_()
protected boolean default_set_
protected static final boolean READ_ONLY_DEFAULT_
Read Only
' attribute.
isReadOnly()
,
Constant Field Valuesprotected boolean readOnly
Read Only
' attribute.
isReadOnly()
protected boolean readOnly_set_
protected Type type
Type
' reference.
getType_()
protected boolean type_set_
protected Property opposite
Opposite
' reference.
getOpposite_()
protected boolean opposite_set_
protected static final boolean NULLABLE_DEFAULT_
Nullable
' attribute.
isNullable()
,
Constant Field Valuesprotected boolean nullable
Nullable
' attribute.
isNullable()
protected boolean nullable_set_
protected Sequence anyAttribute
Any Attribute
' attribute list.
getAnyAttribute()
Constructor Detail |
---|
public PropertyImpl()
Method Detail |
---|
protected int internalConvertIndex(int internalIndex)
internalConvertIndex
in class DataObjectBase
public Type getStaticType()
getStaticType
in class DataObjectBase
public List getAliasName()
getAliasName
in interface Property
public Sequence getAny()
getAny
in interface Property
public String getName()
getName
in interface Property
Property.isSetName()
,
Property.unsetName()
,
Property.setName(String)
public void setName(String newName)
setName
in interface Property
newName
- the new value of the 'Name' attribute.Property.isSetName()
,
Property.unsetName()
,
Property.getName()
public void unsetName()
unsetName
in interface Property
Property.isSetName()
,
Property.getName()
,
Property.setName(String)
public boolean isSetName()
isSetName
in interface Property
Property.unsetName()
,
Property.getName()
,
Property.setName(String)
public boolean isMany()
isMany
in interface Property
Property.isSetMany()
,
Property.unsetMany()
,
Property.setMany(boolean)
public void setMany(boolean newMany)
setMany
in interface Property
newMany
- the new value of the 'Many' attribute.Property.isSetMany()
,
Property.unsetMany()
,
Property.isMany()
public void unsetMany()
unsetMany
in interface Property
Property.isSetMany()
,
Property.isMany()
,
Property.setMany(boolean)
public boolean isSetMany()
isSetMany
in interface Property
Property.unsetMany()
,
Property.isMany()
,
Property.setMany(boolean)
public boolean isContainment()
isContainment
in interface Property
Property.isSetContainment()
,
Property.unsetContainment()
,
Property.setContainment(boolean)
public void setContainment(boolean newContainment)
setContainment
in interface Property
newContainment
- the new value of the 'Containment' attribute.Property.isSetContainment()
,
Property.unsetContainment()
,
Property.isContainment()
public void unsetContainment()
unsetContainment
in interface Property
Property.isSetContainment()
,
Property.isContainment()
,
Property.setContainment(boolean)
public boolean isSetContainment()
isSetContainment
in interface Property
Property.unsetContainment()
,
Property.isContainment()
,
Property.setContainment(boolean)
public String getDefault_()
getDefault_
in interface Property
Property.isSetDefault()
,
Property.unsetDefault()
,
Property.setDefault_(String)
public void setDefault_(String newDefault)
setDefault_
in interface Property
newDefault
- the new value of the 'Default' attribute.Property.isSetDefault()
,
Property.unsetDefault()
,
Property.getDefault_()
public void unsetDefault()
unsetDefault
in interface Property
Property.isSetDefault()
,
Property.getDefault_()
,
Property.setDefault_(String)
public boolean isSetDefault()
isSetDefault
in interface Property
Property.unsetDefault()
,
Property.getDefault_()
,
Property.setDefault_(String)
public boolean isReadOnly()
isReadOnly
in interface Property
Property.isSetReadOnly()
,
Property.unsetReadOnly()
,
Property.setReadOnly(boolean)
public void setReadOnly(boolean newReadOnly)
setReadOnly
in interface Property
newReadOnly
- the new value of the 'Read Only' attribute.Property.isSetReadOnly()
,
Property.unsetReadOnly()
,
Property.isReadOnly()
public void unsetReadOnly()
unsetReadOnly
in interface Property
Property.isSetReadOnly()
,
Property.isReadOnly()
,
Property.setReadOnly(boolean)
public boolean isSetReadOnly()
isSetReadOnly
in interface Property
Property.unsetReadOnly()
,
Property.isReadOnly()
,
Property.setReadOnly(boolean)
public Type getType_()
getType_
in interface Property
Property.isSetType()
,
Property.unsetType()
,
Property.setType(Type)
public Type basicGetType()
public void setType(Type newType)
setType
in interface Property
newType
- the new value of the 'Type' reference.Property.isSetType()
,
Property.unsetType()
,
Property.getType_()
public void unsetType()
unsetType
in interface Property
Property.isSetType()
,
Property.getType_()
,
Property.setType(Type)
public boolean isSetType()
isSetType
in interface Property
Property.unsetType()
,
Property.getType_()
,
Property.setType(Type)
public Property getOpposite_()
getOpposite_
in interface Property
Property.isSetOpposite()
,
Property.unsetOpposite()
,
Property.setOpposite_(Property)
public Property basicGetOpposite()
public void setOpposite_(Property newOpposite)
setOpposite_
in interface Property
newOpposite
- the new value of the 'Opposite' reference.Property.isSetOpposite()
,
Property.unsetOpposite()
,
Property.getOpposite_()
public void unsetOpposite()
unsetOpposite
in interface Property
Property.isSetOpposite()
,
Property.getOpposite_()
,
Property.setOpposite_(Property)
public boolean isSetOpposite()
isSetOpposite
in interface Property
Property.unsetOpposite()
,
Property.getOpposite_()
,
Property.setOpposite_(Property)
public boolean isNullable()
isNullable
in interface Property
Property.isSetNullable()
,
Property.unsetNullable()
,
Property.setNullable(boolean)
public void setNullable(boolean newNullable)
setNullable
in interface Property
newNullable
- the new value of the 'Nullable' attribute.Property.isSetNullable()
,
Property.unsetNullable()
,
Property.isNullable()
public void unsetNullable()
unsetNullable
in interface Property
Property.isSetNullable()
,
Property.isNullable()
,
Property.setNullable(boolean)
public boolean isSetNullable()
isSetNullable
in interface Property
Property.unsetNullable()
,
Property.isNullable()
,
Property.setNullable(boolean)
public Sequence getAnyAttribute()
getAnyAttribute
in interface Property
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |