@Deprecated public interface FilterCondition extends Serializable
FilterCondition helper function to create conditions to the rule type. It use exceptions to enforce that the operation types and the number and types of the arguments are correct.
| Modifier and Type | Method and Description |
|---|---|
BusinessRuleTerm |
getBusinessRuleTerm()
Deprecated.
Get the business term that is to be used by the condition
|
String |
getBusinessTermName()
Deprecated.
Get the name of the business term
|
String |
getBusinessTermType()
Deprecated.
Get the type of the business term
|
Object |
getOperandOne()
Deprecated.
Get the first operand of the condition
|
Object |
getOperandTwo()
Deprecated.
Get the second operand of the condition
|
TermOperationType |
getTermOperation()
Deprecated.
Get the operation of the condition
|
Iterator<BusinessRuleTerm> |
getValidBusinessTerms()
Deprecated.
|
Iterator<String> |
getValidTerms()
Deprecated.
|
boolean |
isEqual(FilterCondition f)
Deprecated.
Check if the two filter conditions are the same
|
boolean |
isValidTerm(BusinessRuleTerm t)
Deprecated.
Validate if the RuleTerm is a valid business term
|
boolean |
isValidTerm(String t)
Deprecated.
Validate if the RuleTerm is a valid business term
|
void |
setFilterTerm(String name)
Deprecated.
Set the business term that is to be used by the condition
|
void |
setOperandOne(Object o1)
Deprecated.
Set the first operand of the condition
|
void |
setOperandTwo(Object o2)
Deprecated.
Set the second operand of the condition
|
void |
setTermOperation(TermOperationType value)
Deprecated.
Sets the operation of the condition
|
boolean |
validate()
Deprecated.
Check that the Object is valid
|
Iterator<BusinessRuleTerm> getValidBusinessTerms()
Iterator<String> getValidTerms()
boolean isValidTerm(BusinessRuleTerm t)
t - Business termboolean isValidTerm(String t)
t - business termvoid setFilterTerm(String name) throws UserRuleSetValidationException
name - the name of the business termUserRuleSetValidationException - it the value of bt is not a defined business termBusinessRuleTerm getBusinessRuleTerm()
String getBusinessTermName()
String getBusinessTermType()
void setTermOperation(TermOperationType value) throws UserRuleSetValidationException
value - the operation of the conditionUserRuleSetValidationException - if the business term has not been set or operation is
not valid for the business termTermOperationType getTermOperation()
void setOperandOne(Object o1) throws UserRuleSetValidationException
o1 - the first operand of the conditionUserRuleSetValidationException - if TermOperation has not been set, the operation does
not accept operands, or the operand is of the wrong
type.void setOperandTwo(Object o2) throws UserRuleSetValidationException
o2 - the second operand of the conditionUserRuleSetValidationException - if TermOperation has not been set, the operation does
not accept two operands, or the operand is of the wrong
type.Object getOperandOne()
Object getOperandTwo()
boolean validate()
throws UserRuleSetValidationException
UserRuleSetValidationException - if the object is invalidboolean isEqual(FilterCondition f)
f - the filter condition to compareCopyright © 2009,2013 Oracle and/or its affiliates. All rights reserved.