public class PropertyDiff extends Diff<Object>
SERIALIZED_CLASS_NAME, TYPEXML_SERIALIZED_CLASS_NAME| Constructor and Description |
|---|
PropertyDiff() |
PropertyDiff(DiffType type,
String name,
Object oldValue,
Object newValue) |
| Modifier and Type | Method and Description |
|---|---|
PropertyDiff |
fromRecord(Record source)
Loads this instance's state from a record and returns
this (for fluid API call chaining). |
PropertyDiff |
setName(String name) |
PropertyDiff |
setNewValue(Object newValue) |
PropertyDiff |
setOldValue(Object oldValue) |
PropertyDiff |
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 PropertyDiff setType(DiffType type)
public PropertyDiff setName(String name)
public PropertyDiff setOldValue(Object oldValue)
setOldValue in class Diff<Object>public PropertyDiff setNewValue(Object newValue)
setNewValue in class Diff<Object>public PropertyDiff 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<Object>Copyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.