|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.ua.bioinformatics.coeus.data.Storage
public class Storage
COEUS Data Storage key class. Handles all SDB-related stuff.
Storage relies on Jena internal methods and structure.
For further information please check Jena's documentation
Constructor Summary | |
---|---|
Storage()
|
Method Summary | |
---|---|
static boolean |
clear()
Clears configuration information from COEUS SDB. |
static boolean |
connect()
Connects Seed to COEUS SDB. |
static boolean |
connectX()
Connects Seed to COEUS SDB without inference support. |
static com.hp.hpl.jena.rdf.model.InfModel |
getInfmodel()
|
static com.hp.hpl.jena.rdf.model.Model |
getModel()
|
static com.hp.hpl.jena.reasoner.Reasoner |
getReasoner()
|
static com.hp.hpl.jena.sdb.Store |
getStore()
|
static boolean |
isConnected()
|
static boolean |
isLoaded()
|
static boolean |
load()
Storage load handler for new instance builds. |
static boolean |
loadPredicates()
Loads available predicates in COEUS to universal list (Predicate class). |
static boolean |
loadPredicatess()
Loads COEUS Data Predicate information to Predicate singleton for further usage. |
static void |
setConnected(boolean connected)
|
static void |
setInfmodel(com.hp.hpl.jena.rdf.model.InfModel infmodel)
|
static void |
setLoaded(boolean loaded)
|
static void |
setModel(com.hp.hpl.jena.rdf.model.Model model)
|
static void |
setReasoner(com.hp.hpl.jena.reasoner.Reasoner reasoner)
|
static void |
setStore(com.hp.hpl.jena.sdb.Store store)
|
static boolean |
validate()
Validates inferred model validity according to chosen reasoner. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Storage()
Method Detail |
---|
public static boolean isConnected()
public static void setConnected(boolean connected)
public static com.hp.hpl.jena.rdf.model.InfModel getInfmodel()
public static void setInfmodel(com.hp.hpl.jena.rdf.model.InfModel infmodel)
public static boolean isLoaded()
public static void setLoaded(boolean loaded)
public static com.hp.hpl.jena.rdf.model.Model getModel()
public static void setModel(com.hp.hpl.jena.rdf.model.Model model)
public static com.hp.hpl.jena.reasoner.Reasoner getReasoner()
public static void setReasoner(com.hp.hpl.jena.reasoner.Reasoner reasoner)
public static com.hp.hpl.jena.sdb.Store getStore()
public static void setStore(com.hp.hpl.jena.sdb.Store store)
public static boolean connect()
Connection information must be available in JS configuration file, sdb property.
public static boolean connectX()
Connection information must be available in JS configuration file, sdb property.
public static boolean clear()
public static boolean load()
Workflow
public static boolean loadPredicatess()
Workflow
public static boolean loadPredicates()
public static boolean validate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |