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

public class SchemaDefDiff extends Diff<SchemaDef>
The differences between two versions of a SchemaDef, with child diffs for its properties, entities and relationships.
See Also:
  • Constructor Details

  • Method Details

    • diff

      public static SchemaDefDiff diff(SchemaDef oldSchema, SchemaDef newSchema)
      Compares two versions of a schema, matching entities and relationships by exact name; a null argument yields an ADDED or REMOVED diff.
    • fromRecord

      public SchemaDefDiff 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<SchemaDef>
      Parameters:
      source -
      Returns:
      this instance.