|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.core.data.BasicData net.sf.basedb.core.data.ChangeHistoryDetailData
public class ChangeHistoryDetailData
Represents a change (creation/update/deletion) made to a
single entity in a transaction. Changes to multiple entities
in a single transactions are grouped with a common reference
to a ChangeHistoryData
object.
Field Summary | |
---|---|
private String |
changeInfo
|
private int |
changeType
|
private ChangeHistoryData |
history
|
private int |
itemId
|
private int |
itemType
|
static int |
MAX_CHANGE_INFO_LENGTH
|
Constructor Summary | |
---|---|
ChangeHistoryDetailData()
|
Method Summary | |
---|---|
ChangeHistoryData |
getChangeHistory()
Get the main history entry the details belong to. |
String |
getChangeInfo()
Get more information about this change. |
int |
getChangeType()
The type of the change: 1 = create, 2 = update, 3 = delete |
int |
getItemId()
The ID of the item that was changed |
int |
getItemType()
The type code of the item that was changed. |
void |
setChangeHistory(ChangeHistoryData history)
|
void |
setChangeInfo(String changeInfo)
|
void |
setChangeType(int changeType)
|
void |
setItemId(int itemId)
|
void |
setItemType(int itemType)
|
Methods inherited from class net.sf.basedb.core.data.BasicData |
---|
equals, getId, getVersion, hashCode, setId, setVersion, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private ChangeHistoryData history
private int changeType
private int itemId
private int itemType
public static final int MAX_CHANGE_INFO_LENGTH
private String changeInfo
Constructor Detail |
---|
public ChangeHistoryDetailData()
Method Detail |
---|
public ChangeHistoryData getChangeHistory()
public void setChangeHistory(ChangeHistoryData history)
public int getChangeType()
public void setChangeType(int changeType)
public int getItemId()
public void setItemId(int itemId)
public int getItemType()
public void setItemType(int itemType)
public String getChangeInfo()
public void setChangeInfo(String changeInfo)
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |