public class HierarchicalDataPropertyDesc extends DataPropertyGround implements DataPropertyExpression.Sub<HierarchicalDataPropertyDesc>, DataPropertyExpression.Super<HierarchicalDataPropertyDesc>
DataPropertyExpression
interfaces:
DataPropertyExpression.Sub
: to describe that a DataProperty is subsumes another DataProperty.DataPropertyExpression.Super
: to describe that a DataProperty is super-sumes 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 |
---|
HierarchicalDataPropertyDesc(org.semanticweb.owlapi.model.OWLDataProperty instance,
it.emarolab.amor.owlInterface.OWLReferences onto) |
HierarchicalDataPropertyDesc(org.semanticweb.owlapi.model.OWLDataProperty instance,
java.lang.String ontoName) |
HierarchicalDataPropertyDesc(org.semanticweb.owlapi.model.OWLDataProperty instance,
java.lang.String ontoName,
java.lang.String filePath,
java.lang.String iriPath) |
HierarchicalDataPropertyDesc(org.semanticweb.owlapi.model.OWLDataProperty instance,
java.lang.String ontoName,
java.lang.String filePath,
java.lang.String iriPath,
boolean bufferingChanges) |
HierarchicalDataPropertyDesc(java.lang.String instanceName,
it.emarolab.amor.owlInterface.OWLReferences onto) |
HierarchicalDataPropertyDesc(java.lang.String instanceName,
java.lang.String ontoName) |
HierarchicalDataPropertyDesc(java.lang.String instanceName,
java.lang.String ontoName,
java.lang.String filePath,
java.lang.String iriPath) |
HierarchicalDataPropertyDesc(java.lang.String instanceName,
java.lang.String ontoName,
java.lang.String filePath,
java.lang.String iriPath,
boolean bufferingChanges) |
Modifier and Type | Method and Description |
---|---|
HierarchicalDataPropertyDesc |
getNewSubDataProperty(org.semanticweb.owlapi.model.OWLDataProperty instance,
it.emarolab.amor.owlInterface.OWLReferences ontology)
This method is called by
DataProperty.Sub.buildSubDataProperties() and
its purpose is to instantiate a new DataProperty to represent
a sub property of this DataProperty Descriptor . |
HierarchicalDataPropertyDesc |
getNewSuperDataProperty(org.semanticweb.owlapi.model.OWLDataProperty instance,
it.emarolab.amor.owlInterface.OWLReferences ontology)
This method is called by
DataProperty.Super.buildSuperDataProperties() and
its purpose is to instantiate a new DataProperty to represent
a super property of this DataProperty Descriptor . |
DataProperties |
getSubDataProperties()
Returns the
EntitySet that describes all the sub data properties of
this grounded DataProperty ; from a no OOP point of view. |
DataProperties |
getSuperDataProperties()
Returns the
EntitySet that describes all the super data properties of
this grounded DataProperty ; from a no OOP point of view. |
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
addSubDataProperty, addSubDataProperty, querySubDataProperties, removeSubDataProperty, removeSubDataProperty
buildSubDataProperties, synchroniseSubDataPropertiesFromExpressionAxioms, synchroniseSubDataPropertiesToExpressionAxioms
addSuperDataProperty, addSuperDataProperty, querySuperDataProperties, removeSuperDataProperty, removeSuperDataProperty
buildSuperDataProperties, synchroniseSuperDataPropertiesFromExpressionAxioms, synchroniseSuperDataPropertiesToExpressionAxioms
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 HierarchicalDataPropertyDesc(org.semanticweb.owlapi.model.OWLDataProperty instance, it.emarolab.amor.owlInterface.OWLReferences onto)
public HierarchicalDataPropertyDesc(java.lang.String instanceName, it.emarolab.amor.owlInterface.OWLReferences onto)
public HierarchicalDataPropertyDesc(org.semanticweb.owlapi.model.OWLDataProperty instance, java.lang.String ontoName)
public HierarchicalDataPropertyDesc(org.semanticweb.owlapi.model.OWLDataProperty instance, java.lang.String ontoName, java.lang.String filePath, java.lang.String iriPath)
public HierarchicalDataPropertyDesc(org.semanticweb.owlapi.model.OWLDataProperty instance, java.lang.String ontoName, java.lang.String filePath, java.lang.String iriPath, boolean bufferingChanges)
public HierarchicalDataPropertyDesc(java.lang.String instanceName, java.lang.String ontoName)
public HierarchicalDataPropertyDesc(java.lang.String instanceName, java.lang.String ontoName, java.lang.String filePath, java.lang.String iriPath)
public HierarchicalDataPropertyDesc(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.Sub<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLDataProperty,HierarchicalDataPropertyDesc>
readAxioms
in interface DataProperty.Super<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLDataProperty,HierarchicalDataPropertyDesc>
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.Sub<HierarchicalDataPropertyDesc>
writeAxioms
in interface DataPropertyExpression.Super<HierarchicalDataPropertyDesc>
Axiom.MappingIntent.getOntologyChanges()
field
initialised (i.e.: OWLOntologyChange
).public HierarchicalDataPropertyDesc getNewSubDataProperty(org.semanticweb.owlapi.model.OWLDataProperty instance, it.emarolab.amor.owlInterface.OWLReferences ontology)
DataProperty.Sub
DataProperty.Sub.buildSubDataProperties()
and
its purpose is to instantiate a new DataProperty
to represent
a sub property of this
DataProperty
Descriptor
.getNewSubDataProperty
in interface DataProperty.Sub<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLDataProperty,HierarchicalDataPropertyDesc>
instance
- the instance to ground the new sub DataProperty
.ontology
- the ontology in which ground the new DataProperty
.Axiom.Descriptor
for all the sub properties
of the one described by this
interface.public DataProperties getSubDataProperties()
DataProperty.Sub
EntitySet
that describes all the sub data properties of
this
grounded DataProperty
; from a no OOP point of view.getSubDataProperties
in interface DataProperty.Sub<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLDataProperty,HierarchicalDataPropertyDesc>
this
described property.public HierarchicalDataPropertyDesc getNewSuperDataProperty(org.semanticweb.owlapi.model.OWLDataProperty instance, it.emarolab.amor.owlInterface.OWLReferences ontology)
DataProperty.Super
DataProperty.Super.buildSuperDataProperties()
and
its purpose is to instantiate a new DataProperty
to represent
a super property of this
DataProperty
Descriptor
.getNewSuperDataProperty
in interface DataProperty.Super<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLDataProperty,HierarchicalDataPropertyDesc>
instance
- the instance to ground the new super DataProperty
.ontology
- the ontology in which ground the new DataProperty
.Axiom.Descriptor
for all the super properties
of the one described by this
interface.public DataProperties getSuperDataProperties()
DataProperty.Super
EntitySet
that describes all the super data properties of
this
grounded DataProperty
; from a no OOP point of view.getSuperDataProperties
in interface DataProperty.Super<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLDataProperty,HierarchicalDataPropertyDesc>
getSuperDataProperties
in interface DataPropertyExpression.Super<HierarchicalDataPropertyDesc>
this
described property.public java.lang.String toString()
toString
in class java.lang.Object