public class CGPropertyImpl extends CGValuedElementImpl implements CGProperty
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 |
basicSetBody(CGValuedElement newBody,
NotificationChain msgs) |
NotificationChain |
basicSetContainingClass(CGClass newContainingClass,
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) |
CGValuedElement |
getBody() |
CGClass |
getContainingClass() |
AbstractPlace |
getPlace(Map<CGElement,AbstractPlace> element2place)
Returns the place for this element, updating and reusing element2place as required.
|
boolean |
isBoxed()
Return true if this value is a boxed value.
|
boolean |
isContext()
Returns true if this node may have its own symbol name context.
|
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 |
isUnboxed()
Return true if this value is an unboxed value.
|
void |
setBody(CGValuedElement newBody) |
void |
setContainingClass(CGClass newContainingClass) |
getDependsOn, getEcoreClassifier, getInvalidValue, getNamedValue, getOwns, getReferredValue, getSourceValue, getThisValue, getTypedValue, getValueName, isAssertedNonNull, isCaught, isCommonable, isConstant, isEquivalentTo, isFalse, isGlobal, isInlined, isInvalid, isNonInvalid, isNonNull, isNull, 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, getInvalidValue, getNamedValue, getOwns, getReferredValue, getSourceValue, getThisValue, getTypedValue, getValueName, isAssertedNonNull, isCaught, isCommonable, isConstant, isEquivalentTo, isFalse, isGlobal, isInlined, isInvalid, isNonInvalid, isNonNull, isNull, isSettable, isTrue, isUncommonable, setCaught, setValueName
getASTypeId, getTypeId, isRequired, setRequired, setTypeId
getAst, getName, setAst, setName
getChildren, getParent, rewriteAs
public CGClass getContainingClass()
getContainingClass
in interface CGProperty
CGProperty.setContainingClass(CGClass)
,
CGModelPackage.getCGProperty_ContainingClass()
,
CGClass.getProperties()
public NotificationChain basicSetContainingClass(CGClass newContainingClass, NotificationChain msgs)
public void setContainingClass(CGClass newContainingClass)
setContainingClass
in interface CGProperty
newContainingClass
- the new value of the 'Containing Class' container reference.CGProperty.getContainingClass()
public CGValuedElement getBody()
getBody
in interface CGProperty
CGProperty.setBody(CGValuedElement)
,
CGModelPackage.getCGProperty_Body()
public NotificationChain basicSetBody(CGValuedElement newBody, NotificationChain msgs)
public void setBody(CGValuedElement newBody)
setBody
in interface CGProperty
newBody
- the new value of the 'Body' containment reference.CGProperty.getBody()
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 AbstractPlace getPlace(Map<CGElement,AbstractPlace> element2place)
getPlace
in interface CGElement
getPlace
in class CGValuedElementImpl
public boolean isBoxed()
isBoxed
in interface CGValuedElement
isBoxed
in class CGValuedElementImpl
public boolean isContext()
isContext
in interface CGElement
isContext
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 isUnboxed()
isUnboxed
in interface CGValuedElement
isUnboxed
in class CGValuedElementImpl
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.