|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--spo.src.SPDB.DocumentImpl.Table
A class that represents the table element
| Field Summary | |
(package private) java.util.ArrayList |
fieldNames
|
(package private) int |
id
|
(package private) int |
rid
|
(package private) java.util.Vector |
rows
|
(package private) int |
size
|
| Constructor Summary | |
Table(int rid,
int id)
Initialize an instance for the class |
|
Table(int rid,
int id,
java.util.Vector rows)
Initialize an instance for the class |
|
| Method Summary | |
java.util.ArrayList |
getFieldNames()
|
int |
getID()
|
int |
getRID()
|
java.util.Vector |
getRows()
|
int |
getSize()
|
void |
insert2Table(DBUtil dbutil)
Insert into the table SPO Table |
void |
insert2VAR(DBUtil dbutil)
Insert into the table SPO_VAR Table |
void |
reset(int id,
org.w3c.dom.Node tableNode)
|
void |
set(org.w3c.dom.Node tableNode)
Initialize an instance for the class |
void |
setFieldNames(java.util.ArrayList fields)
|
void |
setID(int id)
|
void |
setRID(int rid)
|
void |
setRows(java.util.Vector rows)
|
void |
setSize(int size)
|
(package private) java.lang.String |
toXML()
Transform A Table element to XML |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
int rid
int id
int size
java.util.Vector rows
java.util.ArrayList fieldNames
| Constructor Detail |
public Table(int rid,
int id)
rid - the relation identification numberid - the SPO identification number
public Table(int rid,
int id,
java.util.Vector rows)
rid - the relation identification numberid - the SPO identification numberrows - the table rows in vector format| Method Detail |
public void set(org.w3c.dom.Node tableNode)
tableNode - the table object in XML DOM format
public void reset(int id,
org.w3c.dom.Node tableNode)
public void insert2Table(DBUtil dbutil)
dbutil - A DBUtil utility objectpublic void insert2VAR(DBUtil dbutil)
dbutil - A DBUtil utility objectjava.lang.String toXML()
public void setRID(int rid)
public int getRID()
public void setID(int id)
public int getID()
public void setRows(java.util.Vector rows)
public java.util.Vector getRows()
public void setSize(int size)
public int getSize()
public void setFieldNames(java.util.ArrayList fields)
public java.util.ArrayList getFieldNames()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||