org.apache.tuscany.das.rdb.test.company.impl
Class DepartmentTypeImpl

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.das.rdb.test.company.impl.DepartmentTypeImpl
All Implemented Interfaces:
commonj.sdo.DataObject, java.io.Serializable, DepartmentType, 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 DepartmentTypeImpl
extends org.apache.tuscany.sdo.impl.DataObjectBase
implements DepartmentType

An implementation of the model object 'Department Type'.

The following features are implemented:

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.tuscany.sdo.impl.DataObjectBase
org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext, org.apache.tuscany.sdo.impl.DataObjectBase.ChangeKind, org.apache.tuscany.sdo.impl.DataObjectBase.ListKind
 
Nested classes/interfaces inherited from class org.apache.tuscany.sdo.impl.ExtensibleDataObjectImpl
org.apache.tuscany.sdo.impl.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
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected  java.util.List employees
          The cached value of the 'Employees' containment reference list.
static int EMPLOYEES
           
static int EXTENDED_PROPERTY_COUNT
           
protected  int id
          The cached value of the 'Id' attribute.
static int ID
           
protected static int ID_DEFAULT_
          The default value of the 'Id' attribute.
static int INTERNAL_EMPLOYEES
          The internal feature id for the 'Employees' containment reference list.
static int INTERNAL_ID
          The internal feature id for the 'Id' attribute.
static int INTERNAL_LOCATION
          The internal feature id for the 'Location' attribute.
static int INTERNAL_NAME
          The internal feature id for the 'Name' attribute.
static int INTERNAL_NUMBER
          The internal feature id for the 'Number' attribute.
static int INTERNAL_PROPERTY_COUNT
          The number of properties for this type.
protected  java.lang.String location
          The cached value of the 'Location' attribute.
static int LOCATION
           
protected static java.lang.String LOCATION_DEFAULT_
          The default value of the 'Location' 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  int number
          The cached value of the 'Number' attribute.
static int NUMBER
           
protected static int NUMBER_DEFAULT_
          The default value of the 'Number' attribute.
static int SDO_PROPERTY_COUNT
           
 
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, eContainer, eContainerFeatureID, 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
DepartmentTypeImpl()
           
 
Method Summary
 java.lang.Object get(int propertyIndex, boolean resolve)
           
 java.util.List getEmployees()
           
 int getId()
           
 java.lang.String getLocation()
           
 java.lang.String getName()
           
 int getNumber()
           
 commonj.sdo.Type getStaticType()
           
protected  int internalConvertIndex(int internalIndex)
           
 org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext inverseRemove(java.lang.Object otherEnd, int propertyIndex, org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext changeContext)
           
 boolean isSet(int propertyIndex)
           
 void set(int propertyIndex, java.lang.Object newValue)
           
 void setId(int newId)
           
 void setLocation(java.lang.String newLocation)
           
 void setName(java.lang.String newName)
           
 void setNumber(int newNumber)
           
 java.lang.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, eUnset, get, getList, inverseAdd, inverseAdd, inverseRemove, isNotifying, isProxy, isProxy, isSequenceEmpty, isSet, 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, isDynamic
 
Methods inherited from class org.apache.tuscany.sdo.impl.DataObjectImpl
createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, detach, eBasicSetContainer, eContainerFeatureID, eContents, eCrossReferences, 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, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, 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
 
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
 

Field Detail

EMPLOYEES

public static final int EMPLOYEES
See Also:
Constant Field Values

ID

public static final int ID
See Also:
Constant Field Values

NAME

public static final int NAME
See Also:
Constant Field Values

LOCATION

public static final int LOCATION
See Also:
Constant Field Values

NUMBER

public static final int NUMBER
See Also:
Constant Field Values

SDO_PROPERTY_COUNT

public static final int SDO_PROPERTY_COUNT
See Also:
Constant Field Values

EXTENDED_PROPERTY_COUNT

public static final int EXTENDED_PROPERTY_COUNT
See Also:
Constant Field Values

INTERNAL_EMPLOYEES

public static final int INTERNAL_EMPLOYEES
The internal feature id for the 'Employees' containment reference list.

See Also:
Constant Field Values

INTERNAL_ID

public static final int INTERNAL_ID
The internal feature id for the 'Id' attribute.

See Also:
Constant Field Values

INTERNAL_NAME

public static final int INTERNAL_NAME
The internal feature id for the 'Name' attribute.

See Also:
Constant Field Values

