public class CollectionLiteralExpImpl extends LiteralExpImpl implements CollectionLiteralExp
The following features are implemented:
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(Visitor<R> visitor)
Accept a visit from a visitor and return the result of a call to the derived type-specific visitXXX in the visitor.
|
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
Object |
eInvoke(int operationID,
<any> arguments) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
void |
eUnset(int featureID) |
CollectionKind |
getKind() |
List<CollectionLiteralPart> |
getOwnedParts() |
void |
setKind(CollectionKind newKind) |
String |
toString() |
boolean |
validateBagKindIsBag(DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateCollectionKindIsConcrete(DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateOrderedSetKindIsOrderedSet(DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateSequenceKindIsSequence(DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateSetKindIsSet(DiagnosticChain diagnostics,
Map<Object,Object> context) |
getTypeValue, isNonNull, isNull, setTypeValue, validateTypeIsNotNull
basicGetType, CompatibleBody, getType, getTypeId, isIsMany, isIsRequired, setIsRequired, setType
getName, setName
allOwnedElements, eInverseAdd, getAnnotatingComments, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
getESObject, getETarget, getImage, getTarget, getText, setESObject, setTarget, unloaded
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getTypeValue, isNonNull, isNull, setTypeValue, validateTypeIsNotNull
CompatibleBody, getType, getTypeId, isIsMany, isIsRequired, setIsRequired, setType
getName, setName
allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
public CollectionKind getKind()
getKind
in interface CollectionLiteralExp
CollectionKind
,
CollectionLiteralExp.setKind(CollectionKind)
,
PivotPackage.getCollectionLiteralExp_Kind()
public void setKind(CollectionKind newKind)
setKind
in interface CollectionLiteralExp
newKind
- the new value of the 'Kind' attribute.CollectionKind
,
CollectionLiteralExp.getKind()
public List<CollectionLiteralPart> getOwnedParts()
getOwnedParts
in interface CollectionLiteralExp
PivotPackage.getCollectionLiteralExp_OwnedParts()
public boolean validateCollectionKindIsConcrete(DiagnosticChain diagnostics, Map<Object,Object> context)
validateCollectionKindIsConcrete
in interface CollectionLiteralExp
public boolean validateSetKindIsSet(DiagnosticChain diagnostics, Map<Object,Object> context)
validateSetKindIsSet
in interface CollectionLiteralExp
public boolean validateOrderedSetKindIsOrderedSet(DiagnosticChain diagnostics, Map<Object,Object> context)
validateOrderedSetKindIsOrderedSet
in interface CollectionLiteralExp
public boolean validateSequenceKindIsSequence(DiagnosticChain diagnostics, Map<Object,Object> context)
validateSequenceKindIsSequence
in interface CollectionLiteralExp
public boolean validateBagKindIsBag(DiagnosticChain diagnostics, Map<Object,Object> context)
validateBagKindIsBag
in interface CollectionLiteralExp
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class ElementImpl
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class OCLExpressionImpl
public void eSet(int featureID, Object newValue)
eSet
in class OCLExpressionImpl
public void eUnset(int featureID)
eUnset
in class OCLExpressionImpl
public boolean eIsSet(int featureID)
eIsSet
in class OCLExpressionImpl
public Object eInvoke(int operationID, <any> arguments) throws InvocationTargetException
eInvoke
in class OCLExpressionImpl
InvocationTargetException
public String toString()
toString
in class TypedElementImpl
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.