pt.ua.bioinformatics.coeus.data
Class Predicate

java.lang.Object
  extended by pt.ua.bioinformatics.coeus.data.Predicate

public class Predicate
extends java.lang.Object

Class handler for predicate/property information in COEUS Ontology.


Field Summary
static java.util.HashMap<java.lang.String,com.hp.hpl.jena.rdf.model.Property> predicates
           
 
Constructor Summary
Predicate()
           
 
Method Summary
static void add(java.lang.String shortname, com.hp.hpl.jena.rdf.model.Property predicate)
          Add new Predicate (Property) to in-memory predicate HashMap.
static com.hp.hpl.jena.rdf.model.Property get(java.lang.String what)
           
static java.util.HashMap<java.lang.String,com.hp.hpl.jena.rdf.model.Property> getPredicates()
           
static void list()
          Helper method to list all predicates in COEUS SDB.
static void setPredicates(java.util.HashMap<java.lang.String,com.hp.hpl.jena.rdf.model.Property> predicates)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

predicates

public static java.util.HashMap<java.lang.String,com.hp.hpl.jena.rdf.model.Property> predicates
Constructor Detail

Predicate

public Predicate()
Method Detail

getPredicates

public static java.util.HashMap<java.lang.String,com.hp.hpl.jena.rdf.model.Property> getPredicates()

setPredicates

public static void setPredicates(java.util.HashMap<java.lang.String,com.hp.hpl.jena.rdf.model.Property> predicates)

get

public static com.hp.hpl.jena.rdf.model.Property get(java.lang.String what)

add

public static void add(java.lang.String shortname,
                       com.hp.hpl.jena.rdf.model.Property predicate)
Add new Predicate (Property) to in-memory predicate HashMap.

Parameters:
shortname - the Predicate shortname with :.
predicate - the predicate Property (in Jena's structure).

list

public static void list()
Helper method to list all predicates in COEUS SDB.