Class StringValue


  • public class StringValue
    extends BasisDatatypeValue
    This class holds the value for the string.
    Author:
    lueder, Holger Eichelberger
    • Field Detail

      • value

        private java.lang.String value
    • Constructor Detail

      • StringValue

        protected StringValue()
        Argumentless constructor.
      • StringValue

        protected StringValue​(java.lang.String value)
        Constructor.
        Parameters:
        value - Value of the Datatype
    • Method Detail

      • getValue

        public java.lang.String getValue()
        Getter for the value.
        Overrides:
        getValue in class BasisDatatypeValue
        Returns:
        the saved String
      • accept

        public void accept​(IValueVisitor visitor)
        Description copied from class: Value
        Abstract accept method.
        Specified by:
        accept in class Value
        Parameters:
        visitor - The visitor
      • isConfigured

        public boolean isConfigured()
        Description copied from class: Value
        Abstract Method to check whether a value is configured.
        Specified by:
        isConfigured in class Value
        Returns:
        true = it is configured / false = it is not
      • clone

        public Value clone()
        Description copied from class: Value
        Clones the this value.
        Overrides:
        clone in class Value
        Returns:
        the clone of the value
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Value
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class Value