Class EntityDefDiff
java.lang.Object
com.northconcepts.datapipeline.foundations.core.Bean
com.northconcepts.datapipeline.foundations.difference.Diff<EntityDef>
com.northconcepts.datapipeline.foundations.schema.diff.EntityDefDiff
- All Implemented Interfaces:
DataExceptionContributor,JsonSerializable,RecordSerializable,XmlSerializable,Serializable
The differences between two versions of an
EntityDef, with child diffs for its properties, fields and indexes.- 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
ConstructorsModifierConstructorDescriptionprotectedEntityDefDiff(DiffType type, String name, EntityDef oldValue, EntityDef newValue) -
Method Summary
Modifier and TypeMethodDescriptionstatic EntityDefDiffCompares two versions of an entity, matching fields and indexes by exact name; validation rules are not compared.fromRecord(Record source) Loads this instance's state from a record and returnsthis(for fluid API call chaining).Methods inherited from class com.northconcepts.datapipeline.foundations.difference.Diff
addChild, addChildProperty, getChildByName, getChildren, getName, getNewValue, getOldValue, getType, setName, setNewValue, setOldValue, setType, 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
-
EntityDefDiff
public EntityDefDiff() -
EntityDefDiff
-
-
Method Details
-
diff
Compares two versions of an entity, matching fields and indexes by exact name; validation rules are not compared. A null argument yields anADDEDorREMOVEDdiff. -
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<EntityDef>- Parameters:
source-- Returns:
- this instance.
-