public class DictionaryProperty<T>
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
DictionaryProperty.Diff
Describe differences between 2
DictionaryProperty this and that ,
and allow the differences from that to be appled to this so this and that are the same. |
static class |
DictionaryProperty.DiffType
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Object> |
getContainedDiffs()
Get list of leaf diffs contained in this component.
|
DictionaryProperty.Diff |
getDiff(java.lang.Object versionInfo)
Get the Diff for the given versionInfo
|
java.util.List<DictionaryProperty.Diff> |
getDiffs()
Get diffs for this property.
|
java.lang.String |
getName()
Get property name.
|
java.lang.String |
getName(boolean translate)
Get property name, optionally translated.
|
java.lang.String |
getTranslatedName()
Get translated property name.
|
T |
getValue()
Get property value.
|
boolean |
hasDiff()
Does this property have diffs?
|
boolean |
removeDiff(java.lang.Object versionInfo)
Remove the diff from display, but do not apply it (i.e. reject it)
|
public java.lang.String getName()
public java.lang.String getName(boolean translate)
public java.lang.String getTranslatedName()
public T getValue()
public boolean hasDiff()
public java.util.List<DictionaryProperty.Diff> getDiffs()
public java.util.List<java.lang.Object> getContainedDiffs()
public DictionaryProperty.Diff getDiff(java.lang.Object versionInfo)
versionInfo
- identifies the DiffDictionaryProperty.Diff
public boolean removeDiff(java.lang.Object versionInfo)
versionInfo
-