public final class LinkedRecordDefinition extends Object
| Constructor and Description |
|---|
LinkedRecordDefinition()
Creates a linked record definition that includes the activation option.
|
LinkedRecordDefinition(com.onwbp.base.text.UserMessage activeDescription)
Creates a linked record definition that includes the activation option.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addOption(ParameterDefinition options)
Adds an extra option to help users customize the rule.
|
void |
addReferencePath(String optionValue,
com.orchestranetworks.schema.Path path)
Adds an association between a linked record option's value and a
Flat data path or Big data path. |
com.onwbp.base.text.UserMessage |
getActivationMessage()
Returns the activation message.
|
List<ParameterDefinition> |
getOptions()
Returns the extra options.
|
com.orchestranetworks.schema.Path |
getReferencePath(String optionValue)
Returns the
Flat data path or the Big data path matching the linked record option's value. |
public LinkedRecordDefinition()
public LinkedRecordDefinition(com.onwbp.base.text.UserMessage activeDescription)
activeDescription - The extra information to help users know the business.public com.onwbp.base.text.UserMessage getActivationMessage()
public void addOption(ParameterDefinition options)
ParameterDefinitionpublic List<ParameterDefinition> getOptions()
public void addReferencePath(String optionValue, com.orchestranetworks.schema.Path path)
Flat data path or Big data path.optionValue - The value of a PredefinedValue which belongs to a linked record option.path - Must be a path from the Flat data table or Big data table.addOption(ParameterDefinition),
PredefinedValuepublic com.orchestranetworks.schema.Path getReferencePath(String optionValue)
Flat data path or the Big data path matching the linked record option's value.addReferencePath(String, Path)