public final class InputDefinition extends Object
An input may contain a single or multiple values of a certain DataType.
TransformationDefinition.getInputDefinition()| Constructor and Description |
|---|
InputDefinition(String name,
com.onwbp.base.text.UserMessage label,
com.onwbp.base.text.UserMessage description,
DataType type,
boolean multiValued)
Constructs a new
InputDefinition. |
| Modifier and Type | Method and Description |
|---|---|
com.onwbp.base.text.UserMessage |
getDescription()
Returns the description.
|
com.onwbp.base.text.UserMessage |
getLabel()
Returns the label.
|
String |
getName()
Returns the unique name.
|
DataType |
getType()
Returns the data type.
|
boolean |
isMultiValued()
Returns
true if the input is multi-valued. |
boolean |
isUnbounded()
Returns
true if the input size is unbounded. |
void |
setUnbounded(boolean unbounded)
Sets whether the input size is unbounded.
|
public InputDefinition(String name, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description, DataType type, boolean multiValued)
InputDefinition.name - the unique name.label - the label.description - the description.type - the data type.multiValued - whether this input is multi-valued.public String getName()
public com.onwbp.base.text.UserMessage getLabel()
public com.onwbp.base.text.UserMessage getDescription()
public DataType getType()
public boolean isMultiValued()
true if the input is multi-valued.public boolean isUnbounded()
true if the input size is unbounded.
Returns false if the input size is fixed.
public void setUnbounded(boolean unbounded)
unbounded - Determines whether all input values are considered.