Class ObjectValueContainer.ObjectValueHolder

java.lang.Object
de.hybris.platform.cockpit.services.values.ObjectValueContainer.ObjectValueHolder
All Implemented Interfaces:
Cloneable
Enclosing class:
ObjectValueContainer

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

    • clone

      Overrides:
      clone in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getCurrentValue

      public 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 String getLanguageIso()
    • getLiveValue

      public Object getLiveValue()
    • getLocalValue

      public Object getLocalValue()
    • getOriginalValue

      public Object getOriginalValue()
    • getPropertyDescriptor

      public PropertyDescriptor getPropertyDescriptor()
    • hasConflict

      public boolean hasConflict()
    • hashCode

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

      public boolean isModified()
    • setLocalValue

      public void setLocalValue(Object currentValue)
    • stored

      public void stored()
    • toString

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

      public void unmodify()
    • update

      public void update(Object liveValue)
    • assureLoaded

      protected void assureLoaded()