Interface QuotedLiteral

All Superinterfaces:
Element, org.eclipse.emf.ecore.EObject, Literal, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
QuotedLiteralImpl

public interface QuotedLiteral extends Literal
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 Type
    Method
    Description
    Returns the value of the 'Lang Tag' attribute.
    Returns the value of the 'Type' reference.
    Returns the value of the 'Value' attribute.
    void
    Sets the value of the 'Lang Tag' attribute.
    void
    setType(Scalar value)
    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
      Specified by:
      getValue in interface Literal
      Returns:
      the value of the 'Value' attribute.
      See Also:
      Generated:
      Model:
      unique="false" required="true"
    • setValue

      void setValue(String value)
      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

      void setLangTag(String value)
      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

      void setType(Scalar value)
      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 interface Literal
      Generated:
      Model:
      kind="operation" unique="false"
    • getTypeIri

      String getTypeIri()
      Specified by:
      getTypeIri in interface Literal
      Generated:
      Model:
      kind="operation" unique="false"