|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.db2.tools.repl.publication.Column
The Column class represents an actual value of a column for a specific row. The Column contains the value after the update, and may optionally also contain the pre-update value (called the "before" value).
Field Summary | |
---|---|
protected java.lang.Object |
beforeValue
|
protected boolean |
beforeValuePresent
|
protected boolean |
key
|
protected java.lang.String |
name
|
protected java.lang.Object |
value
|
Constructor Summary | |
---|---|
Column()
|
Method Summary | |
---|---|
java.lang.Object |
getBeforeValue()
Returns the original value of the column, before it was updated. |
java.lang.String |
getName()
Returns the name of the column. |
java.lang.Object |
getValue()
Returns the value of the column. |
boolean |
isBeforeValuePresent()
Returns true if the original value of the column is present. |
boolean |
isKey()
Returns true if the column is a key column. |
void |
setBeforeValue(java.lang.Object object)
This method has no effect when used by a PublicationListener. |
void |
setBeforeValuePresent(boolean b)
This method has no effect when used by a PublicationListener. |
void |
setKey(boolean b)
This method has no effect when used by a PublicationListener. |
void |
setName(java.lang.String string)
This method has no effect when used by a PublicationListener. |
void |
setValue(java.lang.Object object)
This method has no effect when used by a PublicationListener. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String name
protected boolean key
protected boolean beforeValuePresent
protected java.lang.Object value
protected java.lang.Object beforeValue
Constructor Detail |
public Column()
Method Detail |
public java.lang.String getName()
public boolean isKey()
public java.lang.Object getBeforeValue()
public boolean isBeforeValuePresent()
public java.lang.Object getValue()
public void setKey(boolean b)
b
- public void setName(java.lang.String string)
string
- public void setBeforeValue(java.lang.Object object)
object
- public void setBeforeValuePresent(boolean b)
b
- public void setValue(java.lang.Object object)
object
- public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |