Class StringValue

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class StringValue
    extends Value
    A string Value.
    Author:
    Marc Prud'hommeaux
    • Constructor Detail

      • StringValue

        public StringValue​(java.lang.String prop)
    • Method Detail

      • getValueType

        public java.lang.Class<java.lang.String> getValueType()
        Description copied from class: Value
        Returns the type of the property that this Value represents.
        Specified by:
        getValueType in class Value
      • get

        public java.lang.String get()
        The internal value.
        Specified by:
        get in class Value
      • set

        public void set​(java.lang.String value)
        The internal value.
      • getInternalString

        protected java.lang.String getInternalString()
        Description copied from class: Value
        Return the internal string form of this value.
        Specified by:
        getInternalString in class Value
      • setInternalString

        protected void setInternalString​(java.lang.String val)
        Description copied from class: Value
        Set this value from the given string.
        Specified by:
        setInternalString in class Value
      • setInternalObject

        protected void setInternalObject​(java.lang.Object obj)
        Description copied from class: Value
        Set this value from an object.
        Specified by:
        setInternalObject in class Value