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 AGGREGATETransformations that aggregate many values into a single one.CONSTANTTransformations that provides a constant value.CONVERSIONTransformations that converts a value to another form.CROSS_REFERENCETransformations that looks up data from a datasource.SPLITTransformations that split a value into many others.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCode()Returns the transformation category code.com.onwbp.base.text.UserMessagegetDescription()Returns the description.com.onwbp.base.text.UserMessagegetLabel()Returns the label.booleanisAggregate()Returnstrueif this is an aggregate transformation category.booleanisConstant()Returnstrueif this is a constant transformation category.booleanisConversion()Returnstrueif this is a conversion transformation category.booleanisSplit()Returnstrueif this is a split transformation category.static TransformationCategoryparse(java.lang.String code)ReturnsTransformationCategoryby given code.static TransformationCategoryvalueOf(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()
Returnstrueif this is a constant transformation category.
-
isConversion
public boolean isConversion()
Returnstrueif this is a conversion transformation category.
-
isAggregate
public boolean isAggregate()
Returnstrueif this is an aggregate transformation category.
-
isSplit
public boolean isSplit()
Returnstrueif this is a split transformation category.
-
parse
public static TransformationCategory parse(java.lang.String code)
ReturnsTransformationCategoryby given code.- Parameters:
code- the code of the transformation category.
-
-