|
TPTP 4.2.0 Platform Project Public API Specification |
||||||||||
| 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.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.hyades.models.common.common.impl.CMNNamedElementImpl
org.eclipse.hyades.models.common.datapool.impl.DPLEquivalenceClassImpl
An implementation of the model object 'DPL Equivalence Class'.
The following features are implemented:
| Nested Class Summary |
|---|
| Nested classes 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 inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList |
| Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject |
|---|
org.eclipse.emf.ecore.InternalEObject.EStore |
| Field Summary | |
|---|---|
static java.lang.String |
copyright
|
protected org.eclipse.emf.common.util.EList |
records
The cached value of the ' Records' containment reference list |
| Fields inherited from class org.eclipse.hyades.models.common.common.impl.CMNNamedElementImpl |
|---|
description, DESCRIPTION_EDEFAULT, id, ID_EDEFAULT, name, NAME_EDEFAULT |
| Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
| 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 |
DPLEquivalenceClassImpl()
|
| Method Summary | |
|---|---|
void |
appendRecord(IDatapoolRecord record)
Append the specified record to the end of the datapool. |
IDatapoolRecord |
constructRecord()
Construct a new record with an appropriate number of elements for the active datapool. |
IDatapoolRecord |
constructRecord(java.lang.Object[] elements)
Construct a new record with an appropriate number of elements for the active datapool. |
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)
|
IDatapool |
getDatapool()
Access to the datapool that is the parent of this equivalence
class. |
IDatapoolRecord |
getRecord(int record)
Access to the record contents at the specified zero based record index. |
int |
getRecordCount()
The number of records in the equivalence class. |
org.eclipse.emf.common.util.EList |
getRecords()
|
void |
insertRecord(IDatapoolRecord data,
int beforeRecord)
Insert the specified record before the zero based record index. |
void |
insertRecordDoNotNotify(IDatapoolRecord data,
int beforeRecord)
Helper function Insert the specified record before the zero based record index. |
void |
moveRecord(int sourceRecordIndex,
int targetRecordIndex)
Move the specified record. |
IDatapoolRecord |
removeRecord(int recordIndex)
Remove the specified record. |
protected IDatapoolRecord |
removeRecordDoNotNotify(int recordIndex)
Helper function Remove the specified record. |
void |
reorder(int[] recordOrder)
Inform the equivalence class of a new order for records. |
void |
replaceRecord(IDatapoolRecord data,
int recordIndex)
Update the specified record with the supplied data. |
void |
setName(java.lang.String name)
Sets the value of the ' Name' attribute |
| Methods inherited from class org.eclipse.hyades.models.common.common.impl.CMNNamedElementImpl |
|---|
getAdapter, getDescription, getId, getName, setDescription, setId, toString |
| Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
| Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, 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 |
|---|
eNotificationRequired, eNotify |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.hyades.models.common.common.CMNNamedElement |
|---|
getDescription, getId, getName, setDescription, setId |
| 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.core.runtime.IAdaptable |
|---|
getAdapter |
| Methods inherited from interface org.eclipse.hyades.execution.runtime.datapool.INamedElement |
|---|
getDescription, getId, getName |
| Methods inherited from interface org.eclipse.hyades.edit.datapool.INamedElement |
|---|
setDescription, setId |
| Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
eNotificationRequired |
| Field Detail |
public static final java.lang.String copyright
protected org.eclipse.emf.common.util.EList records
Records' containment reference list.
getRecords()| Constructor Detail |
protected DPLEquivalenceClassImpl()
| Method Detail |
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class CMNNamedElementImplpublic org.eclipse.emf.common.util.EList getRecords()
getRecords in interface DPLEquivalenceClassCommon_DatapoolPackage.getDPLEquivalenceClass_Records()
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class CMNNamedElementImpl
public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class CMNNamedElementImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class CMNNamedElementImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class CMNNamedElementImplpublic IDatapoolRecord constructRecord()
variables in the datapool.
constructRecord in interface IDatapoolEquivalenceClassconstructRecord(Object[]),
IDatapool.getVariableCount(),
insertRecord(IDatapoolRecord,int),
appendRecord(IDatapoolRecord),
replaceRecord(IDatapoolRecord,int)public IDatapoolRecord constructRecord(java.lang.Object[] elements)
variables in the datapool. The supplied
values will be padded or truncated to match the number of variables
available. The supplied values may be null in which
case all elements in the returned record will be null.
constructRecord in interface IDatapoolEquivalenceClasselements - The initial values (XML fragments) defined for the record or
null if no initial values are desired.IDatapool.getVariableCount(),
insertRecord(IDatapoolRecord,int),
appendRecord(IDatapoolRecord),
replaceRecord(IDatapoolRecord,int)
public void insertRecord(IDatapoolRecord data,
int beforeRecord)
insertRecord in interface IDatapoolEquivalenceClassdata - The new record.beforeRecord - The zero based record index to insert the new record before.appendRecord(IDatapoolRecord),
replaceRecord(IDatapoolRecord,int),
removeRecord(int)
public void insertRecordDoNotNotify(IDatapoolRecord data,
int beforeRecord)
data - The new record.beforeRecord - The zero based record index to insert the new record before.public void appendRecord(IDatapoolRecord record)
appendRecord in interface IDatapoolEquivalenceClassrecord - The new record.insertRecord(IDatapoolRecord,int),
replaceRecord(IDatapoolRecord,int),
removeRecord(int)
public void replaceRecord(IDatapoolRecord data,
int recordIndex)
removeRecord followed by
insertRecord without the need
to perform both calls. The specified record index is zero
based. Any attempt to replace a record in the datapool with
a record already in the datapool will result in an appropriate
exception.
replaceRecord in interface IDatapoolEquivalenceClassdata - The new record data.recordIndex - The zero based record index to update the new record data into.insertRecord(IDatapoolRecord,int),
appendRecord(IDatapoolRecord),
removeRecord(int)public IDatapoolRecord removeRecord(int recordIndex)
removeRecord in interface IDatapoolEquivalenceClassrecordIndex - The zero based record index of the record to remove.insertRecord(IDatapoolRecord,int),
appendRecord(IDatapoolRecord),
replaceRecord(IDatapoolRecord,int)protected IDatapoolRecord removeRecordDoNotNotify(int recordIndex)
recordIndex - The zero based record index of the record to remove.
public void moveRecord(int sourceRecordIndex,
int targetRecordIndex)
moveRecord in interface IDatapoolEquivalenceClasssourceRecordIndex - The zero based record index of the record to move.targetRecordIndex - The reord index marking the target location for
the move action.insertRecord(IDatapoolRecord,int),
appendRecord(IDatapoolRecord),
replaceRecord(IDatapoolRecord,int)public void reorder(int[] recordOrder)
If the specified set of records is the wrong length or contains redundant record references an appropriate exception is thrown.
reorder in interface IDatapoolEquivalenceClassrecordOrder - The desired order for the records in the equivalence class.public int getRecordCount()
getRecordCount in interface IDatapoolEquivalenceClasspublic IDatapoolRecord getRecord(int record)
getRecord in interface IDatapoolEquivalenceClassrecord - The record contents at the specified zero based record index.public IDatapool getDatapool()
datapool that is the parent of this equivalence
class.
getDatapool in interface IDatapoolEquivalenceClassdatapool that is the parent of this equivalence
class.public void setName(java.lang.String name)
CMNNamedElementName' attribute.
setName in interface CMNNamedElementsetName in class CMNNamedElementImpl
|
TPTP 4.2.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||