Package net.sf.jasperreports.engine.type
Enum SortFieldTypeEnum
- java.lang.Object
-
- java.lang.Enum<SortFieldTypeEnum>
-
- net.sf.jasperreports.engine.type.SortFieldTypeEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<SortFieldTypeEnum>
,NamedEnum
public enum SortFieldTypeEnum extends Enum<SortFieldTypeEnum> implements NamedEnum
- Author:
- Teodor Danciu ([email protected])
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SortFieldTypeEnum
getByName(String name)
String
getName()
static SortFieldTypeEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static SortFieldTypeEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIELD
public static final SortFieldTypeEnum FIELD
Specifies the sort field name represents a dataset field name.
-
VARIABLE
public static final SortFieldTypeEnum VARIABLE
Specifies the sort field name represents a dataset variable name.
-
-
Method Detail
-
values
public static SortFieldTypeEnum[] 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 (SortFieldTypeEnum c : SortFieldTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SortFieldTypeEnum 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
-
getByName
public static SortFieldTypeEnum getByName(String name)
-
-