Class InputDefinition
- java.lang.Object
-
- com.orchestranetworks.addon.dint.transformation.InputDefinition
-
public final class InputDefinition extends java.lang.Object
The definition of a transformation's input.An input may contain a single or multiple values of a certain
DataType
.- Since:
- 4.1.0
- See Also:
TransformationDefinition.getInputDefinition()
-
-
Constructor Summary
Constructors Constructor Description InputDefinition(java.lang.String name, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description, DataType type, boolean multiValued)
Constructs a newInputDefinition
.InputDefinition(java.lang.String name, com.onwbp.base.text.UserMessage label, DataType type)
Constructs a new single-valuedInputDefinition
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.onwbp.base.text.UserMessage
getDescription()
Returns the description.com.onwbp.base.text.UserMessage
getLabel()
Returns the label.java.lang.String
getName()
Returns the unique name.DataType
getType()
Returns the data type.boolean
isMultiValued()
Returnstrue
if the input is multi-valued.boolean
isUnbounded()
Returnstrue
if the input size is unbounded.void
setUnbounded(boolean unbounded)
Sets whether the input size is unbounded.
-
-
-
Constructor Detail
-
InputDefinition
public InputDefinition(java.lang.String name, com.onwbp.base.text.UserMessage label, DataType type)
Constructs a new single-valuedInputDefinition
.- Parameters:
name
- the unique name.label
- the label.type
- the data type.- Since:
- 4.4.0
- See Also:
InputDefinition(String, UserMessage, UserMessage, DataType, boolean)
-
InputDefinition
public InputDefinition(java.lang.String name, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description, DataType type, boolean multiValued)
Constructs a newInputDefinition
.- Parameters:
name
- the unique name.label
- the label.description
- the description.type
- the data type.multiValued
- whether this input is multi-valued.
-
-
Method Detail
-
getName
public java.lang.String getName()
Returns the unique name.
-
getLabel
public com.onwbp.base.text.UserMessage getLabel()
Returns the label.
-
getDescription
public com.onwbp.base.text.UserMessage getDescription()
Returns the description.
-
getType
public DataType getType()
Returns the data type.
-
isMultiValued
public boolean isMultiValued()
Returnstrue
if the input is multi-valued.
-
isUnbounded
public boolean isUnbounded()
Returnstrue
if the input size is unbounded.Returns
false
if the input size is fixed.- Since:
- 4.2.0
-
setUnbounded
public void setUnbounded(boolean unbounded)
Sets whether the input size is unbounded.- Parameters:
unbounded
- Determines whether all input values are considered.- Since:
- 4.2.0
-
-