Class OutputDefinition
- java.lang.Object
-
- com.orchestranetworks.addon.dint.transformation.OutputDefinition
-
public final class OutputDefinition extends java.lang.ObjectThe definition of a transformation's output.An output may contain a single or multiple values of a certain
DataType.- Since:
- 4.1.0
- See Also:
TransformationDefinition.getOutputDefinition()
-
-
Constructor Summary
Constructors Constructor Description OutputDefinition(java.lang.String name, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description, DataType type, boolean multiValued)Constructs a newOutputDefinition.OutputDefinition(java.lang.String name, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description, java.util.List<OutputDefinition> childrenOutputs)Constructs a newOutputDefinitionwith multiple outputs from children.OutputDefinition(java.lang.String name, com.onwbp.base.text.UserMessage label, DataType type)Constructs a new single-valuedOutputDefinition.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.onwbp.base.text.UserMessagegetDescription()Returns the description.com.onwbp.base.text.UserMessagegetLabel()Returns the label.java.lang.StringgetName()Returns the unique name.DataTypegetType()Returns the data type.booleanisMultiValued()Returnstrueif the output is multi-valued.booleanisUnbounded()Returnstrueif the output size is unbounded.voidsetUnbounded(boolean unbounded)Sets sets whether the output size is unbounded.
-
-
-
Constructor Detail
-
OutputDefinition
public OutputDefinition(java.lang.String name, com.onwbp.base.text.UserMessage label, DataType type)Constructs a new single-valuedOutputDefinition.- Parameters:
name- the unique name.label- the label.type- the data type.- Since:
- 4.4.0
-
OutputDefinition
public OutputDefinition(java.lang.String name, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description, DataType type, boolean multiValued)Constructs a newOutputDefinition.- Parameters:
name- the unique name.label- the label.description- the description.type- the data type.multiValued- whether this input is multiple-valued.
-
OutputDefinition
public OutputDefinition(java.lang.String name, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description, java.util.List<OutputDefinition> childrenOutputs)Constructs a newOutputDefinitionwith multiple outputs from children.The object returns a
GenericDataObject.The graphical mapping screen will display all ports that correspond with the number of the child outputs.
- Parameters:
name- the output's unique namelabel- the output's labeldescription- the output's descriptionchildrenOutputs- the list that defines child outputs. Multi-valued and unbounded values are not supported for child output definitions.- Since:
- 6.1.2
-
-
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()
Returnstrueif the output is multi-valued.
-
isUnbounded
public boolean isUnbounded()
Returnstrueif the output size is unbounded.Returns
falseif the output size is fixed.- Since:
- 4.2.0
-
setUnbounded
public void setUnbounded(boolean unbounded)
Sets sets whether the output size is unbounded.- Parameters:
unbounded- Determines whether all output values are considered.- Since:
- 4.2.0
-
-