O
- the type of ontology in which the axioms for classes will be applied.J
- the type of the described individual.Y
- the type of Semantic.SemanticAxiom
synchronised by this descriptorS
- the type of semantic described by this class (i.e.: OWLObjectProperty
)D
- the type of the DataProperty
descriptors instantiated during
buildObjectIndividual()
through getNewObjectIndividual(SemanticAxiom, Object)
.public static interface Individual.ObjectLink<O,J,Y extends Semantic.SemanticAxiom<S,?>,S,D extends ObjectProperty<O,S>> extends Individual<O,J>
Semantic.Descriptor
for the object properties applied to the described individuals.
This Semantic.Descriptor
synchronises only the specified object property and
relative values for an ontological individual (i.e.: the Semantic.Ground.getGroundInstance()
).
By default, the synchronisation occurs only for the proprieties which semantics
have been initialised in the Semantic.SemanticAxioms
(getObjectSemantics()
),
not for all relations in the OWL representation.
Anyway if the Semantic.SemanticAxioms
is leaved empty during readSemantic()
it maps all the object properties applied to the described individual.
Individual.DataLink<O,J,Y extends Semantic.SemanticAxiom<S,?>,S,D extends DataProperty<O,S>>, Individual.Disjoint<O,J,D extends Individual<O,J>>, Individual.Equivalent<O,J,D extends Individual<O,J>>, Individual.ObjectLink<O,J,Y extends Semantic.SemanticAxiom<S,?>,S,D extends ObjectProperty<O,S>>, Individual.Type<O,J,Y,D extends Concept<O,Y>>
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> |
buildObjectIndividual()
Create an
Semantic.Descriptor set where each element
represents the specified object properties applied to this this description. |
D |
getNewObjectIndividual(Y instance,
O ontology)
This method is called by
buildObjectIndividual() and
its purpose is to instantiate a new ObjectProperty to represent
an object value applied to this Individual Semantic.Descriptor . |
Semantic.Axioms<Y> |
getObjectSemantics()
Returns the
Semantic.Axioms that describes the specified object properties applied to
this Individual ; from a no OOP point of view. |
Semantic.Axioms<Y> |
queryObject()
Queries to the OWL representation for the data properties applied to
this Semantic.Descriptor . |
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<Y> |
synchroniseObjectIndividualFromSemantic()
It calls
Semantic.SemanticAxioms.synchroniseFrom(Axioms) with queryObject()
as input parameter. |
default Semantic.Axioms.SynchronisationIntent<Y> |
synchroniseObjectIndividualToSemantic()
It calls
Semantic.SemanticAxioms.synchroniseTo(Axioms) with queryObject()
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> buildObjectIndividual()
Semantic.Descriptor
set where each element
represents the specified object properties applied to this this
description.
Each of ObjectProperty
s are instantiated
through the method getNewObjectIndividual(SemanticAxiom, Object)
;
this is called for all getObjectSemantics()
.ObjectProperty
s that describes the
entities that are applied to this
described ontological individual.D getNewObjectIndividual(Y instance, O ontology)
buildObjectIndividual()
and
its purpose is to instantiate a new ObjectProperty
to represent
an object value applied to this
Individual
Semantic.Descriptor
.instance
- the instance to ground the new ObjectProperty
.ontology
- the ontology in which ground the new ObjectProperty
.Semantic.Descriptor
for all the object properties
that are applied to this
interface.Semantic.Axioms<Y> getObjectSemantics()
Semantic.Axioms
that describes the specified object properties applied to
this
Individual
; from a no OOP point of view.this
individual.Semantic.Axioms<Y> queryObject()
this
Semantic.Descriptor
.Semantic.SemanticAxioms
contained the object properties of Semantic.Descriptor.getInstance()
;
into the OWL structure.default Semantic.Axioms.SynchronisationIntent<Y> synchroniseObjectIndividualToSemantic()
Semantic.SemanticAxioms.synchroniseTo(Axioms)
with queryObject()
as input parameter. This computes the changes to be performed in the OWL representation
for synchronise it with respect to getObjectSemantics()
. This should
be done by Semantic.Descriptor.writeSemantic()
.this
structure with
the object properties applied on Semantic.Descriptor.getInstance()
; to the OWL representation.default Semantic.Axioms.SynchronisationIntent<Y> synchroniseObjectIndividualFromSemantic()
Semantic.SemanticAxioms.synchroniseFrom(Axioms)
with queryObject()
as input parameter. This computes the changes to be performed into the getObjectSemantics()
in order to synchronise it with respect to an OWL representation. This is
be done by readSemantic()
.Semantic.Descriptor.getInstance()
;
from an OWL representation to this
Semantic.Descriptor
.