Package io.opencaesar.oml
Interface Literal
- All Superinterfaces:
Element
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
BooleanLiteral
,DecimalLiteral
,DoubleLiteral
,IntegerLiteral
,QuotedLiteral
- All Known Implementing Classes:
BooleanLiteralImpl
,DecimalLiteralImpl
,DoubleLiteralImpl
,IntegerLiteralImpl
,LiteralImpl
,QuotedLiteralImpl
A representation of the model object 'Literal'.
Literal is an element that represents a literal value classified by a [=scalar=].
- See Also:
- Generated:
- Model:
- abstract="true" annotation="https://tabatkins.github.io/bikeshed heading='Literals'"
-
Method Summary
Modifier and TypeMethodDescriptionGets the lexical value of the given literalGets the string value of the given literalGets the iri of the given literal's typegetValue()
Gets the value of the given literalMethods 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
-
getValue
Object getValue()Gets the value of the given literal- Generated:
- Model:
- kind="operation" unique="false"
-
getStringValue
String getStringValue()Gets the string value of the given literal- Generated:
- Model:
- kind="operation" unique="false"
-
getLexicalValue
String getLexicalValue()Gets the lexical value of the given literal- Generated:
- Model:
- kind="operation" unique="false"
-
getTypeIri
String getTypeIri()Gets the iri of the given literal's type- Generated:
- Model:
- kind="operation" unique="false"
-