O
- the ontology.J
- the type of Ground
and EntitySet
managed by this Descriptor
.Y
- the type of ExpressionEntity
synchronised by this descriptorS
- the type of expression described by this class (i.e.: OWLObjectProperty
)D
- the type of the DataProperty
descriptors instantiated during
buildObjectProperties()
through #getNewObjectProperty(ExpressionEntity, Object)
.public static interface Individual.ObjectLink<O,J,Y extends Axiom.ExpressionEntity<S,?>,S,D extends ObjectProperty<O,S>> extends Individual<O,J>
Individual
to have the Individual.ObjectLink
expression.
Individual
synchronises only the specified object property and its
relative values for an individualDescriptor (i.e.: the Ground#getGroundInstance()
).
By default, the synchronisation occurs only for the proprieties whose expression
has been initialised in the ExpressionEntitySet
(getObjectProperties()
).
If the ExpressionEntitySet
is left empty during readAxioms()
it maps all the object properties applied to the described individualDescriptor.
Individual.DataLink<O,J,Y extends Axiom.ExpressionEntity<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 Axiom.ExpressionEntity<S,?>,S,D extends ObjectProperty<O,S>>, Individual.Type<O,J,Y,D extends Class<O,Y>>
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> |
buildObjectProperties()
Create an
Axiom.Descriptor set where each element
represents the specified object properties applied to this this description. |
D |
getNewObjectProperty(Y instance,
O ontology)
This method is called by
buildObjectProperties() and
its purpose is to instantiate a new ObjectProperty to represent
an object value applied to this Individual Descriptor . |
Axiom.EntitySet<Y> |
getObjectProperties()
Returns the
EntitySet that describes the specified object properties applied to
this Individual ; from a no OOP point of view. |
Axiom.EntitySet<Y> |
queryObjectProperties()
Queries to the OWL representation for the data properties applied to
this Descriptor . |
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<Y> |
synchroniseObjectPropertiesFromExpressionAxioms()
It calls
ExpressionEntitySet#synchroniseFrom(EntitySet) with queryObjectProperties()
as input parameter. |
default Axiom.EntitySet.SynchronisationIntent<Y> |
synchroniseObjectPropertiesToExpressionAxioms()
It calls
ExpressionEntitySet#synchroniseTo(EntitySet) with queryObjectProperties()
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> buildObjectProperties()
Axiom.Descriptor
set where each element
represents the specified object properties applied to this this
description.
Each of ObjectProperty
s are instantiated
through the method #getNewObjectProperty(ExpressionEntity, Object)
;
this is called for all getObjectProperties()
.ObjectProperty
s that describes the
entities that are applied to this
described ontological individualDescriptor.D getNewObjectProperty(Y instance, O ontology)
buildObjectProperties()
and
its purpose is to instantiate a new ObjectProperty
to represent
an object value applied to this
Individual
Descriptor
.instance
- the instance to ground the new ObjectProperty
.ontology
- the ontology in which ground the new ObjectProperty
.Axiom.Descriptor
for all the object properties
that are applied to this
interface.Axiom.EntitySet<Y> getObjectProperties()
EntitySet
that describes the specified object properties applied to
this
Individual
; from a no OOP point of view.this
individualDescriptor.Axiom.EntitySet<Y> queryObjectProperties()
this
Descriptor
.ExpressionEntitySet
contained the object properties of Axiom.Descriptor.getInstance()
;
into the OWL structure.default Axiom.EntitySet.SynchronisationIntent<Y> synchroniseObjectPropertiesToExpressionAxioms()
ExpressionEntitySet#synchroniseTo(EntitySet)
with queryObjectProperties()
as input parameter. This computes the changes to be performed in the OWL representation
for synchronise it with respect to getObjectProperties()
. This should
be done by Axiom.Descriptor.writeAxioms()
.this
structure with
the object properties applied on Axiom.Descriptor.getInstance()
; to the OWL representation.default Axiom.EntitySet.SynchronisationIntent<Y> synchroniseObjectPropertiesFromExpressionAxioms()
ExpressionEntitySet#synchroniseFrom(EntitySet)
with queryObjectProperties()
as input parameter. This computes the changes to be performed into the getObjectProperties()
in order to synchronise it with respect to an OWL representation. This is
be done by readAxioms()
.Axiom.Descriptor.getInstance()
;
from an OWL representation to this
Descriptor
.