public class FiniteEnumerationImpl extends BuiltInSortImpl implements FiniteEnumeration
The following features are implemented:
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.emf.common.util.EList<FEConstant> |
elements
The cached value of the '
Elements ' containment reference list |
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Modifier | Constructor and Description |
---|---|
protected |
FiniteEnumerationImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
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) |
boolean |
equalSorts(Sort sort)
Returns true if this sort and argument sort are actually semantically the
same sort, even in two different objects.
|
void |
eSet(int featureID,
Object newValue) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
void |
fromPNML(org.apache.axiom.om.OMElement locRoot,
IdRefLinker idr)
set values to conform PNML document
|
List<FEConstant> |
getElements() |
String |
toPNML()
Return the string containing the pnml output
|
void |
toPNML(FileChannel fc)
Return the string containing the pnml output
|
boolean |
validateOCL(org.eclipse.emf.common.util.DiagnosticChain diagnostics)
-
|
basicSetContainerAll, basicSetContainerEmpty, basicSetContainerEmptyList, basicSetContainerList, basicSetContainerMakeList, basicSetContainerNamedSort, basicSetContainerPartition, basicSetContainerProductSort, basicSetContainerType, basicSetContainerVariableDecl, basicSetMulti, eBasicRemoveFromContainerFeature, getContainerAll, getContainerEmpty, getContainerEmptyList, getContainerList, getContainerMakeList, getContainerNamedSort, getContainerPartition, getContainerProductSort, getContainerType, getContainerVariableDecl, getMulti, setContainerAll, setContainerEmpty, setContainerEmptyList, setContainerList, setContainerMakeList, setContainerNamedSort, setContainerPartition, setContainerProductSort, setContainerType, setContainerVariableDecl, setMulti
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eInternalContainer, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString
eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getContainerAll, getContainerEmpty, getContainerEmptyList, getContainerList, getContainerMakeList, getContainerNamedSort, getContainerPartition, getContainerProductSort, getContainerType, getContainerVariableDecl, getMulti, setContainerAll, setContainerEmpty, setContainerEmptyList, setContainerList, setContainerMakeList, setContainerNamedSort, setContainerPartition, setContainerProductSort, setContainerType, setContainerVariableDecl, setMulti
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected org.eclipse.emf.common.util.EList<FEConstant> elements
Elements
' containment reference list.
getElements()
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class BuiltInSortImpl
public List<FEConstant> getElements()
getElements
in interface FiniteEnumeration
FiniteEnumerationsPackage.getFiniteEnumeration_Elements()
,
FEConstant.getSort()
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseAdd
in class SortImpl
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in class SortImpl
public Object eGet(int featureID, boolean resolve, boolean coreType)
public void eSet(int featureID, Object newValue)
public void eUnset(int featureID)
public boolean eIsSet(int featureID)
public String toPNML()
toPNML
in interface FiniteEnumeration
toPNML
in interface BuiltInSort
toPNML
in interface Sort
public void fromPNML(org.apache.axiom.om.OMElement locRoot, IdRefLinker idr) throws InnerBuildException, InvalidIDException, VoidRepositoryException
FiniteEnumeration
fromPNML
in interface FiniteEnumeration
fromPNML
in interface BuiltInSort
fromPNML
in interface Sort
InnerBuildException
InvalidIDException
VoidRepositoryException
public void toPNML(FileChannel fc)
toPNML
in interface FiniteEnumeration
toPNML
in interface BuiltInSort
toPNML
in interface Sort
public boolean validateOCL(org.eclipse.emf.common.util.DiagnosticChain diagnostics)
validateOCL
in interface FiniteEnumeration
validateOCL
in interface BuiltInSort
validateOCL
in interface Sort
validateOCL
in class BuiltInSortImpl
public boolean equalSorts(Sort sort)
Sort
Ex: two FiniteEnumerations F1 = {1,4,6} and F2 = {1,4,6} or two Integers I1 and I2.
Note : the implementation available for MultisetSort is not complete. In particular, we just test equality of the references or of the enclosing NamedSorts (if any). You should consider overriding it in that case.
equalSorts
in interface Sort
sort
- the sort to which we compare this one.Copyright © 2009–2016 Univ. Paris Ouest, and Univ. Pierre et Marie Curie / CNRS UMR 7606 (LIP6). All rights reserved.