Spring Framework
org.springframework.core.enums

Class StringCodedLabeledEnum

    • Constructor Detail

      • StringCodedLabeledEnum

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

      • getCode

        public 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 String getStringCode()
        Deprecated. 
        Return the String code of this LabeledEnum instance.
Spring Framework