jade.content.lang.leap
Class InstanceOf

java.lang.Object
  |
  +--jade.content.lang.leap.InstanceOf

public class InstanceOf
extends java.lang.Object
implements Predicate, Introspectable


Constructor Summary
InstanceOf()
           
InstanceOf(Concept c, java.lang.String t)
           
 
Method Summary
 void externalise(AbsObject abs, Ontology onto)
          Externalise this object into the given abstract descriptor
 Concept getEntity()
           
 java.lang.String getType()
           
 void internalise(AbsObject abs, Ontology onto)
          Internalise this object from a given abstract descriptor
 void setEntity(Concept c)
           
 void setType(java.lang.String t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceOf

public InstanceOf()

InstanceOf

public InstanceOf(Concept c,
                  java.lang.String t)
Method Detail

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 from
onto - The reference ontology
Throws:
UngroundedException - If the abstract descriptor contains a variable
OntologyException - If some error occurs during the internalisation