public class EventIdFilterRule extends GeneralDataFilterRule implements jayeson.model.IEventFilterRule
Constructor and Description |
---|
EventIdFilterRule() |
EventIdFilterRule(java.lang.String eventId) |
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 |
getEventId() |
boolean |
isComplied(IBetEvent event)
Determine if a record complies with the rule.
|
void |
setEventId(java.lang.String eventId) |
clone, getRuleType, hashCode, isNegated, setNegated
public EventIdFilterRule()
public EventIdFilterRule(java.lang.String eventId)
public boolean isComplied(IBetEvent event)
jayeson.model.IDataFilterRule
isComplied
in interface jayeson.model.IDataFilterRule<IBetEvent>
event
- data to execute the filter againstpublic java.lang.String getEventId()
public void setEventId(java.lang.String eventId)
public int compareTo(jayeson.model.IDataFilterRule o)
return: -1: is not equal 0: is equal.
compareTo
in interface jayeson.model.IDataFilterRule<IBetEvent>
compareTo
in class GeneralDataFilterRule
public int buildHashCode(int initialHashCode)
buildHashCode
in class GeneralDataFilterRule
public boolean equals(java.lang.Object obj)
equals
in class GeneralDataFilterRule