Package io.jmix.reports.entity
Enum Class PredefinedTransformation
- All Implemented Interfaces:
EnumClass<Integer>,Serializable,Comparable<PredefinedTransformation>,Constable
public enum PredefinedTransformation
extends Enum<PredefinedTransformation>
implements EnumClass<Integer>
Convenient built-in transformations for input parameter values entered by user.
Transformed value is passed to the data set loading stage, instead of original value.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConvert text value into a mask working as "contains" condition.Convert text value into a mask working as "ends with" condition.Convert text value into a mask working as "starts with" condition. -
Method Summary
Modifier and TypeMethodDescriptionstatic PredefinedTransformationgetId()static PredefinedTransformationReturns the enum constant of this class with the specified name.static PredefinedTransformation[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STARTS_WITH
Convert text value into a mask working as "starts with" condition. Meant to be used in "like" expression in SQL or JPQL query. -
CONTAINS
Convert text value into a mask working as "contains" condition. Meant to be used in "like" expression in SQL or JPQL query. -
ENDS_WITH
Convert text value into a mask working as "ends with" condition. Meant to be used in "like" expression in SQL or JPQL query.
-
-
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
-