Class ValueHolder

java.lang.Object
com.mayam.wf.attributes.shared.ValueHolder

public final class ValueHolder extends Object
Utility class used to hold any Jackson serializable value, adding minimal class information required to deserialize it properly.
  • Constructor Details

    • ValueHolder

      public ValueHolder(Object value)
  • Method Details

    • value

      public Object value()
    • cast

      public <T> T cast(Class<T> cls)
    • cast

      public <T> T cast()
    • toString

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

      public boolean equals(Object peer)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object