|
Enterprise Information Portal APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The DB2Annotation interface specifies persistence methods for Annotation objects which enable the object to be read from and written to the database. Annotations to be stored in the database must implement this interface.
Field Summary | |
static java.lang.String |
copyright
set the annotator |
static int |
EXISTS
|
static int |
NOT_EXISTS
|
static int |
NOT_LOADED
|
Method Summary | |
int |
getPersistenceState()
The persistence state may be NOT_LOADED, EXISTS, or NOT_EXISTS. |
java.lang.String |
getSQLKeys()
Returns a comma separated list of the sql keys. |
java.lang.String |
getSQLValueForKey(java.lang.String key)
Returns a SQL string for the SQL key value or "default" if no value defined. |
java.lang.String |
getSQLValues()
Returns a comma separated list of the sql values matching the SQL keys. |
void |
setPersistenceState(int state)
The persistence state may be NOT_LOADED, EXISTS, or NOT_EXISTS. |
Field Detail |
public static final int NOT_LOADED
public static final int EXISTS
public static final int NOT_EXISTS
public static final java.lang.String copyright
Method Detail |
public java.lang.String getSQLKeys()
public java.lang.String getSQLValues()
public java.lang.String getSQLValueForKey(java.lang.String key)
public int getPersistenceState()
public void setPersistenceState(int state)
int
- The state of this annotation object
|
EIP Web Crawler APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |