Package oracle.rules.sdk2.dictionary
Class DictionaryProperty<T>
java.lang.Object
oracle.rules.sdk2.dictionary.DictionaryProperty<T>
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
IDTableProperty,SettableProperty,SyncMarkProperty,TableProperty
Base class for all dictionary component properties.
Can be used to get and set property values, and to access information about diffs.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDescribe differences between 2DictionaryPropertythisandthat, and allow the differences from that to be appled to this so this and that are the same.static enum -
Method Summary
Modifier and TypeMethodDescriptionGet list of leaf diffs contained in this component.Get the Diff for the given versionInfogetDiffs()Get diffs for this property.getName()Get property name.getName(boolean translate) Get property name, optionally translated.Get translated property name.getValue()Get property value.booleanhasDiff()Does this property have diffs?booleanremoveDiff(Object versionInfo) Remove the diff from display, but do not apply it (i.e. reject it)
-
Method Details
-
getName
Get property name.- Returns:
- String name
-
getName
Get property name, optionally translated.- Returns:
- String name
-
getTranslatedName
Get translated property name.- Returns:
- translated name or "" if no translation
-
getValue
Get property value.- Returns:
- T value
-
hasDiff
public boolean hasDiff()Does this property have diffs?- Returns:
- boolean
-
getDiffs
Get diffs for this property.- Returns:
- List of Diff
-
getContainedDiffs
Get list of leaf diffs contained in this component. The diffs may be SettableProperty.Diff or DictionaryComponent.Diff. These are add, remove, and change diffs, not containers of diffs.- Returns:
- list of SettableProperty.Diff and DictionaryComponent.Diff
-
getDiff
Get the Diff for the given versionInfo- Parameters:
versionInfo- identifies the Diff- Returns:
DictionaryProperty.Diff
-
removeDiff
Remove the diff from display, but do not apply it (i.e. reject it)- Parameters:
versionInfo-
-