public class FullClassDesc extends ClassGround implements ClassExpression.EquivalentRestriction, ClassExpression.Disjoint<FullClassDesc>, ClassExpression.Equivalent<FullClassDesc>, ClassExpression.Sub<FullClassDesc>, ClassExpression.Super<FullClassDesc>, ClassExpression.Instance<LinkIndividualDesc>
ClassExpression
) interfaces.
Axioms in this descriptor's internal state (i.e., OWLOOP representation) can be synchronized to/from an OWL ontology.
FullClassDesc
can synchronize all the axioms, that are based on the following ClassExpressions:
ClassExpression.Equivalent
: to describe that a Class is equivalent to another Class.ClassExpression.Disjoint
: to describe that a Class is disjoint to another Class.ClassExpression.Sub
: to describe that a Class subsumes another Class.ClassExpression.Super
: to describe that a Class is a super-class of another Class.ClassExpression.Instance
: to describe an Individual of a Class.ClassExpression.EquivalentRestriction
: to describe the definition of a Class..
ClassExpression.Disjoint<D extends ClassExpression>, ClassExpression.Equivalent<D extends ClassExpression>, ClassExpression.EquivalentRestriction, ClassExpression.Instance<D extends IndividualExpression>, ClassExpression.Sub<D extends ClassExpression>, ClassExpression.Super<D extends ClassExpression>
Class.Restriction<O,J,Y>
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 |
---|
FullClassDesc(org.semanticweb.owlapi.model.OWLClass instance,
it.emarolab.amor.owlInterface.OWLReferences onto) |
FullClassDesc(org.semanticweb.owlapi.model.OWLClass instance,
java.lang.String ontoName) |
FullClassDesc(org.semanticweb.owlapi.model.OWLClass instance,
java.lang.String ontoName,
java.lang.String filePath,
java.lang.String iriPath) |
FullClassDesc(org.semanticweb.owlapi.model.OWLClass instance,
java.lang.String ontoName,
java.lang.String filePath,
java.lang.String iriPath,
boolean bufferingChanges) |
FullClassDesc(java.lang.String instanceName,
it.emarolab.amor.owlInterface.OWLReferences onto) |
FullClassDesc(java.lang.String instanceName,
java.lang.String ontoName) |
FullClassDesc(java.lang.String instanceName,
java.lang.String ontoName,
java.lang.String filePath,
java.lang.String iriPath) |
FullClassDesc(java.lang.String instanceName,
java.lang.String ontoName,
java.lang.String filePath,
java.lang.String iriPath,
boolean bufferingChanges) |
Modifier and Type | Method and Description |
---|---|
void |
clearAll() |
FullClassDesc |
getDisjointClassDescriptor(org.semanticweb.owlapi.model.OWLClass instance,
it.emarolab.amor.owlInterface.OWLReferences ontology)
This method is called by
Class.Disjoint.buildDisjointClasses() and
its purpose is to instantiate a new Class to represent
an class disjointed from this Class Descriptor . |
Classes |
getDisjointClasses()
Returns the
EntitySet that describes all the disjointed classes of
this Class from a no OOP point of view. |
FullClassDesc |
getEquivalentClassDescriptor(org.semanticweb.owlapi.model.OWLClass instance,
it.emarolab.amor.owlInterface.OWLReferences ontology)
This method is called by
Class.Equivalent.buildEquivalentClasses() and
its purpose is to instantiate a new Class to represent
an class equivalent from this Class Descriptor . |
Classes |
getEquivalentClasses()
Returns the
EntitySet that describes all the equivalent classes of
this Class from a no OOP point of view. |
Restrictions |
getEquivalentRestrictions()
Returns the
EntitySet that describes all the definition restriction of
this Class from a no OOP point of view. |
LinkIndividualDesc |
getIndividualDescriptor(org.semanticweb.owlapi.model.OWLNamedIndividual instance,
it.emarolab.amor.owlInterface.OWLReferences ontology)
This method is called by
Class.Instance.buildIndividuals() and
its purpose is to instantiate a new Individual to represent
an individualDescriptor classified in this Class Descriptor . |
Individuals |
getIndividuals()
Returns the
EntitySet that describes all the individualDescriptor classified
in this Class from a no OOP point of view. |
FullClassDesc |
getSubClassDescriptor(org.semanticweb.owlapi.model.OWLClass instance,
it.emarolab.amor.owlInterface.OWLReferences ontology)
This method is called by
Class.Sub.buildSubClasses() and
its purpose is to instantiate a new Class to represent
an sub class of this Class Descriptor . |
Classes |
getSubClasses()
|
FullClassDesc |
getSuperClassDescriptor(org.semanticweb.owlapi.model.OWLClass instance,
it.emarolab.amor.owlInterface.OWLReferences ontology)
This method is called by
Class.Super.buildSuperClasses() and
its purpose is to instantiate a new Class to represent
an super class of this Class Descriptor . |
Classes |
getSuperClasses()
Returns the
EntitySet that describes all the super classes of
this Class 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
addClassRestriction, addClassRestriction, addExactDataRestriction, addExactDataRestriction, addExactObjectRestriction, addExactObjectRestriction, addMaxDataRestriction, addMaxDataRestriction, addMaxObjectRestriction, addMaxObjectRestriction, addMinDataRestriction, addMinDataRestriction, addMinObjectRestriction, addMinObjectRestriction, addOnlyDataRestriction, addOnlyDataRestriction, addOnlyObjectRestrcition, addOnlyObjectRestrcition, addSomeDataRestriction, addSomeDataRestriction, addSomeObjectRestrcition, addSomeObjectRestrcition, createClassRestriction, createClassRestriction, createExactDataRestriction, createExactDataRestriction, createExactObjectRestriction, createExactObjectRestriction, createMaxDataRestriction, createMaxDataRestriction, createMaxObjectRestriction, createMaxObjectRestriction, createMinDataRestriction, createMinDataRestriction, createMinObjectRestriction, createMinObjectRestriction, createOnlyDataRestriction, createOnlyDataRestriction, createOnlyObjectRestriction, createOnlyObjectRestriction, createSomeDataRestriction, createSomeDataRestriction, createSomeObjectRestriction, createSomeObjectRestriction, queryEquivalentRestrictions, removeClassRestriction, removeExactDataRestriction, removeExactDataRestriction, removeExactObjectRestriction, removeExactObjectRestriction, removeMaxDataRestriction, removeMaxDataRestriction, removeMaxObjectRestriction, removeMaxObjectRestriction, removeMinDataRestriction, removeMinDataRestriction, removeMinObjectRestriction, removeMinObjectRestriction, removeOnlyDataRestriction, removeOnlyDataRestriction, removeOnlyObjectRestrcition, removeOnlyObjectRestrcition, removeSomeDataRestriction, removeSomeDataRestriction, removeSomeObjectRestrcition, removeSomeObjectRestrcition, remvoveClassRestriction
synchroniseEquivalentRestrictionsFromExpressionAxioms, synchroniseEquivalentRestrictionsToExpressionAxioms
addDisjointClass, addDisjointClass, queryDisjointClasses, removeDisjointClass, removeDisjointClass
buildDisjointClasses, synchroniseDisjointClassesFromExpressionAxioms, synchroniseDisjointClassesToExpressionAxioms
addEquivalentClass, addEquivalentClass, queryEquivalentClasses, removeEquivalentClass, removeEquivalentClass
buildEquivalentClasses, synchroniseEquivalentClassesFromExpressionAxioms, synchroniseEquivalentClassesToExpressionAxioms
addSubClass, addSubClass, querySubClasses, removeSubClass, removeSubClass
buildSubClasses, synchroniseSubClassesFromExpressionAxioms, synchroniseSubClassesToExpressionAxioms
addSuperClass, addSuperClass, querySuperClasses, removeSuperClass, removeSuperClass
buildSuperClasses, synchroniseSuperClassesFromExpressionAxioms, synchroniseSuperClassesToExpressionAxioms
addIndividual, addIndividual, queryIndividuals, removeIndividual, removeIndividual
buildIndividuals, synchroniseIndividualsFromExpressionAxioms, synchroniseIndividualsToExpressionAxioms
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 FullClassDesc(org.semanticweb.owlapi.model.OWLClass instance, it.emarolab.amor.owlInterface.OWLReferences onto)
public FullClassDesc(java.lang.String instanceName, it.emarolab.amor.owlInterface.OWLReferences onto)
public FullClassDesc(org.semanticweb.owlapi.model.OWLClass instance, java.lang.String ontoName)
public FullClassDesc(org.semanticweb.owlapi.model.OWLClass instance, java.lang.String ontoName, java.lang.String filePath, java.lang.String iriPath)
public FullClassDesc(org.semanticweb.owlapi.model.OWLClass instance, java.lang.String ontoName, java.lang.String filePath, java.lang.String iriPath, boolean bufferingChanges)
public FullClassDesc(java.lang.String instanceName, java.lang.String ontoName)
public FullClassDesc(java.lang.String instanceName, java.lang.String ontoName, java.lang.String filePath, java.lang.String iriPath)
public FullClassDesc(java.lang.String instanceName, java.lang.String ontoName, java.lang.String filePath, java.lang.String iriPath, boolean bufferingChanges)
public void clearAll()
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.OWLClass>
readAxioms
in interface Class.Disjoint<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLClass,FullClassDesc>
readAxioms
in interface Class.Equivalent<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLClass,FullClassDesc>
readAxioms
in interface Class.Instance<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLClass,org.semanticweb.owlapi.model.OWLNamedIndividual,LinkIndividualDesc>
readAxioms
in interface Class.Restriction<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLClass,it.emarolab.amor.owlInterface.SemanticRestriction>
readAxioms
in interface Class.Sub<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLClass,FullClassDesc>
readAxioms
in interface Class.Super<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLClass,FullClassDesc>
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.OWLClass>
writeAxioms
in interface ClassExpression.Disjoint<FullClassDesc>
writeAxioms
in interface ClassExpression.Equivalent<FullClassDesc>
writeAxioms
in interface ClassExpression.EquivalentRestriction
writeAxioms
in interface ClassExpression.Instance<LinkIndividualDesc>
writeAxioms
in interface ClassExpression.Sub<FullClassDesc>
writeAxioms
in interface ClassExpression.Super<FullClassDesc>
Axiom.MappingIntent.getOntologyChanges()
field
initialised (i.e.: OWLOntologyChange
).public Restrictions getEquivalentRestrictions()
Class.Restriction
EntitySet
that describes all the definition restriction of
this
Class
from a no OOP point of view.getEquivalentRestrictions
in interface Class.Restriction<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLClass,it.emarolab.amor.owlInterface.SemanticRestriction>
getEquivalentRestrictions
in interface ClassExpression.EquivalentRestriction
this
class.public FullClassDesc getDisjointClassDescriptor(org.semanticweb.owlapi.model.OWLClass instance, it.emarolab.amor.owlInterface.OWLReferences ontology)
Class.Disjoint
Class.Disjoint.buildDisjointClasses()
and
its purpose is to instantiate a new Class
to represent
an class disjointed from this
Class
Descriptor
.getDisjointClassDescriptor
in interface Class.Disjoint<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLClass,FullClassDesc>
instance
- the instance to ground the new Class
.ontology
- the ontology in which ground the new Class
.Axiom.Descriptor
for all the classes
disjointed to this
descriptor.public Classes getDisjointClasses()
Class.Disjoint
EntitySet
that describes all the disjointed classes of
this
Class
from a no OOP point of view.getDisjointClasses
in interface Class.Disjoint<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLClass,FullClassDesc>
this
objectpublic FullClassDesc getEquivalentClassDescriptor(org.semanticweb.owlapi.model.OWLClass instance, it.emarolab.amor.owlInterface.OWLReferences ontology)
Class.Equivalent
Class.Equivalent.buildEquivalentClasses()
and
its purpose is to instantiate a new Class
to represent
an class equivalent from this
Class
Descriptor
.getEquivalentClassDescriptor
in interface Class.Equivalent<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLClass,FullClassDesc>
instance
- the instance to ground the new Class
.ontology
- the ontology in which ground the new Class
.Axiom.Descriptor
for all the classes
equivalent to this
descriptor.public Classes getEquivalentClasses()
Class.Equivalent
EntitySet
that describes all the equivalent classes of
this
Class
from a no OOP point of view.getEquivalentClasses
in interface Class.Equivalent<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLClass,FullClassDesc>
this
objectpublic FullClassDesc getSubClassDescriptor(org.semanticweb.owlapi.model.OWLClass instance, it.emarolab.amor.owlInterface.OWLReferences ontology)
Class.Sub
Class.Sub.buildSubClasses()
and
its purpose is to instantiate a new Class
to represent
an sub class of this
Class
Descriptor
.getSubClassDescriptor
in interface Class.Sub<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLClass,FullClassDesc>
instance
- the instance to ground the new Class
.ontology
- the ontology in which ground the new Class
.Axiom.Descriptor
for all the sub classes
of this
descriptor.public Classes getSubClasses()
Class.Sub
getSubClasses
in interface Class.Sub<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLClass,FullClassDesc>
this
class.public FullClassDesc getSuperClassDescriptor(org.semanticweb.owlapi.model.OWLClass instance, it.emarolab.amor.owlInterface.OWLReferences ontology)
Class.Super
Class.Super.buildSuperClasses()
and
its purpose is to instantiate a new Class
to represent
an super class of this
Class
Descriptor
.getSuperClassDescriptor
in interface Class.Super<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLClass,FullClassDesc>
instance
- the instance to ground the new Class
.ontology
- the ontology in which ground the new Class
.Axiom.Descriptor
for all the super classes
of this
descriptor.public Classes getSuperClasses()
Class.Super
EntitySet
that describes all the super classes of
this
Class
from a no OOP point of view.getSuperClasses
in interface Class.Super<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLClass,FullClassDesc>
this
class.public LinkIndividualDesc getIndividualDescriptor(org.semanticweb.owlapi.model.OWLNamedIndividual instance, it.emarolab.amor.owlInterface.OWLReferences ontology)
Class.Instance
Class.Instance.buildIndividuals()
and
its purpose is to instantiate a new Individual
to represent
an individualDescriptor classified in this
Class
Descriptor
.getIndividualDescriptor
in interface Class.Instance<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLClass,org.semanticweb.owlapi.model.OWLNamedIndividual,LinkIndividualDesc>
instance
- the instance to ground the new Individual
.ontology
- the ontology in which ground the new Individual
.Axiom.Descriptor
for all the individuals
classified by this
descriptor.public Individuals getIndividuals()
Class.Instance
EntitySet
that describes all the individualDescriptor classified
in this
Class
from a no OOP point of view.getIndividuals
in interface Class.Instance<it.emarolab.amor.owlInterface.OWLReferences,org.semanticweb.owlapi.model.OWLClass,org.semanticweb.owlapi.model.OWLNamedIndividual,LinkIndividualDesc>
this
objectpublic java.lang.String toString()
toString
in class java.lang.Object