Package org.eclipse.m2m.atl.emftvm
Interface Field
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,Feature,NamedElement,org.eclipse.emf.common.notify.Notifier,TypedElement
- All Known Implementing Classes:
FieldImpl
A representation of the model object 'Field'.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddValue(Object context, Object value, int index, StackFrame frame) Adds a value to thisFieldfor the givencontextobject.voidclear()Clears all values of thisField.Returns the value of the 'Initialiser' containment reference.getRule()Returns the value of the 'Rule' container reference.Returns the value of the 'Static Value' attribute.getStaticValue(StackFrame frame) Returns the static value of thisField.Returns the value of thisFieldfor the givencontextobject.getValue(Object context, StackFrame frame) Returns the value of thisFieldfor the givencontextobject.voidremoveValue(Object context, Object value, StackFrame frame) Removes a value from thisFieldfor the givencontextobject.voidsetInitialiser(CodeBlock value) Sets the value of the 'Initialiser' containment reference.voidSets the value of the 'Rule' container reference.voidsetStaticValue(Object value) Sets the value of the 'Static Value' attribute.voidSets the value of thisFieldfor the givencontextobject.Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.m2m.atl.emftvm.Feature
getContext, getContextModel, getEContext, getModule, isStatic, setContext, setContextModel, setEContext, setModule, setStaticMethods inherited from interface org.eclipse.m2m.atl.emftvm.NamedElement
getName, setNameMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods inherited from interface org.eclipse.m2m.atl.emftvm.TypedElement
getEType, getType, getTypeModel, setEType, setType, setTypeModel
-
Method Details
-
getStaticValue
Object getStaticValue()Returns the value of the 'Static Value' attribute.If the meaning of the 'Static Value' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Static Value' attribute.
- See Also:
-
setStaticValue
Sets the value of the 'Static Value' attribute.- Parameters:
value- the new value of the 'Static Value' attribute.- See Also:
-
getInitialiser
CodeBlock getInitialiser()Returns the value of the 'Initialiser' containment reference. It is bidirectional and its opposite is 'Initialiser For'.If the meaning of the 'Initialiser' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Initialiser' containment reference.
- See Also:
-
setInitialiser
Sets the value of the 'Initialiser' containment reference.- Parameters:
value- the new value of the 'Initialiser' containment reference.- See Also:
-
getRule
Rule getRule()Returns the value of the 'Rule' container reference. It is bidirectional and its opposite is 'Fields'.If the meaning of the 'Rule' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Rule' container reference.
- See Also:
-
setRule
Sets the value of the 'Rule' container reference.- Parameters:
value- the new value of the 'Rule' container reference.- See Also:
-
getValue
Returns the value of thisFieldfor the givencontextobject.- Parameters:
context- the context object- Returns:
- the value of this
Fieldfor the givencontextobject.
-
setValue
Sets the value of thisFieldfor the givencontextobject.- Parameters:
context- the context objectvalue- the field value to set
-
getValue
Returns the value of thisFieldfor the givencontextobject. Evaluates the initial value usingframeif necessary.- Parameters:
context- the context objectframe- theStackFramein which to execute the initial value evaluator- Returns:
- the value of this
Fieldfor the givencontextobject.
-
getStaticValue
Returns the static value of thisField. Evaluates the initial value usingframeif necessary.- Parameters:
frame- theStackFramein which to execute the initial value evaluator- Returns:
- the static value of this
Field.
-
clear
void clear()Clears all values of thisField. -
addValue
Adds a value to thisFieldfor the givencontextobject.- Parameters:
context- the context objectvalue- the field value to addindex- the index to add the value at, or-1frame- theStackFramein which to execute the initial value evaluator
-
removeValue
Removes a value from thisFieldfor the givencontextobject.- Parameters:
context- the context objectvalue- the field value to removeframe- theStackFramein which to execute the initial value evaluator
-