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

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.PropertyImpl
All Implemented Interfaces:
commonj.sdo.DataObject, java.io.Serializable, Property, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class PropertyImpl
extends DataObjectImpl
implements Property

An implementation of the model object 'Property'.

The following features are implemented:

Note: The getDefault and getOpposite methods had to be renamed to avoid conflict with the commonj.sdo.Property getDefault and getOpposite methods in classes that implement both. Eventually, the two interfaces should be brought in-line with one another -- James Snell

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  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  boolean containment
          The cached value of the 'Containment' attribute.
protected static boolean CONTAINMENT_EDEFAULT
          The default value of the 'Containment' attribute.
protected  boolean containmentESet
          This is true if the Containment attribute has been set.
protected  java.lang.String default_
          The cached value of the 'Default' attribute.
protected static java.lang.String DEFAULT_EDEFAULT
          The default value of the 'Default' attribute.
protected  boolean many
          The cached value of the 'Many' attribute.
protected static boolean MANY_EDEFAULT
          The default value of the 'Many' attribute.
protected  boolean manyESet
          This is true if the Many 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  Property opposite
          The cached value of the 'Opposite' reference.
protected static boolean READ_ONLY_EDEFAULT
          The default value of the 'Read Only' attribute.
protected  boolean readOnly
          The cached value of the 'Read Only' attribute.
protected  boolean readOnlyESet
          This is true if the Read Only attribute has been set.
protected  Type type
          The cached value of the 'Type' reference.
 
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 PropertyImpl()
           
 
Method Summary
 Property basicGetOpposite()
           
 Type basicGetType()
           
 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.lang.String getDefault_()
           
 java.lang.String getName()
           
 Property getOpposite_()
           
 Type getType_()
           
 boolean isContainment()
           
 boolean isMany()
           
 boolean isReadOnly()
           
 boolean isSetContainment()
           
 boolean isSetMany()
           
 boolean isSetReadOnly()
           
 void setContainment(boolean newContainment)
           
 void setDefault_(java.lang.String newDefault)
           
 void setMany(boolean newMany)
           
 void setName(java.lang.String newName)
           
 void setOpposite_(Property newOpposite)
           
 void setReadOnly(boolean newReadOnly)
           
 void setType(Type newType)
           
 java.lang.String toString()
           
 void unsetContainment()
           
 void unsetMany()
           
 void unsetReadOnly()
           
 
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

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()

CONTAINMENT_EDEFAULT

protected static final boolean CONTAINMENT_EDEFAULT
The default value of the 'Containment' attribute.

See Also:
isContainment(), Constant Field Values

containment

protected boolean containment
The cached value of the 'Containment' attribute.

See Also:
isContainment()

containmentESet

protected boolean containmentESet
This is true if the Containment attribute has been set.


DEFAULT_EDEFAULT

protected static final java.lang.String DEFAULT_EDEFAULT
The default value of the 'Default' attribute.

See Also:
#getDefault()

default_

protected java.lang.String default_
The cached value of the 'Default' attribute.

See Also:
#getDefault()

MANY_EDEFAULT

protected static final boolean MANY_EDEFAULT
The default value of the 'Many' attribute.

See Also:
isMany(), Constant Field Values

many

protected boolean many
The cached value of the 'Many' attribute.

See Also:
isMany()

manyESet

protected boolean manyESet
This is true if the Many 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()

opposite

protected Property opposite
The cached value of the 'Opposite' reference.

See Also:
#getOpposite()

READ_ONLY_EDEFAULT

protected static final boolean READ_ONLY_EDEFAULT
The default value of the 'Read Only' attribute.

See Also:
isReadOnly(), Constant Field Values

readOnly

protected boolean readOnly
The cached value of the 'Read Only' attribute.

See Also:
isReadOnly()

readOnlyESet

protected boolean readOnlyESet
This is true if the Read Only attribute has been set.


type

protected Type type
The cached value of the 'Type' reference.

See Also:
DataObjectImpl.getType()

anyAttribute

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

See Also:
getAnyAttribute()
Constructor Detail

PropertyImpl

protected PropertyImpl()

Method Detail

eStaticClass

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

Overrides:
eStaticClass in class DataObjectImpl

getAliasName

public java.util.List getAliasName()

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

getAny

public commonj.sdo.Sequence getAny()

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

