|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use OntologyException | |
| sl | |
| Uses of OntologyException in sl |
| Subclasses of OntologyException in sl | |
(package private) static class |
Frame.NoSuchSlotException
|
(package private) static class |
FrameSchema.WrongSlotTypeException
|
| Methods in sl that throw OntologyException | |
void |
DefaultOntology.addRole(java.lang.String roleName,
SlotDescriptor[] slots)
Adds a new role to this ontology, without a user defined Java class to represent it. |
void |
DefaultOntology.addRole(java.lang.String roleName,
SlotDescriptor[] slots,
java.lang.Class newClass)
Adds a new role to this ontology, with a user defined Java class to represent it. |
void |
DefaultOntology.joinOntology(Ontology o)
Adds to this ontology all roles included into another ontology |
java.util.List |
DefaultOntology.createObject(java.util.List v)
Creates a List of Java objects from the given list of frame. |
private java.lang.Object |
DefaultOntology.createSingleObject(Frame f)
|
Frame |
DefaultOntology.createFrame(java.lang.Object o,
java.lang.String roleName)
Creates a frame from a given Java Object representing an instance of a given role. |
void |
DefaultOntology.check(Frame f)
Checks whether a given frame is correct with respect to this ontology. |
void |
DefaultOntology.check(java.lang.Object o,
java.lang.String roleName)
Checks whether a given Java object is correct with respect to the given role in this ontology. |
boolean |
DefaultOntology.isRole(java.lang.String roleName)
Checks whether a given string is the name of a role in this ontology. |
SlotDescriptor[] |
DefaultOntology.getSlots(java.lang.String roleName)
Get the descriptions for all the slots that define the structure of a given ontological role. |
java.lang.String |
DefaultOntology.getRoleName(java.lang.Class c)
|
private java.lang.Class |
DefaultOntology.checkGetAndSet(java.lang.String name,
java.lang.Class c)
|
private java.lang.Class |
DefaultOntology.checkGetAndSet2(java.lang.String name,
java.lang.Class c)
This method checks for correct get and set methods for the current descriptor and retrieves the implementation type. |
private void |
DefaultOntology.checkClass(java.lang.String roleName,
java.lang.Class c)
|
private java.lang.Object |
DefaultOntology.initObject(Frame f,
java.lang.Object entity,
java.lang.Class theRoleClass)
|
private void |
DefaultOntology.buildFromObject(Frame f,
FrameSchema fs,
java.lang.Object o,
java.lang.Class theRoleClass)
|
private java.lang.reflect.Method |
DefaultOntology.findMethodCaseInsensitive(java.lang.String name,
java.lang.Class c)
|
java.lang.String |
DefaultOntology.fromSL0String(java.lang.String str)
|
void |
DefaultOntology.fromMetaOntologyRepresentation(AnOntology o)
|
java.lang.String |
DefaultOntology.toSL0String(java.lang.String ontologyName)
Writes the ontology represented by this Ontology object as an SL-0 expression. |
java.lang.Object |
DefaultOntology.create(Frame f)
|
java.lang.Object |
Frame.getSlot(java.lang.String name)
Retrieves a named slot from this frame, by name. |
java.lang.Object |
Frame.getSlot(int position)
Retrieves an unnamed slot from this frame, by position. |
java.lang.String |
Frame.getSlotName(int position)
|
void |
FrameSchema.checkAgainst(Frame f)
|
void |
Ontology.addRole(java.lang.String roleName,
SlotDescriptor[] slots)
Adds to the ontology a role without any application-specific class representing it. |
void |
Ontology.addRole(java.lang.String roleName,
SlotDescriptor[] slots,
java.lang.Class c)
Adds to the ontology a role with an application-specific class representing it. |
void |
Ontology.joinOntology(Ontology o)
Adds to this ontology all roles included into another ontology |
java.util.List |
Ontology.createObject(java.util.List v)
Creates a list of Java objects representing each one an instance of a given role, getting the information from a given List of Frame
objects. |
Frame |
Ontology.createFrame(java.lang.Object o,
java.lang.String roleName)
Creates a Frame object from a given Java object. |
void |
Ontology.check(Frame f)
Checks whether the given Frame object represents a valid
instance of some role, making sure that every slot has the correct
category and type and that no mandatory slot has a null value. |
void |
Ontology.check(java.lang.Object o,
java.lang.String roleName)
Checks whether the given Java object represents a valid instance of some role, making sure that every slot has the correct category and type and that no mandatory slot has a null value. |
boolean |
Ontology.isRole(java.lang.String roleName)
Tells whether a given string is the name of a role in the current ontology. |
SlotDescriptor[] |
Ontology.getSlots(java.lang.String roleName)
Returns the array of SlotDescriptor objects that
represent the structure of the given ontological role. |
java.lang.String |
Ontology.getRoleName(java.lang.Class c)
|
java.lang.Object |
Ontology.create(Frame f)
Creates an object, starting from a given frame. |
java.lang.String |
Ontology.fromSL0String(java.lang.String str)
This method initialized this ontology object on the basis of its representation as an SL-0 expression. |
java.lang.String |
Ontology.toSL0String(java.lang.String ontologyName)
This method encodes the current ontology according to the SL-0 syntax and the JADE-meta-ontology ontology. |
void |
Ontology.fromMetaOntologyRepresentation(AnOntology o)
Initialize this ontology based on the passed meta-ontology |
private void |
SL0Encoder.writeFrame(Frame f,
java.io.Writer w)
|
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||