Class DomainObjectChangeRecord

    • Constructor Summary

      Constructors 
      Constructor Description
      DomainObjectChangeRecord()
      Construct a new DomainObjectChangeRecord.
      DomainObjectChangeRecord​(int type)
      Construct a new DomainObjectChangeRecord.
      DomainObjectChangeRecord​(int type, int subType, java.lang.Object oldValue, java.lang.Object newValue)
      Construct a new DomainObjectChangeRecord.
      DomainObjectChangeRecord​(int type, java.lang.Object oldValue, java.lang.Object newValue)
      Construct a new DomainObjectChangeRecord.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getEventType()
      Return the event type for this change record.
      java.lang.Object getNewValue()
      Return the new value.
      java.lang.Object getOldValue()
      Return the old value.
      int getSubEventType()
      Return the sub-event type for this change record.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DomainObjectChangeRecord

        public DomainObjectChangeRecord()
        Construct a new DomainObjectChangeRecord.
      • DomainObjectChangeRecord

        public DomainObjectChangeRecord​(int type)
        Construct a new DomainObjectChangeRecord.
        Parameters:
        type - event type
      • DomainObjectChangeRecord

        public DomainObjectChangeRecord​(int type,
                                        java.lang.Object oldValue,
                                        java.lang.Object newValue)
        Construct a new DomainObjectChangeRecord.
        Parameters:
        type - event type
        oldValue - old value
        newValue - new value
      • DomainObjectChangeRecord

        public DomainObjectChangeRecord​(int type,
                                        int subType,
                                        java.lang.Object oldValue,
                                        java.lang.Object newValue)
        Construct a new DomainObjectChangeRecord.
        Parameters:
        type - event type
        subType - sub-event type (use 0 if unspecified)
        oldValue - old value
        newValue - new value
    • Method Detail

      • getEventType

        public int getEventType()
        Return the event type for this change record.
      • getSubEventType

        public int getSubEventType()
        Return the sub-event type for this change record. A value of 0 is the default if unspecified.
      • getOldValue

        public java.lang.Object getOldValue()
        Return the old value.
      • getNewValue

        public java.lang.Object getNewValue()
        Return the new value.
      • toString

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