public class RestrictionDataPropertyDesc extends DataPropertyGround implements DataPropertyExpression.Disjoint<RestrictionDataPropertyDesc>, DataPropertyExpression.Equivalent<RestrictionDataPropertyDesc>
DataPropertyExpression
interfaces:
DataPropertyExpression.Equivalent
: to describe that a DataProperty is equivalent to another DataProperty.DataPropertyExpression.Disjoint
: to describe that a DataProperty is disjoint to another DataProperty.FullDataPropertyDesc
for an example of a 'compound' DataProperty Descriptor that implements all DataPropertyExpressions.
DataPropertyExpression.Disjoint<D extends DataPropertyExpression>, DataPropertyExpression.Domain, DataPropertyExpression.Equivalent<D extends DataPropertyExpression>, DataPropertyExpression.Range, DataPropertyExpression.Sub<D extends DataPropertyExpression>, DataPropertyExpression.Super<D extends DataPropertyExpression>
Axiom.Descriptor.OntologyReference
DescriptorGroundInterface.ConceptGroundInstance, DescriptorGroundInterface.DataGroundInstance, DescriptorGroundInterface.GroundInstance<J extends org.semanticweb.owlapi.model.OWLObject>, DescriptorGroundInterface.IndividualGroundInstance, DescriptorGroundInterface.ObjectGroundInstance
Axiom.Descriptor<O,J>, Axiom.EntitySet<Y>, Axiom.ExpressionEntity<S,Y>, Axiom.ExpressionEntitySet<F extends Axiom.ExpressionEntity<?,Y>,Y>, Axiom.Ground<O,J>, Axiom.MappingIntent<I extends Axiom.Ground,C>
NL
Constructor and Description |
---|
RestrictionDataPropertyDesc(org.semanticweb.owlapi.model.OWLDataProperty instance,
it.emarolab.amor.owlInterface.OWLReferences onto) |
RestrictionDataPropertyDesc(org.semanticweb.owlapi.model.OWLDataProperty instance,
java.lang.String ontoName) |
RestrictionDataPropertyDesc(org.semanticweb.owlapi.model.OWLDataProperty instance,
java.lang.String ontoName,
java.lang.String filePath,
java.lang.String iriPath) |
RestrictionDataPropertyDesc(org.semanticweb.owlapi.model.OWLDataProperty instance,
java.lang.String ontoName,
java.lang.String filePath,
java.lang.String iriPath,
boolean bufferingChanges) |
RestrictionDataPropertyDesc(java.lang.String instanceName,
it.emarolab.amor.owlInterface.OWLReferences onto) |
RestrictionDataPropertyDesc(java.lang.String instanceName,
java.lang.String ontoName) |
RestrictionDataPropertyDesc(java.lang.String instanceName,
java.lang.String ontoName,
java.lang.String filePath,
java.lang.String iriPath) |
RestrictionDataPropertyDesc(java.lang.String instanceName,
java.lang.String ontoName,
java.lang.String filePath,
java.lang.String iriPath,
boolean bufferingChanges) |
Modifier and Type | Method and Description |
---|---|
DataProperties |
getDisjointDataProperties()
Returns the
EntitySet that describes all the disjoint data properties of
this grounded DataProperty ; from a no OOP point of view. |
DataProperties |
getEquivalentDataProperties()
Returns the
EntitySet that describes all the equivalent data properties of
this grounded DataProperty ; from a no OOP point of view. |
RestrictionDataPropertyDesc |
getNewDisjointDataProperty(org.semanticweb.owlapi.model.OWLDataProperty instance,
it.emarolab.amor.owlInterface.OWLReferences ontology)
This method is called by
DataProperty.Disjoint.buildDisjointDataProperties() and
its purpose is to instantiate a new DataProperty to represent
a disjointed property of this DataProperty Descriptor . |
RestrictionDataPropertyDesc |
getNewEquivalentDataProperty(org.semanticweb.owlapi.model.OWLDataProperty instance,
it.emarolab.amor.owlInterface.OWLReferences ontology)
This method is called by
DataProperty.Equivalent.buildEquivalentDataProperties() and
its purpose is to instantiate a new DataProperty to represent
an equivalent property of this DataProperty Descriptor . |
java.util.List<Axiom.MappingIntent> |
readAxioms()
This method is used to update specific
Axiom.EntitySet (or Axiom.ExpressionEntitySet ) by synchronizing
the internal state of the descriptor with the queried OWL structure, such that they are equal. |
java.lang.String |
toString() |
java.util.List<Axiom.MappingIntent> |
writeAxioms()
This method is used to update the ontology with a specific
Axiom.EntitySet (or Axiom.ExpressionEntitySet )
by synchronizing the OWL representation with the internal state of the descriptor, such that they are equal. |
getGround, getNewGround, getNewGround
copyGround, equals, getGroundInstanceName, hashCode, reason, setGround, setGroundInstance, setGroundInstance
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addDisjointDataProperty, addDisjointDataProperty, queryDisjointDataProperties, removeDisjointDataProperty, removeDisjointDataProperty
buildDisjointDataProperties, synchroniseDisjointDataPropertiesFromExpressionAxioms, synchroniseDisjointDataPropertiesToExpressionAxioms
addEquivalentDataProperty, addEquivalentDataProperty, queryEquivalentDataProperties, removeEquivalentDataProperty, removeEquivalentDataProperty
buildEquivalentDataProperties, synchroniseEquivalentDataPropertiesFromExpressionAxioms, synchroniseEquivalentDataPropertiesToExpressionAxioms
getGroundInstance, getGroundOntology, setFunctional, setNotFunctional
activateAMORlogging, getChangingIntent, getGround, getGroundInstanceName, getInstance, getIntent, getOntologyReference, groundReason, writeAxiomsReasonReadAxioms, writeAxiomsReasonReadAxioms
getOntologyName, getOWLClass, getOWLDataFactory, getOWLDataProperty, getOWLDataType, getOWLIndividual, getOWLLiteral, getOWLName, getOWLName, getOWLObjectProperty, getOWLOntology, getOWLReasoner, isCompleteQuery, isReasonedQuery, reason, saveOntology, saveOntology, setCompleteQuery, setReasonedQuery
copyGround
public RestrictionDataPropertyDesc(org.semanticweb.owlapi.model.OWLDataProperty instance, it.emarolab.amor.owlInterface.OWLReferences onto)
public RestrictionDataPropertyDesc(java.lang.String instanceName, it.emarolab.amor.owlInterface.OWLReferences onto)
public RestrictionDataPropertyDesc(org.semanticweb.owlapi.model.OWLDataProperty instance, java.lang.String ontoName)
public RestrictionDataPropertyDesc(org.semanticweb.owlapi.model.OWLDataProperty instance, java.lang.String ontoName, java.lang.String filePath, java.lang.String iriPath)
public RestrictionDataPropertyDesc(org.semanticweb.owlapi.model.OWLDataProperty instance, java.lang.String ontoName, java.lang.String filePath, java.lang.String iriPath, boolean bufferingChanges)
public RestrictionDataPropertyDesc(java.lang.String instanceName, java.lang.String ontoName)
public RestrictionDataPropertyDesc(java.lang.String instanceName, java.lang.String ontoName, java.lang.String filePath, java.lang.String iriPath)
public RestrictionDataPropertyDesc(java.lang.String instanceName, java.lang.String ontoName, java.lang.String filePath, java.lang.String iriPath, boolean bufferingChanges)
public java.util.List<Axiom.MappingIntent> readAxioms()
Axiom.Descriptor
Axiom.EntitySet
(or Axiom.ExpressionEntitySet
) by synchronizing
the internal state of the descriptor with the queried OWL structure, such that they are equal.
It is based on EntitySet#synchroniseFrom(EntitySet)
.readAxioms
in interface Axiom.Descriptor<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLDataProperty>
readAxioms
in interface DataProperty.Disjoint<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLDataProperty,RestrictionDataPropertyDesc>
readAxioms
in interface DataProperty.Equivalent<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLDataProperty,RestrictionDataPropertyDesc>
Axiom.EntitySet
during the reading.
Note that the elements of the returned list, may not have the Axiom.MappingIntent.getOntologyChanges()
field
initialised (i.e.: Void
).public java.util.List<Axiom.MappingIntent> writeAxioms()
Axiom.Descriptor
Axiom.EntitySet
(or Axiom.ExpressionEntitySet
)
by synchronizing the OWL representation with the internal state of the descriptor, such that they are equal.
It is based on EntitySet#synchroniseTo(EntitySet)
.writeAxioms
in interface Axiom.Descriptor<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLDataProperty>
writeAxioms
in interface DataPropertyExpression.Disjoint<RestrictionDataPropertyDesc>
writeAxioms
in interface DataPropertyExpression.Equivalent<RestrictionDataPropertyDesc>
Axiom.MappingIntent.getOntologyChanges()
field
initialised (i.e.: OWLOntologyChange
).public RestrictionDataPropertyDesc getNewDisjointDataProperty(org.semanticweb.owlapi.model.OWLDataProperty instance, it.emarolab.amor.owlInterface.OWLReferences ontology)
DataProperty.Disjoint
DataProperty.Disjoint.buildDisjointDataProperties()
and
its purpose is to instantiate a new DataProperty
to represent
a disjointed property of this
DataProperty
Descriptor
.getNewDisjointDataProperty
in interface DataProperty.Disjoint<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLDataProperty,RestrictionDataPropertyDesc>
instance
- the instance to ground the new disjoint DataProperty
.ontology
- the ontology in which ground the new DataProperty
.Axiom.Descriptor
for all the disjointed properties
of the one described by this
interface.public DataProperties getDisjointDataProperties()
DataProperty.Disjoint
EntitySet
that describes all the disjoint data properties of
this
grounded DataProperty
; from a no OOP point of view.getDisjointDataProperties
in interface DataProperty.Disjoint<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLDataProperty,RestrictionDataPropertyDesc>
getDisjointDataProperties
in interface DataPropertyExpression.Disjoint<RestrictionDataPropertyDesc>
this
described property.public RestrictionDataPropertyDesc getNewEquivalentDataProperty(org.semanticweb.owlapi.model.OWLDataProperty instance, it.emarolab.amor.owlInterface.OWLReferences ontology)
DataProperty.Equivalent
DataProperty.Equivalent.buildEquivalentDataProperties()
and
its purpose is to instantiate a new DataProperty
to represent
an equivalent property of this
DataProperty
Descriptor
.getNewEquivalentDataProperty
in interface DataProperty.Equivalent<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLDataProperty,RestrictionDataPropertyDesc>
instance
- the instance to ground the new equivalent DataProperty
.ontology
- the ontology in which ground the new DataProperty
.Axiom.Descriptor
for all the equivalent properties
of the one described by this
interface.public DataProperties getEquivalentDataProperties()
DataProperty.Equivalent
EntitySet
that describes all the equivalent data properties of
this
grounded DataProperty
; from a no OOP point of view.getEquivalentDataProperties
in interface DataProperty.Equivalent<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLDataProperty,RestrictionDataPropertyDesc>
getEquivalentDataProperties
in interface DataPropertyExpression.Equivalent<RestrictionDataPropertyDesc>
this
described property.public java.lang.String toString()
toString
in class java.lang.Object