INTERNAL_LOCATION

public static final int INTERNAL_LOCATION
The internal feature id for the 'Location' attribute.

See Also:
Constant Field Values

INTERNAL_NUMBER

public static final int INTERNAL_NUMBER
The internal feature id for the 'Number' attribute.

See Also:
Constant Field Values

INTERNAL_PROPERTY_COUNT

public static final int INTERNAL_PROPERTY_COUNT
The number of properties for this type.

See Also:
Constant Field Values

employees

protected java.util.List employees
The cached value of the 'Employees' containment reference list.

See Also:
getEmployees()

ID_DEFAULT_

protected static final int ID_DEFAULT_
The default value of the 'Id' attribute.

See Also:
getId(), Constant Field Values

id

protected int id
The cached value of the 'Id' attribute.

See Also:
getId()

NAME_DEFAULT_

protected static final java.lang.String NAME_DEFAULT_
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()

LOCATION_DEFAULT_

protected static final java.lang.String LOCATION_DEFAULT_
The default value of the 'Location' attribute.

See Also:
getLocation()

location

protected java.lang.String location
The cached value of the 'Location' attribute.

See Also:
getLocation()

NUMBER_DEFAULT_

protected static final int NUMBER_DEFAULT_
The default value of the 'Number' attribute.

See Also:
getNumber(), Constant Field Values

number

protected int number
The cached value of the 'Number' attribute.

See Also:
getNumber()
Constructor Detail

DepartmentTypeImpl

public DepartmentTypeImpl()

Method Detail

internalConvertIndex

protected int internalConvertIndex(int internalIndex)
Overrides:
internalConvertIndex in class org.apache.tuscany.sdo.impl.DataObjectBase

getStaticType

public commonj.sdo.Type getStaticType()

Overrides:
getStaticType in class org.apache.tuscany.sdo.impl.DataObjectBase

getEmployees

public java.util.List getEmployees()

Specified by:
getEmployees in interface DepartmentType
Returns:
the value of the 'Employees' containment reference list.

getId

public int getId()

Specified by:
getId in interface DepartmentType
Returns:
the value of the 'Id' attribute.
See Also:
DepartmentType.setId(int)

setId

public void setId(int newId)

Specified by:
setId in interface DepartmentType
Parameters:
newId - the new value of the 'Id' attribute.
See Also:
DepartmentType.getId()

getName

public java.lang.String getName()

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

setName

public void setName(java.lang.String newName)

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

getLocation

public java.lang.String getLocation()

Specified by:
getLocation in interface DepartmentType
Returns:
the value of the 'Location' attribute.
See Also:
DepartmentType.setLocation(String)

setLocation

public void setLocation(java.lang.String newLocation)

Specified by:
setLocation in interface DepartmentType
Parameters:
newLocation - the new value of the 'Location' attribute.
See Also:
DepartmentType.getLocation()

getNumber

public int getNumber()

Specified by:
getNumber in interface DepartmentType
Returns:
the value of the 'Number' attribute.
See Also:
DepartmentType.setNumber(int)

setNumber

public void setNumber(int newNumber)

Specified by:
setNumber in interface DepartmentType
Parameters:
newNumber - the new value of the 'Number' attribute.
See Also:
DepartmentType.getNumber()

inverseRemove

public org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext inverseRemove(java.lang.Object otherEnd,
                                                                              int propertyIndex,
                                                                              org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext changeContext)

Overrides:
inverseRemove in class org.apache.tuscany.sdo.impl.DataObjectBase

get

public java.lang.Object get(int propertyIndex,
                            boolean resolve)

Overrides:
get in class org.apache.tuscany.sdo.impl.DataObjectBase

set

public void set(int propertyIndex,
                java.lang.Object newValue)

Specified by:
set in interface commonj.sdo.DataObject
Overrides:
set in class org.apache.tuscany.sdo.impl.DataObjectBase

unset

public void unset(int propertyIndex)

Specified by:
unset in interface commonj.sdo.DataObject
Overrides:
unset in class org.apache.tuscany.sdo.impl.DataObjectBase

isSet

public boolean isSet(int propertyIndex)

Specified by:
isSet in interface commonj.sdo.DataObject
Overrides:
isSet in class org.apache.tuscany.sdo.impl.DataObjectImpl

toString

public java.lang.String toString()

Overrides:
toString in class org.apache.tuscany.sdo.impl.DataObjectBase


Copyright © 2007 Apache Software Foundation. All Rights Reserved.