O
- the ontology.J
- the type of Ground
and EntitySet
managed by this Descriptor
.D
- the type of Class
descriptor instantiated during
buildDisjointClasses()
()} through getDisjointClassDescriptor(Object, Object)
.public static interface Class.Disjoint<O,J,D extends Class<O,J>> extends Class<O,J>
Class
to have the Class.Disjoint
expression.Class.Disjoint<O,J,D extends Class<O,J>>, Class.Equivalent<O,J,D extends Class<O,J>>, Class.Instance<O,J,Y,D extends Individual<O,Y>>, Class.Restriction<O,J,Y>, Class.Sub<O,J,D extends Class<O,J>>, Class.Super<O,J,D extends Class<O,J>>
Axiom.Descriptor.OntologyReference
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>
Modifier and Type | Method and Description |
---|---|
default java.util.Set<D> |
buildDisjointClasses()
Create an
Axiom.Descriptor set where each element
represents the classes disjointed to this Class . |
D |
getDisjointClassDescriptor(J instance,
O ontology)
This method is called by
buildDisjointClasses() and
its purpose is to instantiate a new Class to represent
an class disjointed from this Class Descriptor . |
Axiom.EntitySet<J> |
getDisjointClasses()
Returns the
EntitySet that describes all the disjointed classes of
this Class from a no OOP point of view. |
Axiom.EntitySet<J> |
queryDisjointClasses()
Queries to the OWL representation of the disjointed classes for
this class. |
default 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. |
default Axiom.EntitySet.SynchronisationIntent<J> |
synchroniseDisjointClassesFromExpressionAxioms()
It calls
EntitySet#synchroniseFrom(EntitySet) with queryDisjointClasses()
as input parameter. |
default Axiom.EntitySet.SynchronisationIntent<J> |
synchroniseDisjointClassesToExpressionAxioms()
It calls
EntitySet#synchroniseTo(EntitySet) with queryDisjointClasses()
as input parameter. |
activateAMORlogging, getChangingIntent, getGround, getGroundInstanceName, getInstance, getIntent, getOntologyReference, groundReason, writeAxioms, writeAxiomsReasonReadAxioms, writeAxiomsReasonReadAxioms
default 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<O,J>
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
).default java.util.Set<D> buildDisjointClasses()
Axiom.Descriptor
set where each element
represents the classes disjointed to this Class
.
Each of those Class
s are instantiated
through the method getDisjointClassDescriptor(Object, Object)
;
this is called for all getDisjointClasses()
.Class
s that describes the
entities disjointed to this
described ontological class.D getDisjointClassDescriptor(J instance, O ontology)
buildDisjointClasses()
and
its purpose is to instantiate a new Class
to represent
an class disjointed from this
Class
Descriptor
.instance
- the instance to ground the new Class
.ontology
- the ontology in which ground the new Class
.Axiom.Descriptor
for all the classes
disjointed to this
descriptor.Axiom.EntitySet<J> getDisjointClasses()
EntitySet
that describes all the disjointed classes of
this
Class
from a no OOP point of view.this
objectAxiom.EntitySet<J> queryDisjointClasses()
this
class.EntitySet
contained the disjointed classes from
the OWL structure of Axiom.Descriptor.getInstance()
.default Axiom.EntitySet.SynchronisationIntent<J> synchroniseDisjointClassesToExpressionAxioms()
EntitySet#synchroniseTo(EntitySet)
with queryDisjointClasses()
as input parameter. This computes the changes to be performed in the OWL representation
for synchronise it with respect to getDisjointClasses()
. This should
be done by Axiom.Descriptor.writeAxioms()
.this
structure with
the disjointed classes of an OWL class.default Axiom.EntitySet.SynchronisationIntent<J> synchroniseDisjointClassesFromExpressionAxioms()
EntitySet#synchroniseFrom(EntitySet)
with queryDisjointClasses()
as input parameter. This computes the changes to be performed into the getDisjointClasses()
in order to synchronise it with respect to an OWL representation. This is
be done by readAxioms()
.this
structure.