Package io.opencaesar.oml
Interface ScalarProperty
- All Superinterfaces:
Element
,org.eclipse.emf.ecore.EObject
,IdentifiedElement
,Member
,org.eclipse.emf.common.notify.Notifier
,Property
,SemanticProperty
,SpecializableProperty
,SpecializableTerm
,Statement
,Term
,VocabularyMember
,VocabularyStatement
- All Known Implementing Classes:
ScalarPropertyImpl
A representation of the model object 'Scalar Property'.
ScalarProperty is a [=SemanticProperty=] whose range is a [=Scalar=]. It can specialize other [=ScalarProperties=].
The following features are supported:
- See Also:
- Generated:
- Model:
- annotation="https://tabatkins.github.io/bikeshed heading='Properties'"
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.util.EList<Classifier>
org.eclipse.emf.common.util.EList<Classifier>
Returns the value of the 'Domains' reference list.org.eclipse.emf.common.util.EList<Type>
org.eclipse.emf.common.util.EList<Scalar>
Returns the value of the 'Ranges' reference list.getRef()
Returns the value of the 'Ref' reference.boolean
Returns the value of the 'Functional' attribute.void
setFunctional
(boolean value) Sets the value of the 'Functional
' attribute.void
setRef
(ScalarProperty value) 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.SpecializableProperty
getOwnedEquivalences
Methods inherited from interface io.opencaesar.oml.SpecializableTerm
getOwnedSpecializations
Methods inherited from interface io.opencaesar.oml.VocabularyStatement
getOwningVocabulary, setOwningVocabulary
-
Method Details
-
getRef
ScalarProperty getRef()Returns the value of the 'Ref' reference. A ref to another scalar property -
setRef
Sets the value of the 'Ref
' reference.- Parameters:
value
- the new value of the 'Ref' reference.- See Also:
- Generated:
-
isFunctional
boolean isFunctional()Returns the value of the 'Functional' attribute. Whether this property is functional (has a max of one value per instance)- Specified by:
isFunctional
in interfaceSemanticProperty
- Returns:
- the value of the 'Functional' attribute.
- See Also:
- Generated:
- Model:
- unique="false"
-
setFunctional
void setFunctional(boolean value) Sets the value of the 'Functional
' attribute.- Parameters:
value
- the new value of the 'Functional' attribute.- See Also:
- Generated:
-
getDomains
org.eclipse.emf.common.util.EList<Classifier> getDomains()Returns the value of the 'Domains' reference list. The list contents are of typeClassifier
. The classifier that is the domain of this property- Returns:
- the value of the 'Domains' reference list.
- See Also:
- Generated:
- Model:
-
getRanges
org.eclipse.emf.common.util.EList<Scalar> getRanges()Returns the value of the 'Ranges' reference list. The list contents are of typeScalar
. The scalar that is the range of this property- Returns:
- the value of the 'Ranges' reference list.
- See Also:
- Generated:
- Model:
-
getDomainList
org.eclipse.emf.common.util.EList<Classifier> getDomainList()- Specified by:
getDomainList
in interfaceSemanticProperty
- Generated:
- Model:
- kind="operation" unique="false"
-
getRangeList
org.eclipse.emf.common.util.EList<Type> getRangeList()- Specified by:
getRangeList
in interfaceSemanticProperty
- Generated:
- Model:
- kind="operation" unique="false"
-