O
- the type of ontology in which the axioms for classes will be applied.J
- the type of the described class.
(it represents also the of Semantic.Axioms
managed by this Semantic.Descriptor
.D
- the type of the Concept
descriptor instantiated during
buildDisjointConcept()
through getNewDisjointConcept(Object, Object)
.public static interface Concept.Disjoint<O,J,D extends Concept<O,J>> extends Concept<O,J>
Semantic.Descriptor
for disjointed classes of an ontological class.
This Semantic.Descriptor
synchronises the disjointed classes of a specific class
(i.e.: the Semantic.Ground.getGroundInstance()
).
Concept.Classify<O,J,Y,D extends Individual<O,Y>>, Concept.Define<O,J,Y>, Concept.Disjoint<O,J,D extends Concept<O,J>>, Concept.Equivalent<O,J,D extends Concept<O,J>>, Concept.Sub<O,J,D extends Concept<O,J>>, Concept.Super<O,J,D extends Concept<O,J>>
Semantic.Axioms<Y>, Semantic.Descriptor<O,J>, Semantic.Ground<O,J>, Semantic.MappingIntent<I extends Semantic.Ground,C>, Semantic.SemanticAxiom<S,Y>, Semantic.SemanticAxioms<F extends Semantic.SemanticAxiom<?,Y>,Y>
Modifier and Type | Method and Description |
---|---|
default java.util.Set<D> |
buildDisjointConcept()
Create an
Semantic.Descriptor set where each element
represents the classes disjointed to this Concept . |
Semantic.Axioms<J> |
getDisjointConcept()
Returns the
Semantic.Axioms that describes all the disjointed classes of
this Concept from a no OOP point of view. |
D |
getNewDisjointConcept(J instance,
O ontology)
This method is called by
buildDisjointConcept() and
its purpose is to instantiate a new Concept to represent
an class disjointed from this Concept Semantic.Descriptor . |
Semantic.Axioms<J> |
queryDisjointConcept()
Queries to the OWL representation of the disjointed classes for
this class. |
default java.util.List<Semantic.MappingIntent> |
readSemantic()
This method is used to synchronise specific
Semantic.Axioms (or Semantic.SemanticAxioms )
from the ontology. |
default Semantic.Axioms.SynchronisationIntent<J> |
synchroniseDisjointConceptFromSemantic()
It calls
Semantic.Axioms.synchroniseFrom(Axioms) with queryDisjointConcept()
as input parameter. |
default Semantic.Axioms.SynchronisationIntent<J> |
synchroniseDisjointConceptToSemantic()
It calls
Semantic.Axioms.synchroniseTo(Axioms) with queryDisjointConcept()
as input parameter. |
getChangingIntent, getGround, getInstance, getIntent, getOntology, groundReason, writeSemantic, writeSemanticInconsistencySafe, writeSemanticInconsistencySafe
default java.util.List<Semantic.MappingIntent> readSemantic()
Semantic.Descriptor
Semantic.Axioms
(or Semantic.SemanticAxioms
)
from the ontology. It manipulates the OWLLOOP representation to be
equal to the queried OWL structure. It is based on Axioms#synchroniseFrom(Axioms)
.readSemantic
in interface Semantic.Descriptor<O,J>
Semantic.Axioms
during the reading.
Those objects may not have the Semantic.MappingIntent.getOntologyChanges()
field
initialised (i.e.: Void
).default java.util.Set<D> buildDisjointConcept()
Semantic.Descriptor
set where each element
represents the classes disjointed to this Concept
.
Each of those Concept
s are instantiated
through the method getNewDisjointConcept(Object, Object)
;
this is called for all getDisjointConcept()
.Concept
s that describes the
entities disjointed to this
described ontological class.D getNewDisjointConcept(J instance, O ontology)
buildDisjointConcept()
and
its purpose is to instantiate a new Concept
to represent
an class disjointed from this
Concept
Semantic.Descriptor
.instance
- the instance to ground the new Concept
.ontology
- the ontology in which ground the new Concept
.Semantic.Descriptor
for all the classes
disjointed to this
descriptor.Semantic.Axioms<J> getDisjointConcept()
Semantic.Axioms
that describes all the disjointed classes of
this
Concept
from a no OOP point of view.this
objectSemantic.Axioms<J> queryDisjointConcept()
this
class.Semantic.Axioms
contained the disjointed classes from
the OWL structure of Semantic.Descriptor.getInstance()
.default Semantic.Axioms.SynchronisationIntent<J> synchroniseDisjointConceptToSemantic()
Semantic.Axioms.synchroniseTo(Axioms)
with queryDisjointConcept()
as input parameter. This computes the changes to be performed in the OWL representation
for synchronise it with respect to getDisjointConcept()
. This should
be done by Semantic.Descriptor.writeSemantic()
.this
structure with
the disjointed classes of an OWL class.default Semantic.Axioms.SynchronisationIntent<J> synchroniseDisjointConceptFromSemantic()
Semantic.Axioms.synchroniseFrom(Axioms)
with queryDisjointConcept()
as input parameter. This computes the changes to be performed into the getDisjointConcept()
in order to synchronise it with respect to an OWL representation. This is
be done by readSemantic()
.this
structure.