public class CGParameterImpl extends CGVariableImpl implements CGParameter
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 |
basicSetCallable(CGCallable newCallable,
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) |
CGCallable |
getCallable() |
EClassifier |
getEcoreClassifier()
Return a non-null EClassifier if this value has a known EClassifier to define its instance class.
|
CGInvalid |
getInvalidValue()
Return a non-null invalid value if this value is invalid.
|
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 |
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 |
isGlobal()
Return true if this value is a global constant (independent of the user type system).
|
boolean |
isNonInvalid()
Return true if this value is false.
|
boolean |
isUnboxed()
Return true if this value is an unboxed value.
|
void |
setCallable(CGCallable newCallable) |
basicSetInit, getInit, getNamedValue, getReferredValue, getSourceValue, getTypedValue, isCommonable, isEquivalentTo, isEquivalentToInternal, isNonNull, isNull, setInit, setNonInvalid, setNonNull
getDependsOn, getOwns, getThisValue, getValueName, isAssertedNonNull, isCaught, isContext, isFalse, isInlined, 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
getInit, setInit, setNonInvalid, setNonNull
getDependsOn, getNamedValue, getOwns, getReferredValue, getSourceValue, getThisValue, getTypedValue, getValueName, isAssertedNonNull, isCaught, isCommonable, isEquivalentTo, isEquivalentToInternal, isFalse, isInlined, isInvalid, isNonNull, isNull, isSettable, isTrue, isUncommonable, setCaught, setValueName
getASTypeId, getTypeId, isRequired, setRequired, setTypeId
getAst, getName, setAst, setName
getChildren, getParent, isContext, rewriteAs
public CGCallable getCallable()
getCallable
in interface CGParameter
CGParameter.setCallable(CGCallable)
,
CGModelPackage.getCGParameter_Callable()
,
CGCallable.getParameters()
public NotificationChain basicSetCallable(CGCallable newCallable, NotificationChain msgs)
public void setCallable(CGCallable newCallable)
setCallable
in interface CGParameter
newCallable
- the new value of the 'Callable' container reference.CGParameter.getCallable()
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class CGVariableImpl
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class CGVariableImpl
public void eSet(int featureID, Object newValue)
eSet
in class CGVariableImpl
public void eUnset(int featureID)
eUnset
in class CGVariableImpl
public boolean eIsSet(int featureID)
eIsSet
in class CGVariableImpl
public <R> R accept(CGModelVisitor<R> visitor)
accept
in interface CGElement
accept
in class CGElementImpl
public EClassifier getEcoreClassifier()
getEcoreClassifier
in interface CGValuedElement
getEcoreClassifier
in class CGVariableImpl
public CGInvalid getInvalidValue()
getInvalidValue
in interface CGValuedElement
getInvalidValue
in class CGVariableImpl
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 CGVariableImpl
public boolean isConstant()
isConstant
in interface CGValuedElement
isConstant
in class CGValuedElementImpl
public boolean isEcore()
isEcore
in interface CGValuedElement
isEcore
in class CGVariableImpl
public boolean isGlobal()
isGlobal
in interface CGValuedElement
isGlobal
in class CGValuedElementImpl
public boolean isNonInvalid()
isNonInvalid
in interface CGValuedElement
isNonInvalid
in class CGVariableImpl
public boolean isUnboxed()
isUnboxed
in interface CGValuedElement
isUnboxed
in class CGVariableImpl
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.