uk.ac.ucl.cs.uml.jmi.BehavioralElements.Actions.ComputationActions
Interface ApplyFunctionAction
- All Superinterfaces:
- Action, Element, ExtObject, ModelElement, PrimitiveAction, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject
- All Known Implementing Classes:
- ApplyFunctionAction_Impl
public interface ApplyFunctionAction
- extends PrimitiveAction
This action computes a primitive predefined mathematical
function that depends only on the input values, with no access
to object memory or to any objects. The execution and results of
this action depend only on the function and the input values.
There are absolutely no side effects of this action and it
therefore cannot conflict with anything. All it does is produce
result values using a mathematical function.
New primitive functions may be defined (outside of UML) as
mathematical functions of input values to output values. All
usual primitive operations should be considered as primitive
functions (e.g., addition, nand, square root, finding a
substring, Bessel function, etc.).
A list of defined primitive functions may be supplied as part of
a modeling profile. UML does not provide a mechanism to define
primitive functions, as their definition is outside its scope.
It is expected that users will agree on environments containing
such definitions.
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.BehavioralElements.Actions.ActionFoundation.Action |
getAntecedent, getAvailableInput, getAvailableOutput, getConsequent, getGroup, getInputPin, getIsReadOnly, getJumpHandler, getOutputPin, setGroup, setIsReadOnly |
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.Foundation.Core.ModelElement |
getAsArgument, getBehavior, getClientDependency, getComment, getConstraint, getContainer, getDefaultElement, getIsSpecification, getName, getNamespace, getPackage, getPresentation, getReferenceTag, getSourceFlow, getStereotype, getSupplierDependency, getTaggedValue, getTargetFlow, getTemplate, getTemplateArgument, getTemplateParameter, getVisibility, setDefaultElement, setIsSpecification, setName, setNamespace, setTemplate, setVisibility |
Methods inherited from interface javax.jmi.reflect.RefObject |
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite |
Methods inherited from interface javax.jmi.reflect.RefFeatured |
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue |
Methods inherited from interface javax.jmi.reflect.RefBaseObject |
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints |
getFunction
PrimitiveFunction getFunction()
throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
setFunction
void setFunction(PrimitiveFunction function)
throws javax.jmi.reflect.JmiException
- Setter for atomic property function)
- Throws:
javax.jmi.reflect.JmiException
getArgument
List getArgument()
throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
getResult
List getResult()
throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException