Class InputDefinition
java.lang.Object
com.orchestranetworks.addon.dint.transformation.InputDefinition
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:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionInputDefinition(String name, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description, DataType type, boolean multiValued) Constructs a newInputDefinition.InputDefinition(String name, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description, List<InputDefinition> childrenInputs) Constructs a newInputDefinitionwith multiple inputs from children.InputDefinition(String name, com.onwbp.base.text.UserMessage label, DataType type) Constructs a new single-valuedInputDefinition. - 
Method Summary
Modifier and TypeMethodDescriptioncom.onwbp.base.text.UserMessageReturns the description.com.onwbp.base.text.UserMessagegetLabel()Returns the label.getName()Returns the unique name.getType()Returns the data type.booleanReturnstrueif the input is multi-valued.booleanReturnstrueif the input size is unbounded.voidsetUnbounded(boolean unbounded) Sets whether the input size is unbounded. 
- 
Constructor Details
- 
InputDefinition
Constructs a new single-valuedInputDefinition.- Parameters:
 name- the unique name.label- the label.type- the data type.- Since:
 - 4.4.0
 - See Also:
 
 - 
InputDefinition
public InputDefinition(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.
 - 
InputDefinition
public InputDefinition(String name, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description, List<InputDefinition> childrenInputs) Constructs a newInputDefinitionwith multiple inputs from children.The object returned is a
GenericDataObject.The graphical mapping screen will display all ports that correspond with the number of child inputs.
- Parameters:
 name- the input's unique namelabel- the input's labeldescription- the input's descriptionchildrenInputs- the list that defines child inputs. Multi-valued and unbounded values are not supported for child input definitions.- Since:
 - 6.1.2
 
 
 - 
 - 
Method Details
- 
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
Returns the data type. - 
isMultiValued
public boolean isMultiValued()Returnstrueif the input is multi-valued. - 
isUnbounded
public boolean isUnbounded()Returnstrueif the input size is unbounded.Returns
falseif 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
 
 - 
getChildrenInputs
 
 -