public class FullDataPropertyDesc extends DataPropertyGround implements DataPropertyExpression.Disjoint<FullDataPropertyDesc>, DataPropertyExpression.Equivalent<FullDataPropertyDesc>, DataPropertyExpression.Sub<FullDataPropertyDesc>, DataPropertyExpression.Super<FullDataPropertyDesc>, DataPropertyExpression.Domain, DataPropertyExpression.Range
DataPropertyExpression
interfaces.
Axioms in this descriptor's internal state (i.e., OWLOOP representation) can be synchronized to/from an OWL ontology.
FullDataPropertyDesc
can synchronize all the axioms, that are based on the following DataPropertyExpressions:
DataPropertyExpression.Equivalent
: to describe that a DataProperty is equivalent to another DataProperty.DataPropertyExpression.Disjoint
: to describe that a DataProperty is disjoint to another DataProperty.DataPropertyExpression.Sub
: to describe that a DataProperty is subsumes another DataProperty.DataPropertyExpression.Super
: to describe that a DataProperty is super-sumes another DataProperty.DataPropertyExpression.Domain
: to describe the domain restrictions of a DataProperty.DataPropertyExpression.Range
: to describe the range restrictions of a DataProperty.
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 |
---|
FullDataPropertyDesc(org.semanticweb.owlapi.model.OWLDataProperty instance,
it.emarolab.amor.owlInterface.OWLReferences onto) |
FullDataPropertyDesc(org.semanticweb.owlapi.model.OWLDataProperty instance,
java.lang.String ontoName) |
FullDataPropertyDesc(org.semanticweb.owlapi.model.OWLDataProperty instance,
java.lang.String ontoName,
java.lang.String filePath,
java.lang.String iriPath) |
FullDataPropertyDesc(org.semanticweb.owlapi.model.OWLDataProperty instance,
java.lang.String ontoName,
java.lang.String filePath,
java.lang.String iriPath,
boolean bufferingChanges) |
FullDataPropertyDesc(java.lang.String instanceName,
it.emarolab.amor.owlInterface.OWLReferences onto) |
FullDataPropertyDesc(java.lang.String instanceName,
java.lang.String ontoName) |
FullDataPropertyDesc(java.lang.String instanceName,
java.lang.String ontoName,
java.lang.String filePath,
java.lang.String iriPath) |
FullDataPropertyDesc(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. |
Restrictions |
getDomainRestrictions()
Returns the
EntitySet that describes all the restrictions of the
domain of the described property; 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. |
FullDataPropertyDesc |
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 . |
FullDataPropertyDesc |
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 . |
FullDataPropertyDesc |
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 . |
FullDataPropertyDesc |
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 . |
Restrictions |
getRangeRestrictions()
Returns the
EntitySet that describes all the restrictions of the
range of the described property; from a no OOP point of view. |
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
addDisjointDataProperty, addDisjointDataProperty, queryDisjointDataProperties, removeDisjointDataProperty, removeDisjointDataProperty
buildDisjointDataProperties, synchroniseDisjointDataPropertiesFromExpressionAxioms, synchroniseDisjointDataPropertiesToExpressionAxioms
addEquivalentDataProperty, addEquivalentDataProperty, queryEquivalentDataProperties, removeEquivalentDataProperty, removeEquivalentDataProperty
buildEquivalentDataProperties, synchroniseEquivalentDataPropertiesFromExpressionAxioms, synchroniseEquivalentDataPropertiesToExpressionAxioms
addSubDataProperty, addSubDataProperty, querySubDataProperties, removeSubDataProperty, removeSubDataProperty
buildSubDataProperties, synchroniseSubDataPropertiesFromExpressionAxioms, synchroniseSubDataPropertiesToExpressionAxioms
addSuperDataProperty, addSuperDataProperty, querySuperDataProperties, removeSuperDataProperty, removeSuperDataProperty
buildSuperDataProperties, synchroniseSuperDataPropertiesFromExpressionAxioms, synchroniseSuperDataPropertiesToExpressionAxioms
addDomainClassRestriction, addDomainClassRestriction, addDomainExactDataRestriction, addDomainExactDataRestriction, addDomainExactObjectRestriction, addDomainExactObjectRestriction, addDomainMaxDataRestriction, addDomainMaxDataRestriction, addDomainMaxObjectRestriction, addDomainMaxObjectRestriction, addDomainMinDataRestriction, addDomainMinDataRestriction, addDomainMinObjectRestriction, addDomainMinObjectRestriction, addDomainOnlyDataRestriction, addDomainOnlyDataRestriction, addDomainOnlyObjectRestriction, addDomainOnlyObjectRestriction, addDomainSomeDataRestriction, addDomainSomeDataRestriction, addDomainSomeObjectRestriction, addDomainSomeObjectRestriction, domainClassRestriction, domainClassRestriction, domainExactDataRestriction, domainExactDataRestriction, domainExactObjectRestriction, domainExactObjectRestriction, domainMaxDataRestriction, domainMaxDataRestriction, domainMaxObjectRestriction, domainMaxObjectRestriction, domainMinDataRestriction, domainMinDataRestriction, domainMinObjectRestriction, domainMinObjectRestriction, domainOnlyDataRestriction, domainOnlyDataRestriction, domainOnlyObjectRestriction, domainOnlyObjectRestriction, domainSomeDataRestriction, domainSomeDataRestriction, domainSomeObjectRestriction, domainSomeObjectRestriction, queryDomainRestrictions, removeDomainClassRestriction, removeDomainClassRestriction, removeDomainExactDataRestriction, removeDomainExactDataRestriction, removeDomainExactObjectRestriction, removeDomainExactObjectRestriction, removeDomainMaxDataRestriction, removeDomainMaxDataRestriction, removeDomainMaxObjectRestriction, removeDomainMaxObjectRestriction, removeDomainMinDataRestriction, removeDomainMinDataRestriction, removeDomainMinObjectRestriction, removeDomainMinObjectRestriction, removeDomainOnlyDataRestriction, removeDomainOnlyDataRestriction, removeDomainOnlyObjectRestriction, removeDomainOnlyObjectRestriction, removeDomainSomeDataRestriction, removeDomainSomeDataRestriction, removeDomainSomeObjectRestriction, removeDomainSomeObjectRestriction
synchroniseDomainDataPropertyFromExpressionAxioms, synchroniseDomainDataPropertyToExpressionAxioms
addRangeDataRestriction, queryRangeRestrictions, rangeDataRestriction, removeRangeDataRestriction
synchroniseRangeDataPropertyFromExpressionAxioms, synchroniseRangeDataPropertyToExpressionAxioms
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 FullDataPropertyDesc(org.semanticweb.owlapi.model.OWLDataProperty instance, it.emarolab.amor.owlInterface.OWLReferences onto)
public FullDataPropertyDesc(java.lang.String instanceName, it.emarolab.amor.owlInterface.OWLReferences onto)
public FullDataPropertyDesc(org.semanticweb.owlapi.model.OWLDataProperty instance, java.lang.String ontoName)
public FullDataPropertyDesc(org.semanticweb.owlapi.model.OWLDataProperty instance, java.lang.String ontoName, java.lang.String filePath, java.lang.String iriPath)
public FullDataPropertyDesc(org.semanticweb.owlapi.model.OWLDataProperty instance, java.lang.String ontoName, java.lang.String filePath, java.lang.String iriPath, boolean bufferingChanges)
public FullDataPropertyDesc(java.lang.String instanceName, java.lang.String ontoName)
public FullDataPropertyDesc(java.lang.String instanceName, java.lang.String ontoName, java.lang.String filePath, java.lang.String iriPath)
public FullDataPropertyDesc(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,FullDataPropertyDesc>
readAxioms
in interface DataProperty.Domain<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLDataProperty,it.emarolab.amor.owlInterface.SemanticRestriction>
readAxioms
in interface DataProperty.Equivalent<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLDataProperty,FullDataPropertyDesc>
readAxioms
in interface DataProperty.Range<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLDataProperty,it.emarolab.amor.owlInterface.SemanticRestriction>
readAxioms
in interface DataProperty.Sub<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLDataProperty,FullDataPropertyDesc>
readAxioms
in interface DataProperty.Super<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLDataProperty,FullDataPropertyDesc>
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<FullDataPropertyDesc>
writeAxioms
in interface DataPropertyExpression.Domain
writeAxioms
in interface DataPropertyExpression.Equivalent<FullDataPropertyDesc>
writeAxioms
in interface DataPropertyExpression.Range
writeAxioms
in interface DataPropertyExpression.Sub<FullDataPropertyDesc>
writeAxioms
in interface DataPropertyExpression.Super<FullDataPropertyDesc>
Axiom.MappingIntent.getOntologyChanges()
field
initialised (i.e.: OWLOntologyChange
).public Restrictions getDomainRestrictions()
DataProperty.Domain
EntitySet
that describes all the restrictions of the
domain of the described property; from a no OOP point of view.getDomainRestrictions
in interface DataProperty.Domain<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLDataProperty,it.emarolab.amor.owlInterface.SemanticRestriction>
getDomainRestrictions
in interface DataPropertyExpression.Domain
this
grounded the data property.public Restrictions getRangeRestrictions()
DataProperty.Range
EntitySet
that describes all the restrictions of the
range of the described property; from a no OOP point of view.getRangeRestrictions
in interface DataProperty.Range<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLDataProperty,it.emarolab.amor.owlInterface.SemanticRestriction>
getRangeRestrictions
in interface DataPropertyExpression.Range
this
grounded the data property.public FullDataPropertyDesc 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,FullDataPropertyDesc>
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,FullDataPropertyDesc>
getDisjointDataProperties
in interface DataPropertyExpression.Disjoint<FullDataPropertyDesc>
this
described property.public FullDataPropertyDesc 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,FullDataPropertyDesc>
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,FullDataPropertyDesc>
getEquivalentDataProperties
in interface DataPropertyExpression.Equivalent<FullDataPropertyDesc>
this
described property.public FullDataPropertyDesc 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,FullDataPropertyDesc>
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,FullDataPropertyDesc>
this
described property.public FullDataPropertyDesc 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,FullDataPropertyDesc>
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,FullDataPropertyDesc>
getSuperDataProperties
in interface DataPropertyExpression.Super<FullDataPropertyDesc>
this
described property.public java.lang.String toString()
toString
in class java.lang.Object