|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Methods required for discriminators. Discriminators are primarily used to determine whether a DiscriminatorRule applies and will fire. Objects that implement this interface compare an internal condition with the circumstances that are specified in a RuleContext object, to determine whether the condition is met in the specified context.
Most discriminators use an object to specify the internal condition. For example, a PositionDiscriminator has a ComponentInfo object that specifies the condition to be met. The applies method for the PositionDiscriminator compares its ComponentInfo object with the ComponentInfo object from the RuleContext that is passed to it.
PositionDiscriminator, DiscriminatorRule, RuleContext, ComponentInfo| Method Summary | |
boolean |
applies(RuleContext context)Specifies whether this Discriminator applies. |
java.lang.Object |
clone()Clones this Discriminator. |
| Method Detail |
public boolean applies(RuleContext context)
Discriminator applies. Compares the information in the specified RuleContext with its internal information. If they match, this Discriminator applies.context - The context of the item to be painted.true if the information from the context meets the condition specified in this Discriminator, false if not.public java.lang.Object clone()
Discriminator.Discriminator.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||