Enum ElementMetaData.TypeClassification
- java.lang.Object
-
- java.lang.Enum<ElementMetaData.TypeClassification>
-
- org.pentaho.reporting.engine.classic.core.metadata.ElementMetaData.TypeClassification
-
- All Implemented Interfaces:
Serializable
,Comparable<ElementMetaData.TypeClassification>
- Enclosing interface:
- ElementMetaData
public static enum ElementMetaData.TypeClassification extends Enum<ElementMetaData.TypeClassification>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTROL
DATA
FOOTER
HEADER
RELATIONAL_FOOTER
RELATIONAL_HEADER
SECTION
SUBREPORT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ElementMetaData.TypeClassification
valueOf(String name)
Returns the enum constant of this type with the specified name.static ElementMetaData.TypeClassification[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATA
public static final ElementMetaData.TypeClassification DATA
-
HEADER
public static final ElementMetaData.TypeClassification HEADER
-
RELATIONAL_HEADER
public static final ElementMetaData.TypeClassification RELATIONAL_HEADER
-
FOOTER
public static final ElementMetaData.TypeClassification FOOTER
-
RELATIONAL_FOOTER
public static final ElementMetaData.TypeClassification RELATIONAL_FOOTER
-
SECTION
public static final ElementMetaData.TypeClassification SECTION
-
SUBREPORT
public static final ElementMetaData.TypeClassification SUBREPORT
-
CONTROL
public static final ElementMetaData.TypeClassification CONTROL
-
-
Method Detail
-
values
public static ElementMetaData.TypeClassification[] 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 (ElementMetaData.TypeClassification c : ElementMetaData.TypeClassification.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ElementMetaData.TypeClassification 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
-
-