|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--spo.src.SPDB.DocumentImpl.CONS
A superclass that represents both context and conditional
Conditional| Field Summary | |
(package private) java.util.Vector |
elements
|
(package private) int |
id
|
(package private) int |
rid
|
(package private) int |
size
|
| Constructor Summary | |
CONS(int rid,
int id)
Initialize an instance for the class |
|
CONS(int rid,
int id,
java.lang.String type)
Initialize an instance for the class |
|
CONS(int rid,
int id,
java.util.Vector elements,
java.lang.String type)
Initialize an instance for the class |
|
| Method Summary | |
java.util.Vector |
getElements()
|
int |
getID()
|
int |
getRID()
|
int |
getSize()
|
java.lang.String |
getType()
|
void |
insert2CONS(DBUtil dbutil)
Insert into the table SPO_CONS |
void |
reset(int id,
org.w3c.dom.Node consNode)
|
void |
set(org.w3c.dom.Node consNode,
java.lang.String type)
Initialize an instance for the class |
void |
setElements(java.util.Vector elements)
|
void |
setID(int id)
|
void |
setRID(int rid)
|
void |
setSize(int size)
|
void |
setType(java.lang.String type)
|
(package private) java.lang.String |
toXML()
Transform a CONS object 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 elements
| Constructor Detail |
public CONS(int rid,
int id)
rid - the relation identification numberid - the SPO identification number
public CONS(int rid,
int id,
java.lang.String type)
rid - the relation identification numberid - the SPO identification numbertype - the string determine the class type and
its value is either "cnt" or "cnd"
public CONS(int rid,
int id,
java.util.Vector elements,
java.lang.String type)
rid - the relation identification numberid - the SPO identification numbertype - the string determine the class type and
its value is either "cnt" or "cnd"elements - the CONS in Vector format| Method Detail |
public void set(org.w3c.dom.Node consNode,
java.lang.String type)
type - the string determine the class type and
its value is either "cnt" or "cnd"consNode - the CONS in XML DOM Node format
public void reset(int id,
org.w3c.dom.Node consNode)
public void insert2CONS(DBUtil dbutil)
dbutil - A DBUtil utility class objectjava.lang.String toXML()
public void setRID(int rid)
public int getRID()
public void setID(int id)
public int getID()
public void setType(java.lang.String type)
public java.lang.String getType()
public void setSize(int size)
public int getSize()
public void setElements(java.util.Vector elements)
public java.util.Vector getElements()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||