Package io.opencaesar.oml
Interface Argument
- All Superinterfaces:
Element
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
ArgumentImpl
A representation of the model object 'Argument'.
Argument is an element that represents a variable name, a [=Literal=], or an [=NamedInstance=] specified in a [=predicate=].
The following features are supported:
- See Also:
- Generated:
- Model:
- annotation="https://tabatkins.github.io/bikeshed heading='Predicates'"
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Instance' reference.Returns the value of the 'Literal' containment reference.getValue()
Gets the value of the annotationReturns the value of the 'Variable' attribute.void
setInstance
(NamedInstance value) Sets the value of the 'Instance
' reference.void
setLiteral
(Literal value) Sets the value of the 'Literal
' containment reference.void
setVariable
(String value) Sets the value of the 'Variable
' attribute.Methods inherited from interface io.opencaesar.oml.Element
extraValidate, getOntology
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 Details
-
getVariable
String getVariable()Returns the value of the 'Variable' attribute. An optional variable specified by this argument- Returns:
- the value of the 'Variable' attribute.
- See Also:
- Generated:
- Model:
- unique="false" dataType="io.opencaesar.oml.ID"
-
setVariable
Sets the value of the 'Variable
' attribute.- Parameters:
value
- the new value of the 'Variable' attribute.- See Also:
- Generated:
-
getLiteral
Literal getLiteral()Returns the value of the 'Literal' containment reference. An optional literal specified by this argument- Returns:
- the value of the 'Literal' containment reference.
- See Also:
- Generated:
- Model:
- containment="true"
-
setLiteral
Sets the value of the 'Literal
' containment reference.- Parameters:
value
- the new value of the 'Literal' containment reference.- See Also:
- Generated:
-
getInstance
NamedInstance getInstance()Returns the value of the 'Instance' reference. An optional instance specified by this argument- Returns:
- the value of the 'Instance' reference.
- See Also:
- Generated:
- Model:
-
setInstance
Sets the value of the 'Instance
' reference.- Parameters:
value
- the new value of the 'Instance' reference.- See Also:
- Generated:
-
getValue
Object getValue()Gets the value of the annotation- Generated:
- Model:
- kind="operation" unique="false"
-