net.sf.jasperreports.engine.type
public enum SortFieldTypeEnum extends java.lang.Enum<SortFieldTypeEnum> implements JREnum
Enum Constant and Description |
---|
FIELD
Specifies the sort field name represents a dataset field name.
|
VARIABLE
Specifies the sort field name represents a dataset variable name.
|
Modifier and Type | Method and Description |
---|---|
static SortFieldTypeEnum |
getByName(java.lang.String name) |
static SortFieldTypeEnum |
getByValue(byte value) |
static SortFieldTypeEnum |
getByValue(java.lang.Byte value) |
java.lang.String |
getName() |
byte |
getValue() |
java.lang.Byte |
getValueByte() |
static SortFieldTypeEnum |
valueOf(java.lang.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.
|
public static final SortFieldTypeEnum FIELD
public static final SortFieldTypeEnum VARIABLE
public static SortFieldTypeEnum[] values()
for (SortFieldTypeEnum c : SortFieldTypeEnum.values()) System.out.println(c);
public static SortFieldTypeEnum valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.Byte getValueByte()
getValueByte
in interface JREnum
public static SortFieldTypeEnum getByName(java.lang.String name)
public static SortFieldTypeEnum getByValue(java.lang.Byte value)
public static SortFieldTypeEnum getByValue(byte value)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com