Package io.opencaesar.oml
Interface Scalar
- All Superinterfaces:
Element
,org.eclipse.emf.ecore.EObject
,IdentifiedElement
,Member
,org.eclipse.emf.common.notify.Notifier
,SpecializableTerm
,Statement
,Term
,Type
,VocabularyMember
,VocabularyStatement
- All Known Implementing Classes:
ScalarImpl
A representation of the model object 'Scalar'.
Scalar is a primitive [=type=] that represents a set of [=literals=]. Some scalars are considered standard (see below).
A standard scalar can have specialization axioms to other standard scalars.
Non-standard scalars cannot have specialization axioms, but can have scalar equivalence axioms.
The standard scalars are:
Numeric scalars:
owl:real
owl:rational
xsd:decimal
xsd:integer
xsd:nonNegativeInteger
xsd:nonPositiveInteger
xsd:positiveInteger
xsd:negativeInteger
xsd:long
xsd:int
xsd:short
xsd:byte
xsd:unsignedLong
xsd:unsignedInt
xsd:unsignedShort
xsd:unsignedByte
xsd:double
xsd:float
Time scalars:
xsd:dateTime
xsd:dateTimeStamp
Plain scalars:
rdf:PlainLiteral
String scalars:
xsd:string,
xsd:normalizedString,
xsd:token,
xsd:language,
xsd:Name,
xsd:NCName,
xsd:NMTOKEN
xsd:anyURI
Boolean scalars:
xsd:boolean
Binary scalars}:
xsd:hexBinary
xsd:base64Binary
XML scalars:
rdf:XMLLiteral
The following features are supported:
- See Also:
- Generated:
- Model:
- annotation="https://tabatkins.github.io/bikeshed heading='Types'"
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Owned Enumeration' containment reference.org.eclipse.emf.common.util.EList<ScalarEquivalenceAxiom>
Returns the value of the 'Owned Equivalences' containment reference list.getRef()
Returns the value of the 'Ref' reference.void
Sets the value of the 'Owned Enumeration
' containment reference.void
Sets the value of the 'Ref
' reference.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.IdentifiedElement
getOwnedAnnotations
Methods inherited from interface io.opencaesar.oml.Member
getAbbreviatedIri, getIri, getName, isRef, resolve, setName
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
Methods inherited from interface io.opencaesar.oml.SpecializableTerm
getOwnedSpecializations
Methods inherited from interface io.opencaesar.oml.VocabularyStatement
getOwningVocabulary, setOwningVocabulary
-
Method Details
-
getRef
Scalar getRef()Returns the value of the 'Ref' reference. A ref to another scalar -
setRef
Sets the value of the 'Ref
' reference.- Parameters:
value
- the new value of the 'Ref' reference.- See Also:
- Generated:
-
getOwnedEnumeration
LiteralEnumerationAxiom getOwnedEnumeration()Returns the value of the 'Owned Enumeration' containment reference. It is bidirectional and its opposite is 'Owning Scalar
'. An enumeration of literals of this scalar- Returns:
- the value of the 'Owned Enumeration' containment reference.
- See Also:
- Generated:
- Model:
- opposite="owningScalar" containment="true"
-
setOwnedEnumeration
Sets the value of the 'Owned Enumeration
' containment reference.- Parameters:
value
- the new value of the 'Owned Enumeration' containment reference.- See Also:
- Generated:
-
getOwnedEquivalences
org.eclipse.emf.common.util.EList<ScalarEquivalenceAxiom> getOwnedEquivalences()Returns the value of the 'Owned Equivalences' containment reference list. The list contents are of typeScalarEquivalenceAxiom
. It is bidirectional and its opposite is 'Owning Scalar
'. The set of scalar equivalence axioms of this scalar- Returns:
- the value of the 'Owned Equivalences' containment reference list.
- See Also:
- Generated:
- Model:
- opposite="owningScalar" containment="true"
-