Package io.opencaesar.oml
Interface QuotedLiteral
- All Superinterfaces:
Element
,org.eclipse.emf.ecore.EObject
,Literal
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
QuotedLiteralImpl
A representation of the model object 'Quoted Literal'.
QuotedLiteral is a [=literal=] that specifies its lexical value as a quoted string along with a language tag, a [=Scalar=] type, or neither.
The following features are supported:
- See Also:
- Generated:
- Model:
- annotation="https://tabatkins.github.io/bikeshed heading='Literals'"
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Lang Tag' attribute.getType()
Returns the value of the 'Type' reference.getValue()
Returns the value of the 'Value' attribute.void
setLangTag
(String value) Sets the value of the 'Lang Tag
' attribute.void
Sets the value of the 'Type
' reference.void
Sets the value of the 'Value
' 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 io.opencaesar.oml.Literal
getStringValue
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getValue
String getValue()Returns the value of the 'Value' attribute. The value of this literal represented as a string -
setValue
Sets the value of the 'Value
' attribute.- Parameters:
value
- the new value of the 'Value' attribute.- See Also:
- Generated:
-
getLangTag
String getLangTag()Returns the value of the 'Lang Tag' attribute. The langTag of this literal- Returns:
- the value of the 'Lang Tag' attribute.
- See Also:
- Generated:
- Model:
- unique="false"
-
setLangTag
Sets the value of the 'Lang Tag
' attribute.- Parameters:
value
- the new value of the 'Lang Tag' attribute.- See Also:
- Generated:
-
getType
Scalar getType()Returns the value of the 'Type' reference. The scalar that is the type of this literal- Returns:
- the value of the 'Type' reference.
- See Also:
- Generated:
- Model:
-
setType
Sets the value of the 'Type
' reference.- Parameters:
value
- the new value of the 'Type' reference.- See Also:
- Generated:
-
getLexicalValue
String getLexicalValue()- Specified by:
getLexicalValue
in interfaceLiteral
- Generated:
- Model:
- kind="operation" unique="false"
-
getTypeIri
String getTypeIri()- Specified by:
getTypeIri
in interfaceLiteral
- Generated:
- Model:
- kind="operation" unique="false"
-