Class Summary |
AnnotationReader |
This class implements a reader for user defined annotations. |
AnnotationsAttribute |
This class represents RuntimeVisibleAnnotations for the BCEL programs. |
ClassWrapper |
This class maintains the correlation between a Java class and an OWL class. |
FileClassLoader |
This class loader loads a class from a file which is given by a pathname. |
IndividualWrapper |
The instances of this class maintain the correspondences between Java-objects and OWL-individuals. |
J2OClassManager |
This class manages all correspondences between Java-classes and OWL-classes. |
J2OCompiler |
This class is for translating Java-classes into OWL-classes. |
J2OIndividualManager |
This class is for mapping Java-Objects to OWL-individuals and vice versa. |
J2OManager |
This is the top manager for the Java2OWL system. |
J2OOntologyManager |
This class manages the ontologies for the Java2OWL-System. |
J2OSynchroniser |
This is the program which manipulates the annotated compiled class files to
insert the code for synchronising Java and OWL. |
J2OSynchroniserAgent |
This program installs the synchroniser which transforms OWL-annotated compiled Java-classes
to add the synchroniser code. |
Logging |
This is an interface to Java's Logger system. |
PropertyWrapper |
This class represents the correspondences between Java accessor groups and OWL-Properties. |
PropertyWrapperMappingRelational |
for accessor groups of Map-type, for example HashMap> or HashMap
HashMap<String,Set<TestMapper>> friends = new HashMap<String,Set<TestMapper>>();
@J2OWLProperty(name = "hasFriends", setter = "setFriends", adder="addFriends,addFriend", remover="removeFriends,removeFriend",
clearer="clearFriends")
public HashMap<String,Set<TestMapper>> getFriends() {return friends;}
public void setFriends(Object friends) {
assert(friends instanceof HashMap);
this.friends = (HashMap<String,Set<TestMapper>>)friends;}
public Set<TestMapper> getFriends(String key) {return friends.get(key);}
public void addFriends(String key, Object f1) {
assert(f1 instanceof Set);
friends.put(key,(Set<TestMapper>)f1);}
public void addFriend(String key, TestMapper f) {
if(friends.get(key) == null) {friends.put(key,new HashSet<TestMapper>());}
friends.get(key).add(f);
}
public void removeFriends(String key) {friends.remove(key);}
public void removeFriend(String key,TestMapper f) {
Object fr = friends.get(key);
if(fr ! |
Utilities |
This is a collection of useful static methods. |