com.ibm.wbiserver.brules.mgmt.ruleset
Interface RuleSet
All Superinterfaces:
- public interface RuleSet
- extends BusinessRule
A new ruleset based on this one can be created using the createCopy
method.
The new ruleset is automatically added to the list of available targets for the operation
that this ruleset is associated with. It can then be added as a default target or a date-qualified
target for the operation.
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
Method Summary
Modifier and Type | Method and Description |
---|---|
getFirstRuleBlock()
Get the first rule block within this ruleset.
|
|
|
getRuleBlocks()
Get all rule blocks contained within this ruleset.
|
|
getRuleTemplates()
Get all rule templates contained within this ruleset.
|
Methods inherited from interface com.ibm.wbiserver.brules.mgmt.BusinessRule |
---|
createCopy, getAssociatedOperation, getDescription, getDisplayName, getName, getProperties, getProperty, getPropertyValue, getRuntimeID, getSaveDate, getTargetNameSpace, getType, isDisplayNameSynchronizedToName, setDescription, setDisplayName, setDisplayNameIsSynchronizedToName, setPropertyValue |
Methods inherited from interface com.ibm.wbiserver.brules.mgmt.BusinessRuleValidateable |
---|
validate |
Methods inherited from interface com.ibm.wbiserver.brules.mgmt.BusinessRuleChangeDetector |
---|
hasChanges |
Field Detail
COPYRIGHT
- static final java.lang.String COPYRIGHT
See Also:
Method Detail
getRuleBlocks
- java.util.List<RuleBlock> getRuleBlocks( )
Get all rule blocks contained within this ruleset. In the current implementation only
one rule block is allowed per ruleset.
Returns:
A
List
of RuleBlock
objects representing the rule blocks
for this ruleset. The returned List
is unmodifiable. getFirstRuleBlock
- RuleBlock getFirstRuleBlock()
Get the first rule block within this ruleset. This is a convenience method that can be
used to get the single rule block that is allowed in the ruleset in the current
implementation.
Returns:
The first
RuleBlock
object in the list of RuleBlocks
for this ruleset. getRuleTemplates
- java.util.List<RuleSetRuleTemplate> getRuleTemplates( )
Get all rule templates contained within this ruleset.
Returns:
A
List
of RuleSetRuleTemplate
objects representing the rule
templates for this ruleset. The returned List
is unmodifiable.