public class Diff<T> extends Bean
SERIALIZED_CLASS_NAME, TYPEXML_SERIALIZED_CLASS_NAME| Constructor and Description |
|---|
Diff() |
Diff(DiffType type,
String name,
T oldValue,
T newValue) |
| Modifier and Type | Method and Description |
|---|---|
Diff<T> |
addChild(Diff<?> child) |
Diff<T> |
addChildProperty(DiffType type,
String name,
Object oldValue,
Object newValue) |
Diff<?> |
fromRecord(Record source)
Loads this instance's state from a record and returns
this (for fluid API call chaining). |
Diff<?> |
getChildByName(String name) |
List<Diff<?>> |
getChildren() |
String |
getName() |
T |
getNewValue() |
T |
getOldValue() |
DiffType |
getType() |
Diff<T> |
setName(String name) |
Diff<T> |
setNewValue(T newValue) |
Diff<T> |
setOldValue(T oldValue) |
Diff<T> |
setType(DiffType type) |
Record |
toRecord() |
addExceptionProperties, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecordnewInstanceFromJsonforEachGrandChildElement, fromXml, fromXml, fromXmlElement, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, toXmlElement, writeXml, writeXmladdExceptionProperties, contributeExceptionProperties, contributeExceptionProperties, exception, exception, exceptionpublic DiffType getType()
public String getName()
public Diff<T> addChildProperty(DiffType type, String name, Object oldValue, Object newValue)
public T getOldValue()
public T getNewValue()
public Record toRecord()
toRecord in interface RecordSerializabletoRecord in class Beanpublic Diff<?> fromRecord(Record source)
RecordSerializablethis (for fluid API call chaining).
For fluid API call chaining, the overridden method should change the declared return type to its class.fromRecord in interface RecordSerializablefromRecord in class BeanCopyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.