public class CollectionLiteralExpImpl<C> extends LiteralExpImpl<C> implements CollectionLiteralExp<C>
The following features are implemented:
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 java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
Modifier and Type | Field and Description |
---|---|
protected CollectionKind |
kind
The cached value of the '
Kind ' attribute. |
protected static CollectionKind |
KIND_EDEFAULT
The default value of the '
Kind ' attribute. |
protected org.eclipse.emf.common.util.EList<CollectionLiteralPart<C>> |
part
The cached value of the '
Part ' containment reference list. |
protected static boolean |
SIMPLE_RANGE_EDEFAULT
The default value of the '
Simple Range ' attribute. |
END_POSITION_EDEFAULT, endPosition, START_POSITION_EDEFAULT, startPosition
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
Modifier | Constructor and Description |
---|---|
protected |
CollectionLiteralExpImpl() |
Modifier and Type | Method and Description |
---|---|
<T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> |
accept(U v) |
boolean |
checkBagKind(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
boolean |
checkElementType(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
boolean |
checkNoCollectionInstances(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
boolean |
checkSequenceKind(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
boolean |
checkSetKind(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
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) |
CollectionKind |
getKind() |
org.eclipse.emf.common.util.EList<CollectionLiteralPart<C>> |
getPart() |
boolean |
isSimpleRange() |
void |
setKind(CollectionKind newKind) |
java.lang.String |
toString() |
eBaseStructuralFeatureID, eDerivedStructuralFeatureID, getEndPosition, getName, getStartPosition, getType, setEndPosition, setName, setStartPosition, setType
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, getType, setName, setType
getEndPosition, getStartPosition, setEndPosition, setStartPosition
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected static final CollectionKind KIND_EDEFAULT
Kind
' attribute.
getKind()
protected CollectionKind kind
Kind
' attribute.
getKind()
protected org.eclipse.emf.common.util.EList<CollectionLiteralPart<C>> part
Part
' containment reference list.
getPart()
protected static final boolean SIMPLE_RANGE_EDEFAULT
Simple Range
' attribute.
isSimpleRange()
,
Constant Field Valuesprotected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class LiteralExpImpl<C>
public CollectionKind getKind()
getKind
in interface CollectionLiteralExp<C>
CollectionKind
,
CollectionLiteralExp.setKind(CollectionKind)
,
ExpressionsPackage.getCollectionLiteralExp_Kind()
public void setKind(CollectionKind newKind)
setKind
in interface CollectionLiteralExp<C>
newKind
- the new value of the 'Kind' attribute.CollectionKind
,
CollectionLiteralExp.getKind()
public org.eclipse.emf.common.util.EList<CollectionLiteralPart<C>> getPart()
getPart
in interface CollectionLiteralExp<C>
ExpressionsPackage.getCollectionLiteralExp_Part()
public boolean isSimpleRange()
isSimpleRange
in interface CollectionLiteralExp<C>
ExpressionsPackage.getCollectionLiteralExp_SimpleRange()
public boolean checkNoCollectionInstances(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
checkNoCollectionInstances
in interface CollectionLiteralExp<C>
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
public boolean checkSetKind(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
checkSetKind
in interface CollectionLiteralExp<C>
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
public boolean checkSequenceKind(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
checkSequenceKind
in interface CollectionLiteralExp<C>
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
public boolean checkBagKind(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
checkBagKind
in interface CollectionLiteralExp<C>
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
public boolean checkElementType(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
checkElementType
in interface CollectionLiteralExp<C>
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
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 org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class OCLExpressionImpl<C>
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class OCLExpressionImpl<C>
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class OCLExpressionImpl<C>
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class OCLExpressionImpl<C>
public java.lang.String toString()
toString
in class OCLExpressionImpl<C>
public <T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> T accept(U v)
OCLExpressionImpl
accept
in interface Visitable
accept
in class OCLExpressionImpl<C>