public class ConflictDescriptor
extends java.lang.Object
Constructor and Description |
---|
ConflictDescriptor()
Constructor.
|
ConflictDescriptor(java.util.Map<java.lang.String,java.lang.String> keyList, java.lang.String attr, java.lang.Object parValue, java.lang.Object childValue, java.lang.String parDel, java.lang.String childDel)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttribute()
Returns the attribute in conflict.
|
java.lang.Object |
getChildValue()
Returns the attribute child value.
|
java.util.Map<java.lang.String,java.lang.String> |
getKeyList()
Returns the key list.
|
java.lang.Object |
getParentValue()
Returns the attribute parent value.
|
boolean |
isChildRecordDeleted()
Returns true if the child record is deleted, false otherwise.
|
boolean |
isParentRecordDeleted()
Returns true if the parent record is deleted, false otherwise.
|
void |
setAttribute(java.lang.String attribute)
Sets the attribute in conflict.
|
void |
setChildRecordDeleted(boolean deleted)
Sets true if the child record is deleted, false otherwise.
|
void |
setChildValue(java.lang.Object value)
Sets the attribute child value.
|
void |
setKeyList(java.util.Map<java.lang.String,java.lang.String> keyList)
Sets key list.
|
void |
setParentRecordDeleted(boolean deleted)
Sets true if the parent record is deleted, false otherwise.
|
void |
setParentValue(java.lang.Object value)
Sets the attribute parent value.
|
public ConflictDescriptor()
public ConflictDescriptor(java.util.Map<java.lang.String,java.lang.String> keyList, java.lang.String attr, java.lang.Object parValue, java.lang.Object childValue, java.lang.String parDel, java.lang.String childDel)
keyList
- key list map. The key of the map is the column name and the value is the value of the keyattr
- attributeparValue
- parent workspace valuechildValue
- child workspace valueparDel
- if parent is deleted ("YES" or "NO")childDel
- if child is deleted ("YES" or "NO")public java.util.Map<java.lang.String,java.lang.String> getKeyList()
public void setKeyList(java.util.Map<java.lang.String,java.lang.String> keyList)
keyList
- The key of the map is the key column name and the value is the value of the keypublic java.lang.String getAttribute()
public void setAttribute(java.lang.String attribute)
attribute
- attributepublic java.lang.Object getParentValue()
public void setParentValue(java.lang.Object value)
value
- attribute parent valuepublic java.lang.Object getChildValue()
public void setChildValue(java.lang.Object value)
value
- attribute child valuepublic boolean isParentRecordDeleted()
public void setParentRecordDeleted(boolean deleted)
deleted
- true if the parent record is deleted, false otherwisepublic boolean isChildRecordDeleted()
public void setChildRecordDeleted(boolean deleted)
deleted
- true if the child record is deleted, false otherwise