public class RecordDiff extends Diff<Record>
SERIALIZED_CLASS_NAME, TYPEXML_SERIALIZED_CLASS_NAME| Constructor and Description |
|---|
RecordDiff() |
RecordDiff(DiffType type,
String name,
Record oldValue,
Record newValue) |
| Modifier and Type | Method and Description |
|---|---|
static RecordDiff |
diff(String name,
Record oldRecord,
Record newRecord) |
static RecordDiff |
diff(String name,
Record oldRecord,
Record newRecord,
Set<String> excludeFields) |
static RecordDiff |
diff(String name,
Record oldRecord,
Record newRecord,
String... excludeFields) |
RecordDiff |
fromRecord(Record source)
Loads this instance's state from a record and returns
this (for fluid API call chaining). |
RecordDiff |
setName(String name) |
RecordDiff |
setNewValue(Record newValue) |
RecordDiff |
setOldValue(Record oldValue) |
RecordDiff |
setType(DiffType type) |
addChild, addChildProperty, getChildByName, getChildren, getName, getNewValue, getOldValue, getType, toRecordaddExceptionProperties, 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 static RecordDiff diff(String name, Record oldRecord, Record newRecord)
public static RecordDiff diff(String name, Record oldRecord, Record newRecord, String... excludeFields)
public static RecordDiff diff(String name, Record oldRecord, Record newRecord, Set<String> excludeFields)
public RecordDiff setType(DiffType type)
public RecordDiff setName(String name)
public RecordDiff setOldValue(Record oldValue)
setOldValue in class Diff<Record>public RecordDiff setNewValue(Record newValue)
setNewValue in class Diff<Record>public RecordDiff 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 Diff<Record>Copyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.