public class CollectionLiteralExpImpl extends LiteralExpImpl implements CollectionLiteralExp
The following features are implemented:
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
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 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.uml2.uml.Classifier>> |
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
name, NAME_EDEFAULT, NAME_ESETFLAG, nameExpression, OWNED_ELEMENT_ESUBSETS, QUALIFIED_NAME_EDEFAULT, VISIBILITY_EDEFAULT, VISIBILITY_EFLAG, VISIBILITY_EFLAG_DEFAULT, VISIBILITY_EFLAG_OFFSET, VISIBILITY_EFLAG_VALUES, VISIBILITY_ESETFLAG
eAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
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.uml2.uml.Classifier>> |
getPart() |
boolean |
isSimpleRange() |
void |
setKind(CollectionKind newKind) |
java.lang.String |
toString() |
getEndPosition, getStartPosition, getType, setEndPosition, setStartPosition, setType
basicGetType, setType
allNamespaces, allOwningPackages, basicGetNameExpression, basicGetNamespace, basicGetOwner, basicSetNameExpression, createDependency, createNameExpression, createUsage, eInvoke, eObjectForURIFragmentSegment, eURIFragmentSegment, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getOwnedElements, getOwner, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetNamespace, isSetNamespaceGen, isSetOwnedElements, isSetOwner, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
addKeyword, allOwnedElements, applyStereotype, basicGetOwnerGen, create, createEAnnotation, createOwnedComment, destroy, eAdapters, eBasicSetContainer, eNotificationRequired, eNotify, eSetDeliver, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getCacheAdapter, getKeywords, getModel, getNearestPackage, getOwnedComments, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isSetOwnerGen, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
eInverseAdd, eSetDirectResource, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen
eBasicSetContainer, eInternalContainer
dynamicGet, dynamicSet, dynamicUnset, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetProxyURI, eSettings
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, 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, eVirtualValues
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
allNamespaces, allOwningPackages, createDependency, createNameExpression, createUsage, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
getName, getType, setName, setType
getEndPosition, getStartPosition, setEndPosition, setStartPosition
protected static final CollectionKind KIND_EDEFAULT
Kind
' attribute.
getKind()
protected CollectionKind kind
Kind
' attribute.
getKind()
protected org.eclipse.emf.common.util.EList<CollectionLiteralPart<org.eclipse.uml2.uml.Classifier>> 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
public CollectionKind getKind()
getKind
in interface CollectionLiteralExp<org.eclipse.uml2.uml.Classifier>
CollectionKind
,
CollectionLiteralExp.setKind(CollectionKind)
,
ExpressionsPackage.getCollectionLiteralExp_Kind()
public void setKind(CollectionKind newKind)
setKind
in interface CollectionLiteralExp<org.eclipse.uml2.uml.Classifier>
newKind
- the new value of the 'Kind' attribute.CollectionKind
,
CollectionLiteralExp.getKind()
public org.eclipse.emf.common.util.EList<CollectionLiteralPart<org.eclipse.uml2.uml.Classifier>> getPart()
getPart
in interface CollectionLiteralExp<org.eclipse.uml2.uml.Classifier>
ExpressionsPackage.getCollectionLiteralExp_Part()
public boolean isSimpleRange()
isSimpleRange
in interface CollectionLiteralExp<org.eclipse.uml2.uml.Classifier>
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.uml2.uml.Classifier>
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.uml2.uml.Classifier>
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.uml2.uml.Classifier>
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.uml2.uml.Classifier>
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.uml2.uml.Classifier>
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.uml2.uml.internal.impl.NamedElementImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class OCLExpressionImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class OCLExpressionImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class OCLExpressionImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class OCLExpressionImpl
public int eBaseStructuralFeatureID(int derivedFeatureID, java.lang.Class<?> baseClass)
eBaseStructuralFeatureID
in interface org.eclipse.emf.ecore.InternalEObject
eBaseStructuralFeatureID
in class OCLExpressionImpl
public int eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class<?> baseClass)
eDerivedStructuralFeatureID
in interface org.eclipse.emf.ecore.InternalEObject
eDerivedStructuralFeatureID
in class OCLExpressionImpl
public java.lang.String toString()
toString
in class OCLExpressionImpl
public <T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> T accept(U v)
accept
in interface Visitable
accept
in class OCLExpressionImpl