org.eclipse.uml2
Interface PrimitiveFunction
- All Superinterfaces:
- Element, EModelElement, EObject, NamedElement, Notifier, PackageableElement, ParameterableElement, TemplateableElement
- public interface PrimitiveFunction
- extends PackageableElement
A representation of the model object 'Primitive Function'.
PrimitiveFunction is not an action. It is the signature of a function that produces output values from input values for use with ApplyFunctionAction. The behavior is described using the body and language attributes. The specification of the detailed behavior is expressed in an external language and is not further specified within UML.
The following features are supported:
- See Also:
UML2Package.getPrimitiveFunction()
Methods inherited from interface org.eclipse.uml2.NamedElement |
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, getNamespace, getOwnedElements, getOwner, getQualifiedName, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership |
Methods inherited from interface org.eclipse.uml2.Element |
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
copyright
public static final String copyright
-
- See Also:
- Constant Field Values
getBody
public String getBody()
- Returns the value of the 'Body' attribute.
The default value is
""
.
If the meaning of the 'Body' attribute isn't clear,
there really should be more of a description here...
A textual representation of the function in the named surface language.
- Returns:
- the value of the 'Body' attribute.
- See Also:
setBody(String)
,
UML2Package.getPrimitiveFunction_Body()
setBody
public void setBody(String value)
- Sets the value of the '
Body
' attribute.
- Parameters:
value
- the new value of the 'Body' attribute.- See Also:
getBody()
getLanguage
public String getLanguage()
- Returns the value of the 'Language' attribute.
The default value is
""
.
If the meaning of the 'Language' attribute isn't clear,
there really should be more of a description here...
Specifies the language in which the body of the primitive function is stated. The interpretation of the body depends on the language. If the language is unspecified, it might be implicit from the body or the context.
- Returns:
- the value of the 'Language' attribute.
- See Also:
setLanguage(String)
,
UML2Package.getPrimitiveFunction_Language()
setLanguage
public void setLanguage(String value)
- Sets the value of the '
Language
' attribute.
- Parameters:
value
- the new value of the 'Language' attribute.- See Also:
getLanguage()