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

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

public interface CGInvalid
extends CGConstant

A representation of the model object 'CG Invalid'. CGInvalid represents an invalid value with an optional message.

The following features are supported:

See Also:
CGModelPackage.getCGInvalid()
Generated
Model

Field Summary
 
Fields inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGElement
EMPTY_LIST
 
Method Summary
 java.util.List<java.lang.Object> getBindings()
          Returns the value of the 'Bindings' attribute list.
 java.lang.String getMessageTemplate()
          Returns the value of the 'Message Template' attribute.
 void setMessageTemplate(java.lang.String value)
          Sets the value of the 'Message Template' attribute.
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGConstant
getConstantValue
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGValuedElement
getDependsOn, getReferredValuedElement, getValue, getValueName, isBoxed, isCaught, isConstant, isFalse, isGlobal, isInlineable, isInvalid, isNonInvalid, isNonNull, isNull, isSettable, isTrue, isUnboxed, setCaught, setNonInvalid, setNonNull, setValueName
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGTypedElement
getPivotTypeId, getTypeId, isRequired, setRequired, setTypeId
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGNamedElement
getName, getPivot, setName, setPivot
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGElement
accept, getChildren, getParent
 
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

getMessageTemplate

java.lang.String getMessageTemplate()
Returns the value of the 'Message Template' attribute. optional message template explaining the invalidity

Returns:
the value of the 'Message Template' attribute.
See Also:
setMessageTemplate(String), CGModelPackage.getCGInvalid_MessageTemplate()
Generated
Model

setMessageTemplate

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

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

getBindings

java.util.List<java.lang.Object> getBindings()
Returns the value of the 'Bindings' attribute list. The list contents are of type Object. bindings for use by the messageTemplate

Returns:
the value of the 'Bindings' attribute list.
See Also:
CGModelPackage.getCGInvalid_Bindings()
Generated
Model
dataType="org.eclipse.ocl.examples.codegen.cgmodel.Object"