public class CollectionLiteralExpImpl extends LiteralExpImpl implements CollectionLiteralExp
The following features are implemented:
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamicorg.eclipse.emf.ecore.impl.MinimalEObjectImpl.Containerorg.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImplorg.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<org.eclipse.emf.ecore.EClassifier>> |
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, startPositioneGenericType, eType, LOWER_BOUND_EDEFAULT, lowerBound, MANY_EDEFAULT, ORDERED_EDEFAULT, ORDERED_EFLAG, REQUIRED_EDEFAULT, UNIQUE_EDEFAULT, UNIQUE_EFLAG, UPPER_BOUND_EDEFAULT, upperBoundeAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAGEVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETUNBOUNDED_MULTIPLICITY, UNSPECIFIED_MULTIPLICITY| 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) |
int |
eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass) |
int |
eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass) |
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<org.eclipse.emf.ecore.EClassifier>> |
getPart() |
boolean |
isSimpleRange() |
void |
setKind(CollectionKind newKind) |
java.lang.String |
toString() |
getEndPosition, getStartPosition, getType, setEndPosition, setStartPosition, setTypebasicGetEType, basicSetEGenericType, basicUnsetEGenericType, freeze, getEGenericType, getEType, getLowerBound, getUpperBound, isMany, isOrdered, isRequired, isSetEGenericType, isSetEType, isUnique, setEGenericType, setEGenericType, setEType, setEType, setLowerBound, setOrdered, setUnique, setUpperBound, unsetEGenericType, unsetETypeeContents, eCrossReferences, getName, getNameGen, setNameeInverseAdd, eInvoke, eObjectForURIFragmentSegment, eSetDirectResource, eURIFragmentSegment, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozeneBasicSetContainer, eInternalContainerdynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI, eSettingseAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, 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, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValueseNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEGenericType, getEType, getLowerBound, getUpperBound, isMany, isOrdered, isRequired, isUnique, setEGenericType, setEType, setLowerBound, setOrdered, setUnique, setUpperBoundgetEAnnotation, getEAnnotationseAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDelivergetName, getType, setName, setTypegetEndPosition, getStartPosition, setEndPosition, setStartPositionprotected static final CollectionKind KIND_EDEFAULT
Kind' attribute.
getKind()protected CollectionKind kind
Kind' attribute.
getKind()protected org.eclipse.emf.common.util.EList<CollectionLiteralPart<org.eclipse.emf.ecore.EClassifier>> 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 LiteralExpImplpublic CollectionKind getKind()
getKind in interface CollectionLiteralExp<org.eclipse.emf.ecore.EClassifier>CollectionKind,
CollectionLiteralExp.setKind(CollectionKind),
ExpressionsPackage.getCollectionLiteralExp_Kind()public void setKind(CollectionKind newKind)
setKind in interface CollectionLiteralExp<org.eclipse.emf.ecore.EClassifier>newKind - the new value of the 'Kind' attribute.CollectionKind,
CollectionLiteralExp.getKind()public org.eclipse.emf.common.util.EList<CollectionLiteralPart<org.eclipse.emf.ecore.EClassifier>> getPart()
getPart in interface CollectionLiteralExp<org.eclipse.emf.ecore.EClassifier>ExpressionsPackage.getCollectionLiteralExp_Part()public boolean isSimpleRange()
isSimpleRange in interface CollectionLiteralExp<org.eclipse.emf.ecore.EClassifier>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<org.eclipse.emf.ecore.EClassifier>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<org.eclipse.emf.ecore.EClassifier>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<org.eclipse.emf.ecore.EClassifier>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<org.eclipse.emf.ecore.EClassifier>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<org.eclipse.emf.ecore.EClassifier>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.ETypedElementImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class OCLExpressionImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class OCLExpressionImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class OCLExpressionImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class OCLExpressionImplpublic int eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass)
eBaseStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObjecteBaseStructuralFeatureID in class OCLExpressionImplpublic int eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass)
eDerivedStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObjecteDerivedStructuralFeatureID in class OCLExpressionImplpublic java.lang.String toString()
toString in class LiteralExpImplpublic <T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> T accept(U v)
OCLExpressionImplaccept in interface Visitableaccept in class OCLExpressionImpl