public final class OutputDefinition extends Object
An output may contain a single or multiple values of a certain DataType
.
TransformationDefinition.getOutputDefinition()
Constructor and Description |
---|
OutputDefinition(String name,
com.onwbp.base.text.UserMessage label,
DataType type)
Constructs a new single-valued
OutputDefinition . |
OutputDefinition(String name,
com.onwbp.base.text.UserMessage label,
com.onwbp.base.text.UserMessage description,
DataType type,
boolean multiValued)
Constructs a new
OutputDefinition . |
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 output is multi-valued. |
boolean |
isUnbounded()
Returns
true if the output size is unbounded. |
void |
setUnbounded(boolean unbounded)
Sets sets whether the output size is unbounded.
|
public OutputDefinition(String name, com.onwbp.base.text.UserMessage label, DataType type)
OutputDefinition
.name
- the unique name.label
- the label.type
- the data type.public OutputDefinition(String name, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description, DataType type, boolean multiValued)
OutputDefinition
.name
- the unique name.label
- the label.description
- the description.type
- the data type.multiValued
- whether this input is multiple-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 output is multi-valued.public boolean isUnbounded()
true
if the output size is unbounded.
Returns false
if the output size is fixed.
public void setUnbounded(boolean unbounded)
unbounded
- Determines whether all output values are considered.