Module io.ebean.api
Package io.ebean

Class ValuePair

java.lang.Object
io.ebean.ValuePair

public class ValuePair extends Object
Holds two values as the result of a difference comparison.
  • Field Details

    • newValue

      protected Object newValue
    • oldValue

      protected Object oldValue
  • Constructor Details

    • ValuePair

      public ValuePair()
      Default constructor for JSON tools.
    • ValuePair

      public ValuePair(Object newValue, Object oldValue)
      Construct with the pair of new and old values.
  • Method Details

    • getNewValue

      public Object getNewValue()
      Return the new value.
    • getOldValue

      public Object getOldValue()
      Return the old value.
    • setNewValue

      public void setNewValue(Object newValue)
      Set the new value.
    • setOldValue

      public void setOldValue(Object oldValue)
      Set the old value.
    • toString

      public String toString()
      Overrides:
      toString in class Object