public final class ChangedFieldData
extends java.lang.Object
Constructor and Description |
---|
ChangedFieldData(DBField field,
java.lang.Object originalValue,
GlobalKey originalKey,
java.lang.Object defaultValue,
GlobalKey defaultKey,
java.lang.Object currentValue,
GlobalKey currentKey)
Creates a new modification data for a field.
|
Modifier and Type | Method and Description |
---|---|
GlobalKey |
getCurrentKey()
Gets the current global key for this LINKED field
|
java.lang.Object |
getCurrentValue()
The current value of the field.
|
GlobalKey |
getDefaultKey()
The default value's global key
|
java.lang.Object |
getDefaultValue()
What is the "default" value for this field ?
A DBObject that is NEW and only contains default values is said to be EMPTY.
|
DBField |
getField()
The field that this modification data is for.
|
GlobalKey |
getOriginalKey()
The original global key for this field.
|
java.lang.Object |
getOriginalValue()
The original value for this field.
|
public ChangedFieldData(DBField field, java.lang.Object originalValue, GlobalKey originalKey, java.lang.Object defaultValue, GlobalKey defaultKey, java.lang.Object currentValue, GlobalKey currentKey)
defaultValue
- defaultKey
- currentValue
- currentKey
- field
- The field that has been changed.originalValue
- The original value of the field which is non mutable.originalKey
- The original global key for a field which will be non mutable.public DBField getField()
public java.lang.Object getCurrentValue()
public GlobalKey getCurrentKey()
public java.lang.Object getDefaultValue()
public GlobalKey getDefaultKey()
public java.lang.Object getOriginalValue()
public GlobalKey getOriginalKey()
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.