Module io.ebean.api
Package io.ebean

Class ValuePair


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

      • newValue

        protected Object newValue
      • oldValue

        protected Object oldValue
    • Constructor Detail

      • 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 Detail

      • 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.