Package io.jmix.reports.entity
Enum Class ParameterType
- All Implemented Interfaces:
EnumClass<Integer>,Serializable,Comparable<ParameterType>,Constable
Data type of the report's input parameter.
Determines type of the input value that will be passed to the data sets and further.
Also determines the UI component which will be used to enter the value when launching report in UI.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBooleanvalue.Date, without time.Date with time.A single entity instance (persistent or DTO).ACollectionof entity instances (persistent or DTO).Enumeration value, descendant ofEnum.Number with an optional decimal part.Text string.Time. -
Method Summary
Modifier and TypeMethodDescriptionstatic ParameterTypegetId()static ParameterTypeReturns the enum constant of this class with the specified name.static ParameterType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DATE
Date, without time. Value class:Date -
TEXT
Text string. Value class:String -
ENTITY
A single entity instance (persistent or DTO). -
BOOLEAN
Booleanvalue. -
NUMERIC
Number with an optional decimal part. Value class:Double -
ENTITY_LIST
ACollectionof entity instances (persistent or DTO). -
ENUMERATION
Enumeration value, descendant ofEnum. -
DATETIME
Date with time. Value class:Date -
TIME
Time. Value class:Date
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getId
-
fromId
-