jade.content.lang.leap
Class InstanceOf
java.lang.Object
|
+--jade.content.lang.leap.InstanceOf
- public class InstanceOf
- extends java.lang.Object
- implements Predicate, Introspectable
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
InstanceOf
public InstanceOf()
InstanceOf
public InstanceOf(Concept c,
java.lang.String t)
getEntity
public Concept getEntity()
setEntity
public void setEntity(Concept c)
getType
public java.lang.String getType()
setType
public void setType(java.lang.String t)
externalise
public void externalise(AbsObject abs,
Ontology onto)
throws OntologyException
- Description copied from interface: Introspectable
- Externalise this object into the given abstract descriptor
- Specified by:
- externalise in interface Introspectable
- Tags copied from interface: Introspectable
- Parameters:
abs
- The abstract descriptor this object must externalise
itself into.onto
- The reference ontology- Throws:
- OntologyException - If some error occurs during the externalisation
internalise
public void internalise(AbsObject abs,
Ontology onto)
throws UngroundedException,
OntologyException
- Description copied from interface: Introspectable
- Internalise this object from a given abstract descriptor
- Specified by:
- internalise in interface Introspectable
- Tags copied from interface: Introspectable
- Parameters:
abs
- The abstract descriptor this object must internalise
itself fromonto
- The reference ontology- Throws:
- UngroundedException - If the abstract descriptor
contains a variable
- OntologyException - If some error occurs during the internalisation