org.eclipse.gmf.mappings
Interface ValueExpression

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
Constraint
All Known Implementing Classes:
ConstraintImpl, ValueExpressionImpl

public interface ValueExpression
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Value Expression'. Expression as a textual statement which results in a value when evaluated in a context

The following features are supported:

See Also:
GMFMapPackage.getValueExpression()
Generated
Model Properties:
annotation="http://www.eclipse.org/gmf/2005/constraints/meta def='ValueSpec'"

Method Summary
 String getBody()
          Returns the value of the 'Body' attribute.
 String getLangName()
          Returns the value of the 'Lang Name' attribute.
 Language getLanguage()
          Returns the value of the 'Language' attribute.
 void setBody(String value)
          Sets the value of the 'Body' attribute.
 void setLanguage(Language value)
          Sets the value of the 'Language' attribute.
 
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

getBody

String getBody()
Returns the value of the 'Body' attribute. The text of the expression

Returns:
the value of the 'Body' attribute.
See Also:
setBody(String), GMFMapPackage.getValueExpression_Body()
Generated
Model Properties:
required="true" annotation="http://www.eclipse.org/gmf/2005/constraints/meta def='body'"

setBody

void setBody(String value)
Sets the value of the 'Body' attribute.

Parameters:
value - the new value of the 'Body' attribute.
See Also:
getBody()
Generated

getLanguage

Language getLanguage()
Returns the value of the 'Language' attribute. The default value is "ocl". The literals are from the enumeration Language. Specifies the language in which the expression is stated

Returns:
the value of the 'Language' attribute.
See Also:
Language, setLanguage(Language), GMFMapPackage.getValueExpression_Language()
Generated
Model Properties:
default="ocl" required="true"

setLanguage

void setLanguage(Language value)
Sets the value of the 'Language' attribute.

Parameters:
value - the new value of the 'Language' attribute.
See Also:
Language, getLanguage()
Generated

getLangName

String getLangName()
Returns the value of the 'Lang Name' attribute.

If the meaning of the 'Lang Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Lang Name' attribute.
See Also:
GMFMapPackage.getValueExpression_LangName()
Generated
Model Properties:
transient="true" changeable="false" volatile="true" derived="true" annotation="http://www.eclipse.org/gmf/2005/constraints/meta def='lang'"


Copyright © 2012. All Rights Reserved.