| Constructor and Description |
|---|
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.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Set<PredefinedValue> |
getDefaultPredefinedValues()
Returns an empty list if
isList() returns false. |
String |
getDefaultValue()
Returns the predefined value of the parameter if
isList() returns false. |
List<String> |
getDefaultValues()
Deprecated.
As of v1.4.0, replaced by
getDefaultPredefinedValues(). |
com.onwbp.base.text.UserMessage |
getDescription()
Returns the description of the parameter.
|
GraphicalOptions |
getGraphicalOptions() |
HTMLComponent |
getHTMLComponent()
Returns the HTML Component that represents the parameter.
|
com.onwbp.base.text.UserMessage |
getLabel()
Returns the label of the parameter.
|
ListConstraint |
getListConstraint()
Returns the list constraint.
|
int |
getMaxOccurs()
|
int |
getMinOccurs()
|
String |
getName()
Returns the name of the parameter.
|
ParameterConstraint |
getParameterConstraint()
Returns the parameter constraint.
|
com.orchestranetworks.schema.SchemaTypeName |
getType()
Returns
SchemaTypeName of the parameter. |
int |
hashCode() |
boolean |
isList()
Returns
true if the definition is a multiple-occurrenced or enumeration type. |
boolean |
isNegativeSupported()
Returns
true if the data type is Number, and it allows a negative number. |
boolean |
isUndefinedValueSupported()
Returns
true if the data type is Boolean, and it allows an undefined value. |
boolean |
isVisibleOnDashboard() |
void |
setGraphicalOptions(GraphicalOptions graphicalOptions) |
void |
setNegativeSupported(boolean negativeSupported)
The property is used if the data type is Number.
|
void |
setParameterConstraint(ParameterConstraint parameterConstraint)
Defines the parameter constraint.
|
void |
setUndefinedValueSupported(boolean undefinedValueSupported)
The property is used for the Boolean data type.
|
public ParameterDefinition(String name, com.orchestranetworks.schema.SchemaTypeName type, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description, boolean visibleOnDashboard)
public ParameterDefinition(String name, com.orchestranetworks.schema.SchemaTypeName type, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description)
public ParameterDefinition(String name, com.orchestranetworks.schema.SchemaTypeName type, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description, String defaultValue)
public ParameterDefinition(String name, com.orchestranetworks.schema.SchemaTypeName type, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description, ListConstraint listConstraint)
ListConstraintpublic ParameterDefinition(String name, com.orchestranetworks.schema.SchemaTypeName type, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description, ListConstraint listConstraint, HTMLComponent htmlComponent)
ListConstraint,
HTMLComponentpublic String getName()
public com.orchestranetworks.schema.SchemaTypeName getType()
SchemaTypeName of the parameter.public com.onwbp.base.text.UserMessage getLabel()
public com.onwbp.base.text.UserMessage getDescription()
public String getDefaultValue()
isList() returns false.public void setGraphicalOptions(GraphicalOptions graphicalOptions)
GraphicalOptionspublic GraphicalOptions getGraphicalOptions()
GraphicalOptionspublic boolean isList()
true if the definition is a multiple-occurrenced or enumeration type.public int getMinOccurs()
ListConstraint.getMinOccurs()public int getMaxOccurs()
ListConstraint.getMaxOccurs()@Deprecated public List<String> getDefaultValues()
getDefaultPredefinedValues().isList() returns false.public Set<PredefinedValue> getDefaultPredefinedValues()
isList() returns false.ListConstraint.getDefaultPredefinedValues()public HTMLComponent getHTMLComponent()
HTMLComponentpublic boolean isUndefinedValueSupported()
true if the data type is Boolean, and it allows an undefined value.
Since v1.4.0, it is the recommendation to use ParameterConstraint instead.
public void setUndefinedValueSupported(boolean undefinedValueSupported)
Since v1.4.0, it is the recommendation to use ParameterConstraint instead.
undefinedValueSupported - booleanpublic boolean isNegativeSupported()
true if the data type is Number, and it allows a negative number.
Since v1.4.0, it is the recommendation to use ParameterConstraint instead.
public void setNegativeSupported(boolean negativeSupported)
Since v1.4.0, it is the recommendation to use ParameterConstraint instead.
negativeSupported - booleanpublic ParameterConstraint getParameterConstraint()
ParameterConstraintpublic void setParameterConstraint(ParameterConstraint parameterConstraint)
ParameterConstraintpublic ListConstraint getListConstraint()
ListConstraintpublic boolean isVisibleOnDashboard()