public class MatchIdFilterRule extends GeneralDataFilterRule implements jayeson.model.IMatchFilterRule
| Constructor and Description |
|---|
MatchIdFilterRule() |
MatchIdFilterRule(java.lang.String matchId) |
| 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) |
java.lang.String |
getMatchId() |
boolean |
isComplied(IBetMatch match)
Determine if a record complies with the rule.
|
void |
setMatchId(java.lang.String matchId) |
clone, getRuleType, hashCode, isNegated, setNegatedpublic MatchIdFilterRule()
public MatchIdFilterRule(java.lang.String matchId)
public boolean isComplied(IBetMatch match)
jayeson.model.IDataFilterRuleisComplied in interface jayeson.model.IDataFilterRule<IBetMatch>match - data to execute the filter againstpublic java.lang.String getMatchId()
public void setMatchId(java.lang.String matchId)
public int compareTo(jayeson.model.IDataFilterRule o)
return: -1: is not equal 0: is equal.
compareTo in interface jayeson.model.IDataFilterRule<IBetMatch>compareTo in class GeneralDataFilterRulepublic int buildHashCode(int initialHashCode)
buildHashCode in class GeneralDataFilterRulepublic boolean equals(java.lang.Object obj)
equals in class GeneralDataFilterRule