Class PropertyDiff
java.lang.Object
com.northconcepts.datapipeline.foundations.core.Bean
com.northconcepts.datapipeline.foundations.difference.Diff<Object>
com.northconcepts.datapipeline.foundations.difference.PropertyDiff
- All Implemented Interfaces:
DataExceptionContributor,JsonSerializable,RecordSerializable,XmlSerializable,Serializable
A leaf
Diff for a single value, such as a record field or an array element.- See Also:
-
Field Summary
Fields inherited from interface com.northconcepts.datapipeline.core.RecordSerializable
SERIALIZED_CLASS_NAME, TYPEFields inherited from interface com.northconcepts.datapipeline.core.XmlSerializable
XML_SERIALIZED_CLASS_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromRecord(Record source) Loads this instance's state from a record and returnsthis(for fluid API call chaining).setNewValue(Object newValue) setOldValue(Object oldValue) Methods inherited from class com.northconcepts.datapipeline.foundations.difference.Diff
addChild, addChildProperty, getChildByName, getChildren, getName, getNewValue, getOldValue, getType, toRecordMethods inherited from class com.northconcepts.datapipeline.foundations.core.Bean
addExceptionProperties, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.northconcepts.datapipeline.core.DataExceptionContributor
addExceptionProperties, exception, exception, exceptionMethods inherited from interface com.northconcepts.datapipeline.core.RecordSerializable
fromJson, fromJson, toJson, toJson, toJsonMethods inherited from interface com.northconcepts.datapipeline.core.XmlSerializable
fromXml, fromXml, fromXmlElement, toXml, toXml, toXml, toXml, toXml, toXmlElement
-
Constructor Details
-
PropertyDiff
public PropertyDiff() -
PropertyDiff
-
-
Method Details
-
setType
-
setName
-
setOldValue
- Overrides:
setOldValuein classDiff<Object>
-
setNewValue
- Overrides:
setNewValuein classDiff<Object>
-
fromRecord
Description copied from interface:RecordSerializableLoads this instance's state from a record and returnsthis(for fluid API call chaining). For fluid API call chaining, the overridden method should change the declared return type to its class.- Specified by:
fromRecordin interfaceRecordSerializable- Overrides:
fromRecordin classDiff<Object>- Parameters:
source-- Returns:
- this instance.
-