public class CGGuardExpImpl extends CGCallExpImpl implements CGGuardExp
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 java.lang.String |
message
The cached value of the '
Message ' attribute. |
protected static java.lang.String |
MESSAGE_EDEFAULT
The default value of the '
Message ' attribute. |
protected boolean |
safe
The cached value of the '
Safe ' attribute. |
protected static boolean |
SAFE_EDEFAULT
The default value of the '
Safe ' attribute. |
invalidating, INVALIDATING_EDEFAULT, source, validating, VALIDATING_EDEFAULT
caught, dependsOn, owns, valueName
required, REQUIRED_EDEFAULT, typeId
ast, AST_EDEFAULT, name, NAME_EDEFAULT
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Modifier | Constructor and Description |
---|---|
protected |
CGGuardExpImpl() |
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.
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
org.eclipse.emf.ecore.EClassifier |
getEcoreClassifier()
Return a non-null EClassifier if this value has a known EClassifier to define its instance class.
|
java.lang.String |
getMessage() |
CGValuedElement |
getNamedValue()
Return the CGValuedElement that provides the name of a declaration from which the value of this CGValuedElement may be obtained.
|
CGValuedElement |
getReferredValue()
Return the CGValuedElement to which the value of this CGValuedElement delegates.
|
CGValuedElement |
getSourceValue()
Return the CGValuedElement which is the source of the information value of this element.
|
CGValuedElement |
getTypedValue()
Return the CGValuedElement that provides the narrowest type declaration from which the type of this CGValuedElement may be obtained.
|
java.lang.String |
getValueName()
Return the declared name value of this element.
|
boolean |
isBoxed()
Return true if this value is a boxed value.
|
boolean |
isEcore()
Return true if this value is an Ecore value.
|
boolean |
isNonNull()
Return true if this value is not null.
|
boolean |
isNull()
Return true if this value is null.
|
boolean |
isSafe() |
boolean |
isUnboxed()
Return true if this value is an unboxed value.
|
void |
setMessage(java.lang.String newMessage) |
void |
setSafe(boolean newSafe) |
java.lang.String |
toString() |
basicSetSource, eInverseRemove, getSource, isEquivalentToInternal, isGlobal, isInvalidating, isValidating, setInvalidating, setSource, setValidating
getDependsOn, getInvalidValue, getOwns, getPlace, getThisValue, isAssertedNonNull, isCaught, isCommonable, isConstant, isContext, isEquivalentTo, isFalse, isInlined, isInvalid, isNonInvalid, isSettable, isTrue, isUncommonable, rewriteAs, setCaught, setValueName
getASTypeId, getTypeId, isRequired, setRequired, setTypeId
getAst, getName, setAst, setName
eBasicSetContainer, eBasicSetContainer, getChildren, getParent
eBasicSetContainer, eInternalContainer
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, 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, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getSource, isInvalidating, isValidating, setInvalidating, setSource, setValidating
getDependsOn, getInvalidValue, getOwns, getThisValue, isAssertedNonNull, isCaught, isCommonable, isConstant, isEquivalentTo, isEquivalentToInternal, isFalse, isGlobal, isInlined, isInvalid, isNonInvalid, isSettable, isTrue, isUncommonable, setCaught, setValueName
getASTypeId, getTypeId, isRequired, setRequired, setTypeId
getAst, getName, setAst, setName
getChildren, getParent, getPlace, isContext, rewriteAs
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected static final java.lang.String MESSAGE_EDEFAULT
Message
' attribute.
getMessage()
protected java.lang.String message
Message
' attribute.
getMessage()
protected static final boolean SAFE_EDEFAULT
Safe
' attribute.
isSafe()
,
Constant Field Valuesprotected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class CGCallExpImpl
public java.lang.String getMessage()
getMessage
in interface CGGuardExp
CGGuardExp.setMessage(String)
,
CGModelPackage.getCGGuardExp_Message()
public void setMessage(java.lang.String newMessage)
setMessage
in interface CGGuardExp
newMessage
- the new value of the 'Message' attribute.CGGuardExp.getMessage()
public boolean isSafe()
isSafe
in interface CGGuardExp
CGGuardExp.setSafe(boolean)
,
CGModelPackage.getCGGuardExp_Safe()
public void setSafe(boolean newSafe)
setSafe
in interface CGGuardExp
newSafe
- the new value of the 'Safe' attribute.CGGuardExp.isSafe()
public java.lang.String toString()
toString
in class CGCallExpImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class CGCallExpImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class CGCallExpImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class CGCallExpImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class CGCallExpImpl
public <R> R accept(@NonNull CGModelVisitor<R> visitor)
accept
in interface CGElement
accept
in class CGElementImpl
@Nullable public org.eclipse.emf.ecore.EClassifier getEcoreClassifier()
getEcoreClassifier
in interface CGValuedElement
getEcoreClassifier
in class CGValuedElementImpl
@NonNull public CGValuedElement getSourceValue()
getSourceValue
in interface CGValuedElement
getSourceValue
in class CGValuedElementImpl
@NonNull public CGValuedElement getTypedValue()
getTypedValue
in interface CGValuedElement
getTypedValue
in class CGValuedElementImpl
@NonNull public CGValuedElement getNamedValue()
getNamedValue
in interface CGValuedElement
getNamedValue
in class CGValuedElementImpl
@NonNull public CGValuedElement getReferredValue()
getReferredValue
in interface CGValuedElement
getReferredValue
in class CGValuedElementImpl
@Nullable public java.lang.String getValueName()
getValueName
in interface CGValuedElement
getValueName
in class CGValuedElementImpl
public boolean isBoxed()
isBoxed
in interface CGValuedElement
isBoxed
in class CGValuedElementImpl
public boolean isEcore()
isEcore
in interface CGValuedElement
isEcore
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 isUnboxed()
isUnboxed
in interface CGValuedElement
isUnboxed
in class CGValuedElementImpl