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.: OWLDataProperty
)D
- the type of the DataProperty
descriptors instantiated during
buildDataIndividual()
through getNewDataIndividual(SemanticAxiom, Object)
.public static interface Individual.DataLink<O,J,Y extends Semantic.SemanticAxiom<S,?>,S,D extends DataProperty<O,S>> extends Individual<O,J>
Semantic.Descriptor
for the data properties applied to the described individuals.
This Semantic.Descriptor
synchronises only the specified data 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
(getDataSemantics()
.
Anyway if the Semantic.SemanticAxioms
is leaved empty during readSemantic()
it maps all the data 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> |
buildDataIndividual()
Create an
Semantic.Descriptor set where each element
represents the specified data properties applied to this this description. |
Semantic.Axioms<Y> |
getDataSemantics()
Returns the
Semantic.Axioms that describes the specified data properties applied to
this Individual ; from a no OOP point of view. |
D |
getNewDataIndividual(Y instance,
O ontology)
This method is called by
buildDataIndividual() and
its purpose is to instantiate a new DataProperty to represent
a data value applied to this Individual Semantic.Descriptor . |
Semantic.Axioms<Y> |
queryDataIndividual()
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> |
synchroniseDataIndividualFromSemantic()
It calls
Semantic.SemanticAxioms.synchroniseFrom(Axioms) with queryDataIndividual()
as input parameter. |
default Semantic.Axioms.SynchronisationIntent<Y> |
synchroniseDataIndividualToSemantic()
It calls
Semantic.SemanticAxioms.synchroniseTo(Axioms) with queryDataIndividual()
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> buildDataIndividual()
Semantic.Descriptor
set where each element
represents the specified data properties applied to this this
description.
Each of DataProperty
s are instantiated
through the method getNewDataIndividual(SemanticAxiom, Object)
;
this is called for all getDataSemantics()
.DataProperty
s that describes the
entities that are applied to this
described ontological individual.D getNewDataIndividual(Y instance, O ontology)
buildDataIndividual()
and
its purpose is to instantiate a new DataProperty
to represent
a data value applied to this
Individual
Semantic.Descriptor
.instance
- the instance to ground the new Individual.DataLink
.ontology
- the ontology in which ground the new DataProperty
.Semantic.Descriptor
for all the data properties
that are applied to this
interface.Semantic.Axioms<Y> getDataSemantics()
Semantic.Axioms
that describes the specified data properties applied to
this
Individual
; from a no OOP point of view.this
individual.Semantic.Axioms<Y> queryDataIndividual()
this
Semantic.Descriptor
.Semantic.SemanticAxioms
contained the data properties of Semantic.Descriptor.getInstance()
;
into the OWL structure.default Semantic.Axioms.SynchronisationIntent<Y> synchroniseDataIndividualToSemantic()
Semantic.SemanticAxioms.synchroniseTo(Axioms)
with queryDataIndividual()
as input parameter. This computes the changes to be performed in the OWL representation
for synchronise it with respect to getDataSemantics()
. This should
be done by Semantic.Descriptor.writeSemantic()
.this
structure with
the data properties applied on Semantic.Descriptor.getInstance()
; to the OWL representation.default Semantic.Axioms.SynchronisationIntent<Y> synchroniseDataIndividualFromSemantic()
Semantic.SemanticAxioms.synchroniseFrom(Axioms)
with queryDataIndividual()
as input parameter. This computes the changes to be performed into the getDataSemantics()
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
.