public enum ResetTypeEnum extends java.lang.Enum<ResetTypeEnum> implements JREnum
Enum Constant and Description |
---|
COLUMN
The variable is reinitialized at the beginning of each new column.
|
GROUP
The variable is reinitialized every time the group specified by the
JRVariable.getResetGroup() method breaks. |
NONE
The variable will never be initialized using its initial value expression and will only contain values obtained by
evaluating the variable's expression.
|
PAGE
The variable is reinitialized at the beginning of each new page.
|
REPORT
The variable is initialized only once, at the beginning of the report filling process, with the value returned by
the variable's initial value expression.
|
Modifier and Type | Method and Description |
---|---|
static ResetTypeEnum |
getByName(java.lang.String name) |
static ResetTypeEnum |
getByValue(byte value) |
static ResetTypeEnum |
getByValue(java.lang.Byte value) |
java.lang.String |
getName() |
byte |
getValue() |
java.lang.Byte |
getValueByte() |
static ResetTypeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResetTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResetTypeEnum REPORT
public static final ResetTypeEnum PAGE
public static final ResetTypeEnum COLUMN
public static final ResetTypeEnum GROUP
JRVariable.getResetGroup()
method breaks.public static final ResetTypeEnum NONE
public static ResetTypeEnum[] values()
for (ResetTypeEnum c : ResetTypeEnum.values()) System.out.println(c);
public static ResetTypeEnum 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 ResetTypeEnum getByName(java.lang.String name)
public static ResetTypeEnum getByValue(java.lang.Byte value)
public static ResetTypeEnum getByValue(byte value)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com