Class ObjectValueContainer.ObjectValueHolder

  • All Implemented Interfaces:
    java.lang.Cloneable
    Enclosing class:
    ObjectValueContainer

    public class ObjectValueContainer.ObjectValueHolder
    extends java.lang.Object
    implements java.lang.Cloneable
    Encapsulates a single property value. Hold current value, original value and (after update) the live value too.
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • getCurrentValue

        public java.lang.Object getCurrentValue()
        Returns the most recent value for this property. If the property has been modified this returns the local value. Otherwise it returns the live value (which may be the same as local or different after update).
      • setModified

        public void setModified​(boolean modified)
      • getLanguageIso

        public java.lang.String getLanguageIso()
      • getLiveValue

        public java.lang.Object getLiveValue()
      • getLocalValue

        public java.lang.Object getLocalValue()
      • getOriginalValue

        public java.lang.Object getOriginalValue()
      • hasConflict

        public boolean hasConflict()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • isModified

        public boolean isModified()
      • setLocalValue

        public void setLocalValue​(java.lang.Object currentValue)
      • stored

        public void stored()
      • toString

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

        public void unmodify()
      • update

        public void update​(java.lang.Object liveValue)
      • assureLoaded

        protected void assureLoaded()