org.apache.tuscany.sdo.util.metadata.impl
Class JavaMetaDataImpl

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.impl.ExtensibleDataObjectImpl
                  extended by org.apache.tuscany.sdo.impl.DataObjectBase
                      extended by org.apache.tuscany.sdo.util.metadata.impl.JavaMetaDataImpl
All Implemented Interfaces:
DataObject, Serializable, JavaMetaData, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject

public class JavaMetaDataImpl
extends DataObjectBase
implements JavaMetaData

An implementation of the model object 'Java Meta Data'.

The following features are implemented:

See Also:
Serialized Form

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 FACTORY_INTERFACE
          The feature id for the 'Factory Interface' attribute.
protected static String FACTORY_INTERFACE_DEFAULT_
          The default value of the 'Factory Interface' attribute.
protected  String factoryInterface
          The cached value of the 'Factory Interface' attribute.
static int SDO_PROPERTY_COUNT
          This represents the number of properties for this type.
static int TYPE_INTERFACE
          The feature id for the 'Type Interface' attribute.
protected static String TYPE_INTERFACE_DEFAULT_
          The default value of the 'Type Interface' attribute.
protected  String typeInterface
          The cached value of the 'Type Interface' attribute.
 
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
protected JavaMetaDataImpl()
           
 
Method Summary
 Object get(int propertyIndex, boolean resolve)
           
 String getFactoryInterface()
           
 Type getStaticType()
           
 String getTypeInterface()
           
 boolean isSet(int propertyIndex)
           
 void set(int propertyIndex, Object newValue)
           
 void setFactoryInterface(String newFactoryInterface)
           
 void setTypeInterface(String newTypeInterface)
           
 String toString()
           
 void unset(int propertyIndex)
           
 
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, internalConvertIndex, inverseAdd, inverseAdd, inverseRemove, 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.apache.tuscany.sdo.impl.DataObjectImpl
createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, detach, eAdapters, eBasicAdapters, eBasicSetContainer, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eInternalContainer, eIsProxy, eNotificationRequired, eNotify, eProxyURI, eSetDirectResource, eSetProxyURI, 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, getInstanceProperty, getInt, getInt, getInt, getList, getList, getList, getLong, getLong, getLong, getProperty, getRootObject, getSequence, getSequence, getSequence, getSequence, getShort, getShort, getShort, getString, getString, getString, getType, isSet, isSet, 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, writeReplace
 
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 commonj.sdo.DataObject
createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, detach, 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, getInstanceProperty, getInt, getInt, getInt, getList, getList, getList, getLong, getLong, getLong, getProperty, getRootObject, getSequence, getSequence, getSequence, getSequence, getShort, getShort, getShort, getString, getString, getString, getType, isSet, isSet, set, set, setBigDecimal, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBigInteger, setBoolean, setBoolean, setBoolean, setByte, setByte, setByte, setBytes, setBytes, setBytes, 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
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eSetDeliver
 

Field Detail

FACTORY_INTERFACE

public static final int FACTORY_INTERFACE
The feature id for the 'Factory Interface' attribute.

See Also:
Constant Field Values

TYPE_INTERFACE

public static final int TYPE_INTERFACE
The feature id for the 'Type Interface' attribute.

See Also:
Constant Field Values

SDO_PROPERTY_COUNT

public static final int SDO_PROPERTY_COUNT
This represents the number of properties for this type.

See Also:
Constant Field Values

FACTORY_INTERFACE_DEFAULT_

protected static final String FACTORY_INTERFACE_DEFAULT_
The default value of the 'Factory Interface' attribute.

See Also:
getFactoryInterface()

factoryInterface

protected String factoryInterface
The cached value of the 'Factory Interface' attribute.

See Also:
getFactoryInterface()

TYPE_INTERFACE_DEFAULT_

protected static final String TYPE_INTERFACE_DEFAULT_
The default value of the 'Type Interface' attribute.

See Also:
getTypeInterface()

typeInterface

protected String typeInterface
The cached value of the 'Type Interface' attribute.

See Also:
getTypeInterface()
Constructor Detail

JavaMetaDataImpl

protected JavaMetaDataImpl()

Method Detail

getStaticType

public Type getStaticType()

Overrides:
getStaticType in class DataObjectBase

getFactoryInterface

public String getFactoryInterface()

Specified by:
getFactoryInterface in interface JavaMetaData
Returns:
the value of the 'Factory Interface' attribute.
See Also:
JavaMetaData.setFactoryInterface(String)

setFactoryInterface

public void setFactoryInterface(String newFactoryInterface)

Specified by:
setFactoryInterface in interface JavaMetaData
Parameters:
newFactoryInterface - the new value of the 'Factory Interface' attribute.
See Also:
JavaMetaData.getFactoryInterface()

getTypeInterface

public String getTypeInterface()

Specified by:
getTypeInterface in interface JavaMetaData
Returns:
the value of the 'Type Interface' attribute.
See Also:
JavaMetaData.setTypeInterface(String)

setTypeInterface

public void setTypeInterface(String newTypeInterface)

Specified by:
setTypeInterface in interface JavaMetaData
Parameters:
newTypeInterface - the new value of the 'Type Interface' attribute.
See Also:
JavaMetaData.getTypeInterface()

get

public Object get(int propertyIndex,
                  boolean resolve)

Overrides:
get in class ExtensibleDataObjectImpl

set

public void set(int propertyIndex,
                Object newValue)

Specified by:
set in interface DataObject
Overrides:
set in class ExtensibleDataObjectImpl
Parameters:
propertyIndex - the index of the property.
newValue - the new value for the property.
See Also:
DataObject.set(Property, Object)

unset

public void unset(int propertyIndex)

Specified by:
unset in interface DataObject
Overrides:
unset in class ExtensibleDataObjectImpl
Parameters:
propertyIndex - the index of the property.
See Also:
DataObject.unset(Property)

isSet

public boolean isSet(int propertyIndex)

Specified by:
isSet in interface DataObject
Overrides:
isSet in class ExtensibleDataObjectImpl
Parameters:
propertyIndex - the index of the property.
Returns:
whether the specified property is set.
See Also:
DataObject.isSet(Property)

toString

public String toString()

Overrides:
toString in class DataObjectBase


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.