Class VersionValue


  • public class VersionValue
    extends BasisDatatypeValue
    This class holds the value for a version.
    Author:
    Holger Eichelberger
    • Constructor Detail

      • VersionValue

        protected VersionValue()
        Argumentless constructor.
      • VersionValue

        protected VersionValue​(Version value)
        Creates a value object from the given value.
        Parameters:
        value - the value to set
    • Method Detail

      • 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
      • accept

        public void accept​(IValueVisitor visitor)
        Description copied from class: Value
        Abstract accept method.
        Specified by:
        accept in class Value
        Parameters:
        visitor - The visitor
      • 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