Package org.kuali.coeus.common.api.ynq
Enum YnqConstant
- java.lang.Object
-
- java.lang.Enum<YnqConstant>
-
- org.kuali.coeus.common.api.ynq.YnqConstant
-
- All Implemented Interfaces:
Serializable,Comparable<YnqConstant>
public enum YnqConstant extends Enum<YnqConstant>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringcode()Stringdescription()static YnqConstantvalueOf(String name)Returns the enum constant of this type with the specified name.static YnqConstant[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
YES
public static final YnqConstant YES
-
NO
public static final YnqConstant NO
-
NA
public static final YnqConstant NA
-
YES_NO
public static final YnqConstant YES_NO
-
YES_NO_NA
public static final YnqConstant YES_NO_NA
-
YES_NA
public static final YnqConstant YES_NA
-
NO_NA
public static final YnqConstant NO_NA
-
NONE
public static final YnqConstant NONE
-
-
Method Detail
-
values
public static YnqConstant[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (YnqConstant c : YnqConstant.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static YnqConstant valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
code
public String code()
-
description
public String description()
-
-