J
- the type of ontological entity to be manipulated in the ontology by a Descriptor.public abstract static class MORGrounding.GroundBase<J extends org.semanticweb.owlapi.model.OWLObject> extends java.lang.Object implements MORGrounding<J>
MORGrounding
s.
It describes common implementation for the: MORGrounding.IndividualInstance
,
MORGrounding.ConceptInstance
, MORGrounding.DataInstance
and
MORGrounding.ObjectInstance
. It poses the instance to be an
OWLObject
while the ontology to be an OWLReferences
,
following the aMOR API.
MORGrounding.ConceptInstance, MORGrounding.DataInstance, MORGrounding.GroundBase<J extends org.semanticweb.owlapi.model.OWLObject>, MORGrounding.IndividualInstance, MORGrounding.ObjectInstance
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 | Constructor and Description |
---|---|
|
GroundBase(it.emarolab.amor.owlInterface.OWLReferences ontology,
J instance)
Fully instanciate this class
|
protected |
GroundBase(MORGrounding.GroundBase<J> copy)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract MORGrounding.GroundBase<J> |
copyGround()
Make a new copyGround of this object.
|
boolean |
equals(java.lang.Object o) |
J |
getGroundInstance()
Describes the instances in which a
Semantic.Descriptor
will apply its synchronisations. |
it.emarolab.amor.owlInterface.OWLReferences |
getGroundOntology()
Describes the ontology in which a
Semantic.Descriptor will
apply its synchronisations. |
int |
hashCode() |
void |
reason()
It calls
OWLReferences.synchronizeReasoner() in order to performs
reasoning over the actual state of the ontology. |
void |
setInstance(J instance)
It change the instance to be grounded in the same
MORGrounding.getOWLOntology() , |
abstract void |
setInstance(java.lang.String instanceName)
It change the instance to be grounded in the same
MORGrounding.getOWLOntology() , |
java.lang.String |
toString() |
aMORlogging, getOntologyName, getOWLClass, getOWLDataFactory, getOWLDataProperty, getOWLDataType, getOWLIndividual, getOWLLiteral, getOWLName, getOWLName, getOWLObjectProperty, getOWLOntology, getReasoner, isCompleteQuery, isReasonedQuery, saveOntology, saveOntology, setCompleteQuery, setReasonedQuery
protected J extends org.semanticweb.owlapi.model.OWLObject instance
public GroundBase(it.emarolab.amor.owlInterface.OWLReferences ontology, J instance)
ontology
- the ontology in which the related Semantic.Descriptor
will operate.instance
- the ontological entities to be described.protected GroundBase(MORGrounding.GroundBase<J> copy)
copyGround()
.copy
- the ground to copyGround in a new
instancepublic it.emarolab.amor.owlInterface.OWLReferences getGroundOntology()
Semantic.Ground
Semantic.Descriptor
will
apply its synchronisations.getGroundOntology
in interface Semantic.Ground<it.emarolab.amor.owlInterface.OWLReferences,J extends org.semanticweb.owlapi.model.OWLObject>
Semantic.Axioms
.public J getGroundInstance()
Semantic.Ground
Semantic.Descriptor
will apply its synchronisations.getGroundInstance
in interface Semantic.Ground<it.emarolab.amor.owlInterface.OWLReferences,J extends org.semanticweb.owlapi.model.OWLObject>
Semantic.Axioms
.public abstract MORGrounding.GroundBase<J> copyGround()
Semantic.Ground
Semantic.MappingIntent
independent
for the evolution of the system.
This method should call a specific copyGround constructor.copyGround
in interface Semantic.Ground<it.emarolab.amor.owlInterface.OWLReferences,J extends org.semanticweb.owlapi.model.OWLObject>
public void reason()
MORGrounding
OWLReferences.synchronizeReasoner()
in order to performs
reasoning over the actual state of the ontology.reason
in interface MORGrounding<J extends org.semanticweb.owlapi.model.OWLObject>
reason
in interface Semantic.Ground<it.emarolab.amor.owlInterface.OWLReferences,J extends org.semanticweb.owlapi.model.OWLObject>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public void setInstance(J instance)
MORGrounding.getOWLOntology()
,instance
- the new grounding instance.public abstract void setInstance(java.lang.String instanceName)
MORGrounding.getOWLOntology()
,instanceName
- the new grounding instance name.