O
- the ontology.J
- the type of Ground
and EntitySet
managed by this Descriptor
.Y
- the type of restriction for the EntitySet
managed by this Descriptor
.D
- the type of the Class
descriptors instantiated during
buildTypes()
through getNewType(Object, Object)
.public static interface Individual.Type<O,J,Y,D extends Class<O,Y>> extends Individual<O,J>
Individual
to have the Individual.Type
expression.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> |
buildTypes()
Create an
Axiom.Descriptor set where each element
represents the classes in which this individualDescriptor is belonging to. |
D |
getNewType(Y instance,
O ontology)
This method is called by
buildTypes() and
its purpose is to instantiate a new Class to represent
the types of this Individual Descriptor . |
Axiom.EntitySet<Y> |
getTypes()
Returns the
EntitySet that describes all the classes in which
this Individual is belonging to, from a no OOP point of view. |
Axiom.EntitySet<Y> |
queryTypes()
Queries to the OWL representation for the types of
this individualDescriptor. |
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> |
synchroniseTypesFromExpressionAxioms()
It calls
EntitySet#synchroniseFrom(EntitySet) with queryTypes()
as input parameter. |
default Axiom.EntitySet.SynchronisationIntent<Y> |
synchroniseTypesToExpressionAxioms()
It calls
EntitySet#synchroniseTo(EntitySet) with queryTypes()
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> buildTypes()
Axiom.Descriptor
set where each element
represents the classes in which this
individualDescriptor is belonging to.
Each of Class
s are instantiated
through the method getNewType(Object, Object)
;
this is called for all getTypes()
.Class
s that describes the
entities in which this
described ontological individualDescriptor
is belonging to.D getNewType(Y instance, O ontology)
buildTypes()
and
its purpose is to instantiate a new Class
to represent
the types of this
Individual
Descriptor
.instance
- the instance to ground the new Class
.ontology
- the ontology in which ground the new Class
.Axiom.Descriptor
for all the classes
in which this
individualDescriptor is belonging to.Axiom.EntitySet<Y> getTypes()
EntitySet
that describes all the classes in which
this
Individual
is belonging to, from a no OOP point of view.this
individualDescriptor.Axiom.EntitySet<Y> queryTypes()
this
individualDescriptor.EntitySet
contained the classes in which Axiom.Descriptor.getInstance()
is belonging to, into the OWL structure.default Axiom.EntitySet.SynchronisationIntent<Y> synchroniseTypesToExpressionAxioms()
EntitySet#synchroniseTo(EntitySet)
with queryTypes()
as input parameter. This computes the changes to be performed in the OWL representation
for synchronise it with respect to getTypes()
. This should
be done by Axiom.Descriptor.writeAxioms()
.this
structure with
the classes in which Axiom.Descriptor.getInstance()
is belonging to, in the OWL representation.default Axiom.EntitySet.SynchronisationIntent<Y> synchroniseTypesFromExpressionAxioms()
EntitySet#synchroniseFrom(EntitySet)
with queryTypes()
as input parameter. This computes the changes to be performed into the getTypes()
in order to synchronise it with respect to an OWL representation. This is
be done by readAxioms()
.Axiom.Descriptor.getInstance()
individualDescriptor is belonging to, from an OWL representation to this
descriptor.