|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.ua.bioinformatics.coeus.common.Builder
public class Builder
Seed builder class.
General class handler for loading new data into COEUS SDB.
Constructor Summary | |
---|---|
Builder()
|
Method Summary | |
---|---|
static boolean |
build()
Instance builder. |
static boolean |
build(java.lang.String resource)
Instance builder for a single Resource. |
static java.util.ArrayList<Resource> |
getResources()
|
static boolean |
readData(Resource r)
Initiates data conversion process from Resource to RDF in COEUS Data SDB. |
static Resource |
readResource(java.lang.String whatResource)
Reads Resource object information from COEUS SDB for further building. |
static void |
readResources()
Reads resources from COEUS SDB and populates Resource object list for further building. |
static boolean |
save()
Saves new JS configuration file with updated information. |
static void |
setResources(java.util.ArrayList<Resource> resources)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Builder()
Method Detail |
---|
public static java.util.ArrayList<Resource> getResources()
public static void setResources(java.util.ArrayList<Resource> resources)
public static void readResources()
public static Resource readResource(java.lang.String whatResource)
Method used for single resource imports.
whatResource
- the resource label that will be read.
public static boolean readData(Resource r)
r
- resource whose data will be read.
public static boolean build()
Workflow
public static boolean build(java.lang.String resource)
Workflow
resource
-
public static boolean save()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |