Class ValueSource.ObjectValue

  • All Implemented Interfaces:
    ValueSource
    Enclosing interface:
    ValueSource

    public static final class ValueSource.ObjectValue
    extends java.lang.Object
    implements ValueSource
    • Method Detail

      • copyAndResolve

        public java.lang.Object copyAndResolve​(java.util.Map<java.lang.String,​java.lang.Object> model)
        Description copied from interface: ValueSource
        Returns a copy of the value this ValueSource holds and resolves templates if there're any. For immutable values only a copy of the reference to the value is made.
        Specified by:
        copyAndResolve in interface ValueSource
        Parameters:
        model - The model to be used when resolving any templates
        Returns:
        copy of the wrapped value
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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