Enum FilterTypesEnum
- java.lang.Object
-
- java.lang.Enum<FilterTypesEnum>
-
- net.sf.jasperreports.components.sort.FilterTypesEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FilterTypesEnum>
,NamedEnum
public enum FilterTypesEnum extends java.lang.Enum<FilterTypesEnum> implements NamedEnum
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FilterTypesEnum
getByName(java.lang.String name)
java.lang.String
getName()
static FilterTypesEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FilterTypesEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NUMERIC
public static final FilterTypesEnum NUMERIC
-
TEXT
public static final FilterTypesEnum TEXT
-
DATE
public static final FilterTypesEnum DATE
-
BOOLEAN
public static final FilterTypesEnum BOOLEAN
-
TIME
public static final FilterTypesEnum TIME
-
-
Method Detail
-
values
public static FilterTypesEnum[] 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 (FilterTypesEnum c : FilterTypesEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FilterTypesEnum valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getByName
public static FilterTypesEnum getByName(java.lang.String name)
-
-