isContainment

public boolean isContainment()

Specified by:
isContainment in interface Property
Returns:
the value of the 'Containment' attribute.
See Also:
Property.isSetContainment(), Property.unsetContainment(), Property.setContainment(boolean)

setContainment

public void setContainment(boolean newContainment)

Specified by:
setContainment in interface Property
Parameters:
newContainment - the new value of the 'Containment' attribute.
See Also:
Property.isSetContainment(), Property.unsetContainment(), Property.isContainment()

unsetContainment

public void unsetContainment()

Specified by:
unsetContainment in interface Property
See Also:
Property.isSetContainment(), Property.isContainment(), Property.setContainment(boolean)

isSetContainment

public boolean isSetContainment()

Specified by:
isSetContainment in interface Property
Returns:
whether the value of the 'Containment' attribute is set.
See Also:
Property.unsetContainment(), Property.isContainment(), Property.setContainment(boolean)

getDefault_

public java.lang.String getDefault_()

Specified by:
getDefault_ in interface Property
Returns:
the value of the 'Default' attribute.
See Also:
#setDefault(String)

setDefault_

public void setDefault_(java.lang.String newDefault)

Specified by:
setDefault_ in interface Property
Parameters:
newDefault - the new value of the 'Default' attribute.
See Also:
#getDefault()

isMany

public boolean isMany()

Specified by:
isMany in interface Property
Returns:
the value of the 'Many' attribute.
See Also:
Property.isSetMany(), Property.unsetMany(), Property.setMany(boolean)

setMany

public void setMany(boolean newMany)

Specified by:
setMany in interface Property
Parameters:
newMany - the new value of the 'Many' attribute.
See Also:
Property.isSetMany(), Property.unsetMany(), Property.isMany()

unsetMany

public void unsetMany()

Specified by:
unsetMany in interface Property
See Also:
Property.isSetMany(), Property.isMany(), Property.setMany(boolean)

isSetMany

public boolean isSetMany()

Specified by:
isSetMany in interface Property
Returns:
whether the value of the 'Many' attribute is set.
See Also:
Property.unsetMany(), Property.isMany(), Property.setMany(boolean)

getName

public java.lang.String getName()

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

setName

public void setName(java.lang.String newName)

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

getOpposite_

public Property getOpposite_()

Specified by:
getOpposite_ in interface Property
Returns:
the value of the 'Opposite' reference.
See Also:
#setOpposite(Property)

basicGetOpposite

public Property basicGetOpposite()


setOpposite_

public void setOpposite_(Property newOpposite)

Specified by:
setOpposite_ in interface Property
Parameters:
newOpposite - the new value of the 'Opposite' reference.
See Also:
#getOpposite()

isReadOnly

public boolean isReadOnly()

Specified by:
isReadOnly in interface Property
Returns:
the value of the 'Read Only' attribute.
See Also:
Property.isSetReadOnly(), Property.unsetReadOnly(), Property.setReadOnly(boolean)

setReadOnly

public void setReadOnly(boolean newReadOnly)

Specified by:
setReadOnly in interface Property
Parameters:
newReadOnly - the new value of the 'Read Only' attribute.
See Also:
Property.isSetReadOnly(), Property.unsetReadOnly(), Property.isReadOnly()

unsetReadOnly

public void unsetReadOnly()

Specified by:
unsetReadOnly in interface Property
See Also:
Property.isSetReadOnly(), Property.isReadOnly(), Property.setReadOnly(boolean)

isSetReadOnly

public boolean isSetReadOnly()

Specified by:
isSetReadOnly in interface Property
Returns:
whether the value of the 'Read Only' attribute is set.
See Also:
Property.unsetReadOnly(), Property.isReadOnly(), Property.setReadOnly(boolean)

getType_

public Type getType_()

Specified by:
getType_ in interface Property
Returns:
the value of the 'Type' reference.
See Also:
Property.setType(Type)

basicGetType

public Type basicGetType()


setType

public void setType(Type newType)

Specified by:
setType in interface Property
Parameters:
newType - the new value of the 'Type' reference.
See Also:
#getType()

getAnyAttribute

public commonj.sdo.Sequence getAnyAttribute()

Specified by:
getAnyAttribute in interface Property
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


Copyright © 2006 Apache Software Foundation. All Rights Reserved.