public class ObjectLinkIndividualDesc extends IndividualGround implements IndividualExpression.ObjectLink<FullObjectPropertyDesc>
IndividualExpression
interface:
IndividualExpression.ObjectLink
: to describe an ObjectProperty and Individuals related via that ObjectProperty, for an Individual.
Doing build() with this Descriptor returns another descriptor of type FullObjectPropertyDesc
.
FullIndividualDesc
for an example of a 'compound' Individual Descriptor that implements all IndividualExpressions.
IndividualExpression.DataLink<D extends DataPropertyExpression>, IndividualExpression.Disjoint<D extends IndividualExpression>, IndividualExpression.Equivalent<D extends IndividualExpression>, IndividualExpression.ObjectLink<D extends ObjectPropertyExpression>, IndividualExpression.Type<D extends ClassExpression>
Axiom.Descriptor.OntologyReference
DescriptorGroundInterface.ConceptGroundInstance, DescriptorGroundInterface.DataGroundInstance, DescriptorGroundInterface.GroundInstance<J extends org.semanticweb.owlapi.model.OWLObject>, DescriptorGroundInterface.IndividualGroundInstance, DescriptorGroundInterface.ObjectGroundInstance
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>
NL
Constructor and Description |
---|
ObjectLinkIndividualDesc(java.lang.String instanceName,
it.emarolab.amor.owlInterface.OWLReferences onto) |
Modifier and Type | Method and Description |
---|---|
FullObjectPropertyDesc |
getNewObjectProperty(ObjectLinks instance,
it.emarolab.amor.owlInterface.OWLReferences ontology)
This method is called by
Individual.ObjectLink.buildObjectProperties() and
its purpose is to instantiate a new ObjectProperty to represent
an object value applied to this Individual Descriptor . |
ObjectLinkSet |
getObjectProperties()
Returns the
EntitySet that describes the specified object properties applied to
this Individual ; from a no OOP point of view. |
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. |
java.lang.String |
toString() |
java.util.List<Axiom.MappingIntent> |
writeAxioms()
This method is used to update the ontology with a specific
Axiom.EntitySet (or Axiom.ExpressionEntitySet )
by synchronizing the OWL representation with the internal state of the descriptor, such that they are equal. |
getGround, getNewGround, getNewGround
copyGround, equals, getGroundInstanceName, hashCode, reason, setGround, setGroundInstance, setGroundInstance
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addObject, addObject, addObject, addObject, addObject, addObject, addObject, addObject, addObject, addObject, getIndividualFromObjectProperty, getIndividualFromObjectProperty, getIndividualsFromObjectProperty, getIndividualsFromObjectProperty, queryObjectProperties, removeEmptyDataProprtySet, removeObject, removeObject, removeObject, removeObject, removeObject
buildObjectProperties, synchroniseObjectPropertiesFromExpressionAxioms, synchroniseObjectPropertiesToExpressionAxioms
getGroundInstance, getGroundOntology
activateAMORlogging, getChangingIntent, getGround, getGroundInstanceName, getInstance, getIntent, getOntologyReference, groundReason, writeAxiomsReasonReadAxioms, writeAxiomsReasonReadAxioms
getOntologyName, getOWLClass, getOWLDataFactory, getOWLDataProperty, getOWLDataType, getOWLIndividual, getOWLLiteral, getOWLName, getOWLName, getOWLObjectProperty, getOWLOntology, getOWLReasoner, isCompleteQuery, isReasonedQuery, reason, saveOntology, saveOntology, setCompleteQuery, setReasonedQuery
copyGround
public ObjectLinkIndividualDesc(java.lang.String instanceName, it.emarolab.amor.owlInterface.OWLReferences onto)
public 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<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLNamedIndividual>
readAxioms
in interface Individual.ObjectLink<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLNamedIndividual,ObjectLinks,org.semanticweb.owlapi.model.OWLObjectProperty,FullObjectPropertyDesc>
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
).public java.util.List<Axiom.MappingIntent> writeAxioms()
Axiom.Descriptor
Axiom.EntitySet
(or Axiom.ExpressionEntitySet
)
by synchronizing the OWL representation with the internal state of the descriptor, such that they are equal.
It is based on EntitySet#synchroniseTo(EntitySet)
.writeAxioms
in interface Axiom.Descriptor<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLNamedIndividual>
writeAxioms
in interface IndividualExpression.ObjectLink<FullObjectPropertyDesc>
Axiom.MappingIntent.getOntologyChanges()
field
initialised (i.e.: OWLOntologyChange
).public FullObjectPropertyDesc getNewObjectProperty(ObjectLinks instance, it.emarolab.amor.owlInterface.OWLReferences ontology)
Individual.ObjectLink
Individual.ObjectLink.buildObjectProperties()
and
its purpose is to instantiate a new ObjectProperty
to represent
an object value applied to this
Individual
Descriptor
.getNewObjectProperty
in interface Individual.ObjectLink<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLNamedIndividual,ObjectLinks,org.semanticweb.owlapi.model.OWLObjectProperty,FullObjectPropertyDesc>
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.public ObjectLinkSet getObjectProperties()
Individual.ObjectLink
EntitySet
that describes the specified object properties applied to
this
Individual
; from a no OOP point of view.getObjectProperties
in interface Individual.ObjectLink<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLNamedIndividual,ObjectLinks,org.semanticweb.owlapi.model.OWLObjectProperty,FullObjectPropertyDesc>
getObjectProperties
in interface IndividualExpression.ObjectLink<FullObjectPropertyDesc>
this
individualDescriptor.public java.lang.String toString()
toString
in class java.lang.Object