All Implemented Interfaces:
DataExceptionContributor, JsonSerializable, RecordSerializable, XmlSerializable, Serializable

public class EntityDefDiff extends Diff<EntityDef>
The differences between two versions of an EntityDef, with child diffs for its properties, fields and indexes.
See Also:
  • Constructor Details

  • Method Details

    • diff

      public static EntityDefDiff diff(EntityDef oldEntity, EntityDef newEntity)
      Compares two versions of an entity, matching fields and indexes by exact name; validation rules are not compared. A null argument yields an ADDED or REMOVED diff.
    • fromRecord

      public EntityDefDiff fromRecord(Record source)
      Description copied from interface: RecordSerializable
      Loads this instance's state from a record and returns this (for fluid API call chaining). For fluid API call chaining, the overridden method should change the declared return type to its class.
      Specified by:
      fromRecord in interface RecordSerializable
      Overrides:
      fromRecord in class Diff<EntityDef>
      Parameters:
      source -
      Returns:
      this instance.