Package io.opencaesar.oml
Interface BooleanLiteral
- All Superinterfaces:
Element
,org.eclipse.emf.ecore.EObject
,Literal
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
BooleanLiteralImpl
A representation of the model object 'Boolean Literal'.
BooleanLiteral is a [=literal=] that represents the boolean values `true` and `false`.
The following features are supported:
- See Also:
- Generated:
- Model:
- annotation="https://tabatkins.github.io/bikeshed heading='Literals'"
-
Method Summary
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 io.opencaesar.oml.Literal
getLexicalValue, getStringValue
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getValue
Boolean getValue()Returns the value of the 'Value' attribute. The default value is"false"
. The boolean value of this literal -
setValue
Sets the value of the 'Value
' attribute.- Parameters:
value
- the new value of the 'Value' attribute.- See Also:
- Generated:
-
isValue
boolean isValue()- Generated:
- Model:
- kind="operation" unique="false"
-
getTypeIri
String getTypeIri()- Specified by:
getTypeIri
in interfaceLiteral
- Generated:
- Model:
- kind="operation" unique="false"
-