public class TargetFilterRule extends GeneralDataFilterRule implements jayeson.model.IRecordFilterRule
| Constructor and Description |
|---|
TargetFilterRule() |
| Modifier and Type | Method and Description |
|---|---|
int |
buildHashCode(int initialHashCode) |
int |
compareTo(jayeson.model.IDataFilterRule o)
return:
-1: is not equal
0: is equal.
|
boolean |
equals(java.lang.Object obj) |
TargetType |
getTargetType() |
boolean |
isComplied(IBetRecord record)
Determine if a record complies with the rule.
|
void |
setTargetType(TargetType targetType) |
clone, getRuleType, hashCode, isNegated, setNegatedpublic boolean isComplied(IBetRecord record)
jayeson.model.IDataFilterRuleisComplied in interface jayeson.model.IDataFilterRule<IBetRecord>record - data to execute the filter againstpublic TargetType getTargetType()
public void setTargetType(TargetType targetType)
public int compareTo(jayeson.model.IDataFilterRule o)
return: -1: is not equal 0: is equal.
compareTo in interface jayeson.model.IDataFilterRule<IBetRecord>compareTo in class GeneralDataFilterRulepublic int buildHashCode(int initialHashCode)
buildHashCode in class GeneralDataFilterRulepublic boolean equals(java.lang.Object obj)
equals in class GeneralDataFilterRule