|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pedviz.loader.Loader
public abstract class Loader
This abstract class is a super class for graph loader classes. You can use this guidelines for writing your own Loader class:
Constructor Summary | |
---|---|
Loader()
|
Method Summary | |
---|---|
abstract java.util.Vector<java.lang.String> |
getColumns()
Returns a array of all columns. |
java.lang.String |
getDadColumn()
Returns the field name from the dad's id |
java.lang.String |
getIdColumn()
Returns the field name from the id |
java.lang.String |
getMomColumn()
Returns the field name from the mom's id |
abstract void |
load(Graph graph)
Loads data in the given Graph object. |
void |
setSettings(java.lang.String id,
java.lang.String mom,
java.lang.String dad)
Sets the field names, in which the id, mom's id and dad's id are saved. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Loader()
Method Detail |
---|
public abstract void load(Graph graph)
graph
- Gaph object.public abstract java.util.Vector<java.lang.String> getColumns()
public void setSettings(java.lang.String id, java.lang.String mom, java.lang.String dad)
id
- field name from the idmom
- field name from the mom's iddad
- field name from the dad's idpublic java.lang.String getDadColumn()
public java.lang.String getIdColumn()
public java.lang.String getMomColumn()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |