Class OutputDefinition
- java.lang.Object
-
- com.orchestranetworks.addon.dpra.function.OutputDefinition
-
public final class OutputDefinition extends java.lang.Object
Specifies the output definition of a function.- Since:
- 4.2.0
- See Also:
FunctionDefinition.getOutputDefinitions()
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OutputDefinition
forBoolean(java.lang.String name, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description)
Creates an instance of boolean output.static OutputDefinition
forDateTime(java.lang.String name, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description)
Creates an instance of date time output.static OutputDefinition
forDecimal(java.lang.String name, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description)
Creates an instance of decimal output.static OutputDefinition
forInteger(java.lang.String name, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description)
Creates an instance of integer output.static OutputDefinition
forString(java.lang.String name, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description)
Creates an instance of string output.com.orchestranetworks.schema.SchemaTypeName
getDataType()
Return the data type.com.onwbp.base.text.UserMessage
getDescription()
Returns the output definition description.com.onwbp.base.text.UserMessage
getLabel()
Returns the output definition label.java.lang.String
getName()
Returns the unique name.
-
-
-
Method Detail
-
forBoolean
public static OutputDefinition forBoolean(java.lang.String name, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description)
Creates an instance of boolean output.- Parameters:
name
- The unique name of the output.label
- The localized label.description
- The localized description.
-
forDateTime
public static OutputDefinition forDateTime(java.lang.String name, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description)
Creates an instance of date time output.- Parameters:
name
- The unique name of the output.label
- The localized label.description
- The localized description.
-
forDecimal
public static OutputDefinition forDecimal(java.lang.String name, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description)
Creates an instance of decimal output.- Parameters:
name
- The unique name of the output.label
- The localized label.description
- The localized description.
-
forInteger
public static OutputDefinition forInteger(java.lang.String name, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description)
Creates an instance of integer output.- Parameters:
name
- The unique name of the output.label
- The localized label.description
- The localized description.
-
forString
public static OutputDefinition forString(java.lang.String name, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description)
Creates an instance of string output.- Parameters:
name
- The unique name of the output.label
- The localized label.description
- The localized description.
-
getName
public java.lang.String getName()
Returns the unique name.
-
getLabel
public com.onwbp.base.text.UserMessage getLabel()
Returns the output definition label.
-
getDescription
public com.onwbp.base.text.UserMessage getDescription()
Returns the output definition description.
-
getDataType
public com.orchestranetworks.schema.SchemaTypeName getDataType()
Return the data type.
-
-