Spring Framework
org.springframework.core.enums

Class StringCodedLabeledEnum

    • Constructor Detail

      • StringCodedLabeledEnum

        public StringCodedLabeledEnum(java.lang.String code,
                              java.lang.String label)
        Deprecated. 
        Create a new StringCodedLabeledEnum instance.
        Parameters:
        code - the String code
        label - the label (can be null)
    • Method Detail

      • getCode

        public java.lang.Comparable getCode()
        Deprecated. 
        Description copied from interface: LabeledEnum
        Return this enumeration's code.

        Each code should be unique within enumerations of the same type.

      • getStringCode

        public java.lang.String getStringCode()
        Deprecated. 
        Return the String code of this LabeledEnum instance.
Spring Framework