public class FiniteIntRangeImpl extends BuiltInSortImpl implements FiniteIntRange
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 Long |
end
The cached value of the '
End ' attribute |
protected static Long |
END_EDEFAULT
The default value of the '
End ' attribute |
protected Long |
start
The cached value of the '
Start ' attribute |
protected static Long |
START_EDEFAULT
The default value of the '
Start ' attribute |
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Modifier | Constructor and Description |
---|---|
protected |
FiniteIntRangeImpl() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.common.notify.NotificationChain |
basicSetContainerFiniteIntRangeConstant(FiniteIntRangeConstant newContainerFiniteIntRangeConstant,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) |
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
|
FiniteIntRangeConstant |
getContainerFiniteIntRangeConstant() |
Long |
getEnd() |
Long |
getStart() |
void |
setContainerFiniteIntRangeConstant(FiniteIntRangeConstant newContainerFiniteIntRangeConstant) |
void |
setEnd(Long newEnd) |
void |
setStart(Long newStart) |
String |
toPNML()
Return the string containing the pnml output
|
void |
toPNML(FileChannel fc)
Return the string containing the pnml output
|
String |
toString() |
boolean |
validateOCL(org.eclipse.emf.common.util.DiagnosticChain diagnostics)
-
|
basicSetContainerAll, basicSetContainerEmpty, basicSetContainerNamedSort, basicSetContainerPartition, basicSetContainerProductSort, basicSetContainerType, basicSetContainerVariableDecl, basicSetMulti, getContainerAll, getContainerEmpty, getContainerNamedSort, getContainerPartition, getContainerProductSort, getContainerType, getContainerVariableDecl, getMulti, setContainerAll, setContainerEmpty, 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
eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getContainerAll, getContainerEmpty, getContainerNamedSort, getContainerPartition, getContainerProductSort, getContainerType, getContainerVariableDecl, getMulti, setContainerAll, setContainerEmpty, setContainerNamedSort, setContainerPartition, setContainerProductSort, setContainerType, setContainerVariableDecl, setMulti
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected static final Long START_EDEFAULT
Start
' attribute.
getStart()
protected Long start
Start
' attribute.
getStart()
protected static final Long END_EDEFAULT
End
' attribute.
getEnd()
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class BuiltInSortImpl
public Long getStart()
getStart
in interface FiniteIntRange
FiniteIntRange.setStart(Long)
,
FiniteIntRangesPackage.getFiniteIntRange_Start()
public void setStart(Long newStart)
setStart
in interface FiniteIntRange
newStart
- the new value of the 'Start' attribute.FiniteIntRange.getStart()
public Long getEnd()
getEnd
in interface FiniteIntRange
FiniteIntRange.setEnd(Long)
,
FiniteIntRangesPackage.getFiniteIntRange_End()
public void setEnd(Long newEnd)
setEnd
in interface FiniteIntRange
newEnd
- the new value of the 'End' attribute.FiniteIntRange.getEnd()
public FiniteIntRangeConstant getContainerFiniteIntRangeConstant()
getContainerFiniteIntRangeConstant
in interface FiniteIntRange
FiniteIntRange.setContainerFiniteIntRangeConstant(FiniteIntRangeConstant)
,
FiniteIntRangesPackage.getFiniteIntRange_ContainerFiniteIntRangeConstant()
,
FiniteIntRangeConstant.getRange()
public org.eclipse.emf.common.notify.NotificationChain basicSetContainerFiniteIntRangeConstant(FiniteIntRangeConstant newContainerFiniteIntRangeConstant, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setContainerFiniteIntRangeConstant(FiniteIntRangeConstant newContainerFiniteIntRangeConstant)
setContainerFiniteIntRangeConstant
in interface FiniteIntRange
newContainerFiniteIntRangeConstant
- the new value of the 'Container Finite Int Range Constant' container reference.FiniteIntRange.getContainerFiniteIntRangeConstant()
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 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
eBasicRemoveFromContainerFeature
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 toString()
toString
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public String toPNML()
toPNML
in interface FiniteIntRange
toPNML
in interface BuiltInSort
toPNML
in interface Sort
public void fromPNML(org.apache.axiom.om.OMElement locRoot, IdRefLinker idr) throws InnerBuildException, InvalidIDException, VoidRepositoryException
FiniteIntRange
fromPNML
in interface FiniteIntRange
fromPNML
in interface BuiltInSort
fromPNML
in interface Sort
InnerBuildException
InvalidIDException
VoidRepositoryException
public void toPNML(FileChannel fc)
toPNML
in interface FiniteIntRange
toPNML
in interface BuiltInSort
toPNML
in interface Sort
public boolean validateOCL(org.eclipse.emf.common.util.DiagnosticChain diagnostics)
validateOCL
in interface FiniteIntRange
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.