Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members

agents.mobileproxy.ontology.ProtegeIntrospector Class Reference

Collaboration diagram for agents.mobileproxy.ontology.ProtegeIntrospector:
[legend]
List of all members.

Public Member Functions

void setOntology (ProtegeTools.ProtegeOntology onto)
AbsObject externalise (Object obj, ObjectSchema schema, Class javaClass, Ontology referenceOnto) throws OntologyException
Object internalise (AbsObject abs, ObjectSchema schema, Class javaClass, Ontology referenceOnto) throws UngroundedException, OntologyException

Protected Member Functions

String translateName (String slotName)

Private Member Functions

String translateName (String jadeName, Class javaClass)

Private Attributes

ProtegeTools.ProtegeOntology protegeOntology

Member Function Documentation

AbsObject agents.mobileproxy.ontology.ProtegeIntrospector.externalise Object  obj,
ObjectSchema  schema,
Class  javaClass,
Ontology  referenceOnto
throws OntologyException
 

Translate an object of a class representing an element in an ontology into a proper abstract descriptor

Parameters:
obj The Object to be translated
schema The schema for the ontological element this object is an instance of.
javaClass The class of the Object to be translated
referenceOnto The reference ontology in the context of this translation.
Returns:
The Abstract descriptor produced by the translation
Exceptions:
OntologyException If some error occurs during the translation

Object agents.mobileproxy.ontology.ProtegeIntrospector.internalise AbsObject  abs,
ObjectSchema  schema,
Class  javaClass,
Ontology  referenceOnto
throws UngroundedException, OntologyException
 

Translate an abstract descriptor into an object of a proper class representing an element in an ontology

Parameters:
abs The abstract descriptor to be translated
schema The schema for the ontological element this abstract descriptor is an instance of.
javaClass The class of the Object to be produced by the translation
referenceOnto The reference ontology in the context of this translation.
Returns:
The Java object produced by the translation
Exceptions:
UngroundedException If the abstract descriptor to be translated contains a variable
OntologyException If some error occurs during the translation

void agents.mobileproxy.ontology.ProtegeIntrospector.setOntology ProtegeTools.ProtegeOntology  onto  ) 
 

String agents.mobileproxy.ontology.ProtegeIntrospector.translateName String  jadeName,
Class  javaClass
[private]
 

String agents.mobileproxy.ontology.ProtegeIntrospector.translateName String  slotName  )  [protected]
 


Member Data Documentation

ProtegeTools.ProtegeOntology agents.mobileproxy.ontology.ProtegeIntrospector.protegeOntology [private]
 


The documentation for this class was generated from the following file:
Generated on Fri Feb 17 09:37:55 2006 for MAG by  doxygen 1.4.4