Package net.sf.jasperreports.engine.type
Enum DatasetResetTypeEnum
- java.lang.Object
-
- java.lang.Enum<DatasetResetTypeEnum>
-
- net.sf.jasperreports.engine.type.DatasetResetTypeEnum
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DatasetResetTypeEnum>,JREnum,NamedEnum
public enum DatasetResetTypeEnum extends java.lang.Enum<DatasetResetTypeEnum> implements JREnum
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLUMNThe dataset is reinitialized at the beginning of each new column.GROUPThe dataset is reinitialized every time the group specified by theJRElementDataset.getResetGroup()method breaks.NONEThe dataset will never be initialized.PAGEThe dataset is reinitialized at the beginning of each new page.REPORTThe dataset is initialized only once, at the beginning of the report filling process.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static DatasetResetTypeEnumgetByName(java.lang.String name)static DatasetResetTypeEnumgetByValue(byte value)static DatasetResetTypeEnumgetByValue(java.lang.Byte value)Deprecated.Used only by deprecated serialized fields.java.lang.StringgetName()bytegetValue()Deprecated.Used only by deprecated serialized fields.java.lang.BytegetValueByte()Deprecated.Used only by deprecated serialized fields.static DatasetResetTypeEnumvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DatasetResetTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REPORT
public static final DatasetResetTypeEnum REPORT
The dataset is initialized only once, at the beginning of the report filling process.
-
PAGE
public static final DatasetResetTypeEnum PAGE
The dataset is reinitialized at the beginning of each new page.
-
COLUMN
public static final DatasetResetTypeEnum COLUMN
The dataset is reinitialized at the beginning of each new column.
-
GROUP
public static final DatasetResetTypeEnum GROUP
The dataset is reinitialized every time the group specified by theJRElementDataset.getResetGroup()method breaks.
-
NONE
public static final DatasetResetTypeEnum NONE
The dataset will never be initialized.
-
-
Method Detail
-
values
public static DatasetResetTypeEnum[] 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 (DatasetResetTypeEnum c : DatasetResetTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DatasetResetTypeEnum 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
-
getValueByte
public java.lang.Byte getValueByte()
Deprecated.Used only by deprecated serialized fields.- Specified by:
getValueBytein interfaceJREnum
-
getValue
public final byte getValue()
Deprecated.Used only by deprecated serialized fields.
-
getByName
public static DatasetResetTypeEnum getByName(java.lang.String name)
-
getByValue
public static DatasetResetTypeEnum getByValue(java.lang.Byte value)
Deprecated.Used only by deprecated serialized fields.
-
getByValue
public static DatasetResetTypeEnum getByValue(byte value)
-
-