Class ModelChangeDescription

  • All Implemented Interfaces:
    java.io.Serializable

    public class ModelChangeDescription
    extends java.lang.Object
    implements java.io.Serializable
    Describes a change in the DIF model. Defines the type of change (create, delete, update), the parent of the item being changed, the schema it belongs to and the DTO for the actual item that is changed.
    Author:
    Tim Dudgeon
    See Also:
    Serialized Form
    • Method Detail

      • getOperationId

        public java.lang.String getOperationId()
        Get the ID of the operation that instigated this change
        Returns:
        The ID
      • getParentID

        public java.lang.String getParentID()
        Get the ID of the parent DFItem. Must always be defined, except in the case of DFSchema which has no parent.
        Returns:
        The value of parent
      • getOldItem

        public java.lang.Object getOldItem()
        Get the value of old item, if applicable.
        Returns:
        The value of old item. It is null in case of CREATE event.
      • getNewItem

        public java.lang.Object getNewItem()
        Get the value of new item, if applicable.
        Returns:
        The value of new item. It is null in case of DELETE event.
      • getDuration

        public long getDuration()
      • setDuration

        public void setDuration​(long duration)
      • getStartTime

        public java.sql.Timestamp getStartTime()
      • setStartTime

        public void setStartTime​(java.sql.Timestamp startTime)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object