public class CGCollectionPartImpl extends CGValuedElementImpl implements CGCollectionPart
The following features are implemented:
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(CGModelVisitor<R> visitor)
Accept a visit from a visitor and return the result of a call to the derived type-specific visitXXX in the visitor.
|
NotificationChain |
basicSetFirst(CGValuedElement newFirst,
NotificationChain msgs) |
NotificationChain |
basicSetLast(CGValuedElement newLast,
NotificationChain msgs) |
NotificationChain |
eBasicRemoveFromContainerFeature(NotificationChain msgs) |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
void |
eUnset(int featureID) |
CGCollectionExp |
getCollectionExp() |
CGValuedElement |
getFirst() |
CGInvalid |
getInvalidValue()
Return a non-null invalid value if this value is invalid.
|
CGValuedElement |
getLast() |
CGValuedElement |
getThisValue()
Return a simpler CGValuedElement that is fully equivalent to this element.
|
boolean |
isBoxed()
Return true if this value is a boxed value.
|
boolean |
isCommonable()
Return true if this value can be shared as part of a Common Subexpression.
|
boolean |
isConstant()
Return true if this value is a local constant (dependent of the user type system).
|
boolean |
isEcore()
Return true if this value is an Ecore value.
|
Boolean |
isEquivalentToInternal(CGValuedElement thatValue)
Provided that thatValue does not delegate its equivalence computation, return true/false if this value can be determined to have deep value equivalence/inequivalence to thatValue, null if no determination can be made.
|
boolean |
isGlobal()
Return true if this value is a global constant (independent of the user type system).
|
boolean |
isInlined()
Return true if this value is inlined and so has no local or global declaration.
|
boolean |
isNonInvalid()
Return true if this value is false.
|
boolean |
isNonNull()
Return true if this value is not null.
|
boolean |
isNull()
Return true if this value is null.
|
boolean |
isRange()
Return true if this is a collection range.
|
boolean |
isUnboxed()
Return true if this value is an unboxed value.
|
void |
setFirst(CGValuedElement newFirst) |
void |
setLast(CGValuedElement newLast) |
getDependsOn, getEcoreClassifier, getNamedValue, getOwns, getPlace, getReferredValue, getSourceValue, getTypedValue, getValueName, isAssertedNonNull, isCaught, isContext, isEquivalentTo, isFalse, isInvalid, isSettable, isTrue, isUncommonable, rewriteAs, setCaught, setValueName
getASTypeId, getTypeId, isRequired, setRequired, setTypeId, toString
getAst, getName, setAst, setName
eBasicSetContainer, getChildren, getParent
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDependsOn, getEcoreClassifier, getNamedValue, getOwns, getReferredValue, getSourceValue, getTypedValue, getValueName, isAssertedNonNull, isCaught, isEquivalentTo, isFalse, isInvalid, isSettable, isTrue, isUncommonable, setCaught, setValueName
getASTypeId, getTypeId, isRequired, setRequired, setTypeId
getAst, getName, setAst, setName
public CGValuedElement getFirst()
getFirst
in interface CGCollectionPart
CGCollectionPart.setFirst(CGValuedElement)
,
CGModelPackage.getCGCollectionPart_First()
public NotificationChain basicSetFirst(CGValuedElement newFirst, NotificationChain msgs)
public void setFirst(CGValuedElement newFirst)
setFirst
in interface CGCollectionPart
newFirst
- the new value of the 'First' containment reference.CGCollectionPart.getFirst()
public CGValuedElement getLast()
getLast
in interface CGCollectionPart
CGCollectionPart.setLast(CGValuedElement)
,
CGModelPackage.getCGCollectionPart_Last()
public NotificationChain basicSetLast(CGValuedElement newLast, NotificationChain msgs)
public void setLast(CGValuedElement newLast)
setLast
in interface CGCollectionPart
newLast
- the new value of the 'Last' containment reference.CGCollectionPart.getLast()
public CGCollectionExp getCollectionExp()
getCollectionExp
in interface CGCollectionPart
CGModelPackage.getCGCollectionPart_CollectionExp()
,
CGCollectionExp.getParts()
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class CGValuedElementImpl
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class CGValuedElementImpl
public void eSet(int featureID, Object newValue)
eSet
in class CGValuedElementImpl
public void eUnset(int featureID)
eUnset
in class CGValuedElementImpl
public boolean eIsSet(int featureID)
eIsSet
in class CGValuedElementImpl
public <R> R accept(CGModelVisitor<R> visitor)
accept
in interface CGElement
accept
in class CGElementImpl
public CGInvalid getInvalidValue()
getInvalidValue
in interface CGValuedElement
getInvalidValue
in class CGValuedElementImpl
public CGValuedElement getThisValue()
getThisValue
in interface CGValuedElement
getThisValue
in class CGValuedElementImpl
public boolean isBoxed()
isBoxed
in interface CGValuedElement
isBoxed
in class CGValuedElementImpl
public boolean isCommonable()
isCommonable
in interface CGValuedElement
isCommonable
in class CGValuedElementImpl
public boolean isConstant()
isConstant
in interface CGValuedElement
isConstant
in class CGValuedElementImpl
public boolean isEcore()
isEcore
in interface CGValuedElement
isEcore
in class CGValuedElementImpl
public Boolean isEquivalentToInternal(CGValuedElement thatValue)
isEquivalentToInternal
in interface CGValuedElement
public boolean isGlobal()
isGlobal
in interface CGValuedElement
isGlobal
in class CGValuedElementImpl
public boolean isInlined()
isInlined
in interface CGValuedElement
isInlined
in class CGValuedElementImpl
public boolean isNonInvalid()
isNonInvalid
in interface CGValuedElement
isNonInvalid
in class CGValuedElementImpl
public boolean isNonNull()
isNonNull
in interface CGValuedElement
isNonNull
in class CGValuedElementImpl
public boolean isNull()
isNull
in interface CGValuedElement
isNull
in class CGValuedElementImpl
public boolean isRange()
isRange
in interface CGCollectionPart
public boolean isUnboxed()
isUnboxed
in interface CGValuedElement
isUnboxed
in class CGValuedElementImpl
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.