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, setNegated
public boolean isComplied(IBetRecord record)
jayeson.model.IDataFilterRule
isComplied
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 GeneralDataFilterRule
public int buildHashCode(int initialHashCode)
buildHashCode
in class GeneralDataFilterRule
public boolean equals(java.lang.Object obj)
equals
in class GeneralDataFilterRule