Package com.orchestranetworks.addon.dqid
Class ParameterDefinition
java.lang.Object
com.orchestranetworks.addon.dqid.ParameterDefinition
The definition of an 
Indicator input or output parameter.- 
Constructor Summary
ConstructorsConstructorDescriptionParameterDefinition(String name, com.orchestranetworks.schema.SchemaTypeName type, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description) A simple parameter definition without a default value.ParameterDefinition(String name, com.orchestranetworks.schema.SchemaTypeName type, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description, boolean visibleOnDashboard) TODO A parameter definition without a default value and selected output parameters can be displayed on a dashboard.ParameterDefinition(String name, com.orchestranetworks.schema.SchemaTypeName type, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description, ListConstraint listConstraint) A parameter definition with a list of values.ParameterDefinition(String name, com.orchestranetworks.schema.SchemaTypeName type, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description, ListConstraint listConstraint, HTMLComponent htmlComponent) A parameter definition with a list of values and a UI component type.ParameterDefinition(String name, com.orchestranetworks.schema.SchemaTypeName type, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description, String defaultValue) A simple parameter definition with a default value. - 
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns an empty list ifisList()returnsfalse.Returns the predefined value of the parameter ifisList()returnsfalse.Deprecated.com.onwbp.base.text.UserMessageReturns the description of the parameter.Returns the HTML Component that represents the parameter.com.onwbp.base.text.UserMessagegetLabel()Returns the label of the parameter.Returns the list constraint.intintgetName()Returns the name of the parameter.Returns the parameter constraint.com.orchestranetworks.schema.SchemaTypeNamegetType()ReturnsSchemaTypeNameof the parameter.inthashCode()booleanisList()Returnstrueif the definition is a multiple-occurrenced or enumeration type.booleanReturnstrueif the data type is Number, and it allows a negative number.booleanReturnstrueif the data type is Boolean, and it allows an undefined value.booleanvoidsetGraphicalOptions(GraphicalOptions graphicalOptions) voidsetNegativeSupported(boolean negativeSupported) The property is used if the data type is Number.voidsetParameterConstraint(ParameterConstraint parameterConstraint) Defines the parameter constraint.voidsetUndefinedValueSupported(boolean undefinedValueSupported) The property is used for the Boolean data type. 
- 
Constructor Details
- 
ParameterDefinition
public ParameterDefinition(String name, com.orchestranetworks.schema.SchemaTypeName type, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description, boolean visibleOnDashboard) TODO A parameter definition without a default value and selected output parameters can be displayed on a dashboard.- Since:
 - 2.5.0
 
 - 
ParameterDefinition
public ParameterDefinition(String name, com.orchestranetworks.schema.SchemaTypeName type, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description) A simple parameter definition without a default value.- Since:
 - 1.4.0
 
 - 
ParameterDefinition
public ParameterDefinition(String name, com.orchestranetworks.schema.SchemaTypeName type, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description, String defaultValue) A simple parameter definition with a default value.- Since:
 - 1.4.0
 
 - 
ParameterDefinition
public ParameterDefinition(String name, com.orchestranetworks.schema.SchemaTypeName type, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description, ListConstraint listConstraint) A parameter definition with a list of values.- Since:
 - 1.3.0
 - See Also:
 
 - 
ParameterDefinition
public ParameterDefinition(String name, com.orchestranetworks.schema.SchemaTypeName type, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description, ListConstraint listConstraint, HTMLComponent htmlComponent) A parameter definition with a list of values and a UI component type.- Since:
 - 1.4.0
 - See Also:
 
 
 - 
 - 
Method Details
- 
getName
Returns the name of the parameter. - 
getType
public com.orchestranetworks.schema.SchemaTypeName getType()ReturnsSchemaTypeNameof the parameter. - 
getLabel
public com.onwbp.base.text.UserMessage getLabel()Returns the label of the parameter. - 
getDescription
public com.onwbp.base.text.UserMessage getDescription()Returns the description of the parameter. - 
getDefaultValue
Returns the predefined value of the parameter ifisList()returnsfalse. - 
setGraphicalOptions
- See Also:
 
 - 
getGraphicalOptions
- See Also:
 
 - 
isList
public boolean isList()Returnstrueif the definition is a multiple-occurrenced or enumeration type.- Since:
 - 1.3.0
 
 - 
getMinOccurs
public int getMinOccurs()- Since:
 - 1.3.0
 - See Also:
 
 - 
getMaxOccurs
public int getMaxOccurs()- Since:
 - 1.3.0
 - See Also:
 
 - 
getDefaultValues
Deprecated.As of v1.4.0, replaced bygetDefaultPredefinedValues().Returns an empty list ifisList()returnsfalse.- Since:
 - 1.3.0
 
 - 
getDefaultPredefinedValues
Returns an empty list ifisList()returnsfalse.- Since:
 - 1.4.0
 - See Also:
 
 - 
getHTMLComponent
Returns the HTML Component that represents the parameter.- Since:
 - 1.4.0
 - See Also:
 
 - 
isUndefinedValueSupported
public boolean isUndefinedValueSupported()Returnstrueif the data type is Boolean, and it allows an undefined value.Since v1.4.0, it is the recommendation to use
ParameterConstraintinstead.- Since:
 - 1.3.0
 
 - 
setUndefinedValueSupported
public void setUndefinedValueSupported(boolean undefinedValueSupported) The property is used for the Boolean data type.Since v1.4.0, it is the recommendation to use
ParameterConstraintinstead.- Parameters:
 undefinedValueSupported-boolean- Since:
 - 1.3.0
 
 - 
isNegativeSupported
public boolean isNegativeSupported()Returnstrueif the data type is Number, and it allows a negative number.Since v1.4.0, it is the recommendation to use
ParameterConstraintinstead.- Since:
 - 1.3.0
 
 - 
setNegativeSupported
public void setNegativeSupported(boolean negativeSupported) The property is used if the data type is Number.Since v1.4.0, it is the recommendation to use
ParameterConstraintinstead.- Parameters:
 negativeSupported-boolean- Since:
 - 1.3.0
 
 - 
getParameterConstraint
Returns the parameter constraint.- Since:
 - 1.4.0
 - See Also:
 
 - 
setParameterConstraint
Defines the parameter constraint.- Since:
 - 1.4.0
 - See Also:
 
 - 
getListConstraint
Returns the list constraint.- Since:
 - 1.4.0
 - See Also:
 
 - 
isVisibleOnDashboard
public boolean isVisibleOnDashboard() - 
hashCode
public int hashCode() - 
equals
 
 - 
 
getDefaultPredefinedValues().