org.eclipse.ocl.examples.codegen.cgmodel
Interface CGGuardExp

All Superinterfaces:
CGCallExp, CGElement, CGNamedElement, CGTypedElement, CGValuedElement, org.eclipse.emf.ecore.EObject, Nameable, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
CGGuardExpImpl

public interface CGGuardExp
extends CGCallExp

A representation of the model object 'CG Guard Exp'. A CGGuardExp checks that its source is non-null and throws an invalid value exception if null.

The following features are supported:

See Also:
CGModelPackage.getCGGuardExp()
Generated

Method Summary
 java.lang.String getMessage()
          Returns the value of the 'Message' attribute.
 void setMessage(java.lang.String value)
          Sets the value of the 'Message' attribute.
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGCallExp
getSource, isInvalidating, isValidating, setInvalidating, setSource, setValidating
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGValuedElement
getDependsOn, getInvalidValue, getNamedValue, getOwns, getReferredValue, getSourceValue, getThisValue, getTypedValue, getValueName, isAssertedNonNull, isBoxed, isCaught, isCommonable, isConstant, isEquivalentTo, isEquivalentToInternal, isFalse, isGlobal, isInlined, isInvalid, isNonInvalid, isNonNull, isNull, isSettable, isTrue, isUnboxed, isUncommonable, setCaught, setValueName
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGTypedElement
getASTypeId, getTypeId, isRequired, setRequired, setTypeId
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGNamedElement
getAst, getName, setAst, setName
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGElement
accept, getChildren, getParent, getPlace, isContext, rewriteAs
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getMessage

java.lang.String getMessage()
Returns the value of the 'Message' attribute. A message to explain the guard failures.

Returns:
the value of the 'Message' attribute.
See Also:
setMessage(String), CGModelPackage.getCGGuardExp_Message()
Generated

setMessage

void setMessage(java.lang.String value)
Sets the value of the 'Message' attribute.

Parameters:
value - the new value of the 'Message' attribute.
See Also:
getMessage()
Generated