Enum TransformationCategory
- java.lang.Object
-
- java.lang.Enum<TransformationCategory>
-
- com.orchestranetworks.addon.dint.transformation.TransformationCategory
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TransformationCategory>
public enum TransformationCategory extends java.lang.Enum<TransformationCategory>
Categories of transformations.- Since:
- 4.1.0
- See Also:
TransformationDefinition.getTransformationCategory()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGGREGATE
Transformations that aggregate many values into a single one.CONSTANT
Transformations that provides a constant value.CONVERSION
Transformations that converts a value to another form.CROSS_REFERENCE
Transformations that looks up data from a datasource.SPLIT
Transformations that split a value into many others.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCode()
Returns the transformation category code.com.onwbp.base.text.UserMessage
getDescription()
Returns the description.com.onwbp.base.text.UserMessage
getLabel()
Returns the label.boolean
isAggregate()
Returnstrue
if this is an aggregate transformation category.boolean
isConstant()
Returnstrue
if this is a constant transformation category.boolean
isConversion()
Returnstrue
if this is a conversion transformation category.boolean
isSplit()
Returnstrue
if this is a split transformation category.static TransformationCategory
parse(java.lang.String code)
ReturnsTransformationCategory
by given code.static TransformationCategory
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TransformationCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AGGREGATE
public static final TransformationCategory AGGREGATE
Transformations that aggregate many values into a single one.
-
CONSTANT
public static final TransformationCategory CONSTANT
Transformations that provides a constant value.
-
CONVERSION
public static final TransformationCategory CONVERSION
Transformations that converts a value to another form.
-
CROSS_REFERENCE
public static final TransformationCategory CROSS_REFERENCE
Transformations that looks up data from a datasource.
-
SPLIT
public static final TransformationCategory SPLIT
Transformations that split a value into many others.
-
-
Method Detail
-
values
public static TransformationCategory[] 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 (TransformationCategory c : TransformationCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransformationCategory 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
-
getCode
public java.lang.String getCode()
Returns the transformation category code.
-
getLabel
public com.onwbp.base.text.UserMessage getLabel()
Returns the label.
-
getDescription
public com.onwbp.base.text.UserMessage getDescription()
Returns the description.
-
isConstant
public boolean isConstant()
Returnstrue
if this is a constant transformation category.
-
isConversion
public boolean isConversion()
Returnstrue
if this is a conversion transformation category.
-
isAggregate
public boolean isAggregate()
Returnstrue
if this is an aggregate transformation category.
-
isSplit
public boolean isSplit()
Returnstrue
if this is a split transformation category.
-
parse
public static TransformationCategory parse(java.lang.String code)
ReturnsTransformationCategory
by given code.- Parameters:
code
- the code of the transformation category.
-
-