|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.PoemContext
public class PoemContext
Holds the names of the database, table and method and the value of the TROID for a POEM session. A PoemContext can specify an individual database record, a table or the whole database.
Constructor Summary | |
---|---|
PoemContext()
Empty constructor. |
|
PoemContext(Persistent p)
|
|
PoemContext(Persistent p,
String method)
|
|
PoemContext(String logicalDatabase,
String table,
Integer troid,
String method)
Constructor. |
Method Summary | |
---|---|
Object |
clone()
Clone me. |
String |
getLogicalDatabase()
|
String |
getMethod()
|
String |
getTable()
|
Integer |
getTroid()
|
void |
setLogicalDatabase(String logicalDatabase)
|
void |
setMethod(String method)
|
void |
setTable(String table)
|
void |
setTroid(Integer troid)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PoemContext()
public PoemContext(String logicalDatabase, String table, Integer troid, String method)
logicalDatabase
- the name of a logical databasetable
- the name of the table we are dealing with tabletroid
- the Table Row Object ID we are dealing withmethod
- what we are doing to this objectpublic PoemContext(Persistent p)
public PoemContext(Persistent p, String method)
Method Detail |
---|
public String toString()
toString
in class Object
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
- cannot be thrownpublic String getLogicalDatabase()
public String getTable()
public Integer getTroid()
public String getMethod()
public void setLogicalDatabase(String logicalDatabase)
logicalDatabase
- The logicalDatabase to set.public void setMethod(String method)
method
- The method to set.public void setTable(String table)
table
- The table to set.public void setTroid(Integer troid)
troid
- The troid to set.
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |