Package io.opencaesar.oml
Interface PropertyRestrictionAxiom
- All Superinterfaces:
Axiom
,Element
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
PropertyCardinalityRestrictionAxiom
,PropertyRangeRestrictionAxiom
,PropertySelfRestrictionAxiom
,PropertyValueRestrictionAxiom
- All Known Implementing Classes:
PropertyCardinalityRestrictionAxiomImpl
,PropertyRangeRestrictionAxiomImpl
,PropertyRestrictionAxiomImpl
,PropertySelfRestrictionAxiomImpl
,PropertyValueRestrictionAxiomImpl
A representation of the model object 'Property Restriction Axiom'.
PropertyRestrictionAxiom is an [=Axiom=] specified on a [=Classifier=] that places some restriction on the value of a [=SemanticProperty=]
in the context of the classifier.
The following features are supported:
- See Also:
- Generated:
- Model:
- abstract="true" annotation="https://tabatkins.github.io/bikeshed heading='Axioms'"
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Owning Axiom' container reference.Returns the value of the 'Owning Classifier' container reference.Returns the value of the 'Property' reference.Gets the restricting domain of the given property restriction axiomvoid
Sets the value of the 'Owning Axiom
' container reference.void
setOwningClassifier
(Classifier value) Sets the value of the 'Owning Classifier
' container reference.void
setProperty
(SemanticProperty value) Sets the value of the 'Property
' 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 org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getProperty
SemanticProperty getProperty()Returns the value of the 'Property' reference. The restricted property specified by this axiom- Returns:
- the value of the 'Property' reference.
- See Also:
- Generated:
- Model:
- required="true"
-
setProperty
Sets the value of the 'Property
' reference.- Parameters:
value
- the new value of the 'Property' reference.- See Also:
- Generated:
-
getOwningClassifier
Classifier getOwningClassifier()Returns the value of the 'Owning Classifier' container reference. It is bidirectional and its opposite is 'Owned Property Restrictions
'. The owning classifier specified by this axiom- Returns:
- the value of the 'Owning Classifier' container reference.
- See Also:
- Generated:
- Model:
- opposite="ownedPropertyRestrictions" transient="false"
-
setOwningClassifier
Sets the value of the 'Owning Classifier
' container reference.- Parameters:
value
- the new value of the 'Owning Classifier' container reference.- See Also:
- Generated:
-
getOwningAxiom
ClassifierEquivalenceAxiom getOwningAxiom()Returns the value of the 'Owning Axiom' container reference. It is bidirectional and its opposite is 'Owned Property Restrictions
'. The owning classifier equivalence axiom specified by this axiom- Returns:
- the value of the 'Owning Axiom' container reference.
- See Also:
- Generated:
- Model:
- opposite="ownedPropertyRestrictions" transient="false"
-
setOwningAxiom
Sets the value of the 'Owning Axiom
' container reference.- Parameters:
value
- the new value of the 'Owning Axiom' container reference.- See Also:
- Generated:
-
getRestrictingDomain
Classifier getRestrictingDomain()Gets the restricting domain of the given property restriction axiom- Generated:
- Model:
- kind="operation" unique="false"
-
getCharacterizedTerm
Classifier getCharacterizedTerm()- Specified by:
getCharacterizedTerm
in interfaceAxiom
- Generated:
- Model:
- kind="operation" unique="false"
-