Class EnumValueConfiguration

    • Constructor Detail

      • EnumValueConfiguration

        public EnumValueConfiguration()
        Constructor for EnumValueConfiguration
    • Method Detail

      • getKey

        public java.lang.String getKey()
        Get the configuration key
        Returns:
        the configuration key
      • setKey

        public void setKey​(java.lang.String key)
        Set the configuration key
        Parameters:
        key - the configuration key
      • setDataType

        public void setDataType​(EnumValueConfigurationDataType dataType)
        Set the configuration value data type
        Parameters:
        dataType - the configuration value data type
      • getDefaultValue

        public java.lang.String getDefaultValue()
        Get the default value
        Returns:
        the default value
      • setDefaultValue

        public void setDefaultValue​(java.lang.String defaultValue)
        Set the default value
        Parameters:
        defaultValue - the default value
      • getExampleValue

        public java.lang.String getExampleValue()
        Get the example value
        Returns:
        the example value
      • setExampleValue

        public void setExampleValue​(java.lang.String exampleValue)
        Set the example
        Parameters:
        exampleValue - the example value
      • setValueSize

        public void setValueSize​(EnumValueConfigurationSizing valueSize)
        Set the value size
        Parameters:
        valueSize - the value size
      • setCardinality

        public void setCardinality​(EnumValueConfigurationSizing cardinality)
        Set the cardinality
        Parameters:
        cardinality - the cardinality
      • isOptional

        public boolean isOptional()
        Define if the value is optional or not
        Returns:
        define if the value is optional or not
      • setOptional

        public void setOptional​(boolean isOptional)
        Define if the value is optional or not
        Parameters:
        isOptional - define if the value is optional or not
      • isConfidential

        public boolean isConfidential()
        Define if the value is confidential or not
        Returns:
        define if the value is confidential or not
      • setConfidential

        public void setConfidential​(boolean isConfidential)
        Define if the value is confidential or not
        Parameters:
        isConfidential - define if the value is confidential or not
      • isMandatory

        public boolean isMandatory()
        An EnumValueConfiguration is mandatory in case it's not optional and has no default value.
        Returns:
        true if it is not optinal and has no default value.
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class AbstractEnumConfiguration
        See Also:
        Object.equals(java.lang.Object)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()