public class ChangeHistoryDetailData extends BasicData
ChangeHistoryData
object.Modifier and Type | Field and Description |
---|---|
private String |
changeInfo |
private int |
changeType |
private ChangeHistoryData |
history |
private int |
itemId |
private int |
itemType |
static int |
MAX_CHANGE_INFO_LENGTH |
static int |
MAX_NEW_VALUE_LENGTH |
static int |
MAX_OLD_VALUE_LENGTH |
private String |
newValue |
private String |
oldValue |
Constructor and Description |
---|
ChangeHistoryDetailData() |
Modifier and Type | Method and Description |
---|---|
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.
|
String |
getNewValue()
Get the new value after the change.
|
String |
getOldValue()
Get the previous value before the change.
|
void |
setChangeHistory(ChangeHistoryData history) |
void |
setChangeInfo(String changeInfo) |
void |
setChangeType(int changeType) |
void |
setItemId(int itemId) |
void |
setItemType(int itemType) |
void |
setNewValue(String newValue) |
void |
setOldValue(String oldValue) |
equals, getId, getVersion, hashCode, setId, setVersion, toString
private ChangeHistoryData history
private int changeType
private int itemId
private int itemType
public static final int MAX_CHANGE_INFO_LENGTH
private String changeInfo
public static final int MAX_OLD_VALUE_LENGTH
private String oldValue
public static final int MAX_NEW_VALUE_LENGTH
private String newValue
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)
@PropertyPathProtected public String getOldValue()
public void setOldValue(String oldValue)
@PropertyPathProtected public String getNewValue()
public void setNewValue(String newValue)