TPTP 4.5.0 Platform Project
Public API Specification

org.eclipse.hyades.models.common.datapool.impl
Class DPLRecordImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.hyades.models.common.datapool.impl.DPLRecordImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, IDatapoolRecord, DPLRecord

public class DPLRecordImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements DPLRecord

An implementation of the model object 'DPL Record'.

The following features are implemented:

Generated

Nested Class Summary
 
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 java.lang.String copyright
           
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 DPLDatapoolSpec basicGetDatapool()
           
 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)
           
 void eUnset(int featureID)
           
 IDatapoolCell getCell(int cellIndex)
          The value for the cell in the current record and the specified variable is returned.
 IDatapoolCell getCell(java.lang.String variableName)
          The value for the cell in the current record and the specified variable is returned.
 int getCellCount()
          The number of cells available in a record.
 org.eclipse.emf.common.util.EList getCells()
           
 DPLDatapoolSpec getDatapool()
           
 IDatapoolEquivalenceClass getEquivalenceClass()
          Access to the equivalenceClass that is the parent of this record.
 void insertCell(DPLCell newCell, int position)
          convenience method Insert cell at a given position
 void setCell(IDatapoolCell cell, int cellIndex)
          Replace a value at the specified zero based cell index.
 void setDatapool(DPLDatapoolSpec newDatapool)
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset, toString
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values
Generated
Method Detail

getDatapool

public DPLDatapoolSpec getDatapool()

Specified by:
getDatapool in interface DPLRecord
Returns:
the value of the 'Datapool' reference.
See Also:
DPLRecord.setDatapool(DPLDatapoolSpec), Common_DatapoolPackage.getDPLRecord_Datapool()
Generated

basicGetDatapool

public DPLDatapoolSpec basicGetDatapool()

Generated

setDatapool

public void setDatapool(DPLDatapoolSpec newDatapool)

Specified by:
setDatapool in interface DPLRecord
Parameters:
newDatapool - the new value of the 'Datapool' reference.
See Also:
DPLRecord.getDatapool()
Generated

getCells

public org.eclipse.emf.common.util.EList getCells()

Specified by:
getCells in interface DPLRecord
Returns:
the value of the 'Cells' containment reference list.
See Also:
Common_DatapoolPackage.getDPLRecord_Cells()
Generated

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
Generated

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 org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

setCell

public void setCell(IDatapoolCell cell,
                    int cellIndex)
Replace a value at the specified zero based cell index.

Parameters:
cell - The value to replace in the specified cell.
cellIndex - A zero based cell index.
See Also:
getCell(int)

getCellCount

public int getCellCount()
The number of cells available in a record.

Specified by:
getCellCount in interface IDatapoolRecord
Returns:
The number of cells available.

getCell

public IDatapoolCell getCell(int cellIndex)
The value for the cell in the current record and the specified variable is returned. The variable is located by the specified zero based index. ADatapoolException is thrown if the name does not match a variable name in the record.

Specified by:
getCell in interface IDatapoolRecord
Parameters:
cellIndex - The zero based cell index.
Returns:
The value for the cell in the current record and the specified variable.

getCell

public IDatapoolCell getCell(java.lang.String variableName)
The value for the cell in the current record and the specified variable is returned. The variable is located by the specified name, which must match a variable name in the record. A DatapoolException is thrown if the name does not match a variable name in the record.

Specified by:
getCell in interface IDatapoolRecord
Parameters:
variableName - The variable name to identify the cell by.
Returns:
The value for the cell in the current record and the specified variable name.

insertCell

public void insertCell(DPLCell newCell,
                       int position)
convenience method Insert cell at a given position

Parameters:
newCell - The value to be inserted
position - The zero based cell position

getEquivalenceClass

public IDatapoolEquivalenceClass getEquivalenceClass()
Access to the equivalenceClass that is the parent of this record.

Specified by:
getEquivalenceClass in interface IDatapoolRecord
Returns:
The equivalenceClass that is the parent of this record.

TPTP 4.5.0 Platform Project
Public API Specification