Modifier and Type | Method and Description |
---|---|
TennisEventState |
eventState()
Retrieve primary tennis event state of the match
|
java.util.Collection<TennisEventState> |
eventStates()
Retrieve tennis event state from all sportbook of the match.
|
TennisEventType |
eventType()
Retrieve event type of tennis which can be one of NONE, GAME, or SET
|
default java.util.Collection<TennisRecord> |
getRecords(java.util.List<java.lang.String> bookIdList,
LBType lbType)
Retrieve collection of tennis records basing on the specific book id list and lay/back type
|
default java.util.Collection<TennisRecord> |
getRecords(java.lang.String bookId)
Retrieve collection of tennis records basing on the specific book id
|
default java.util.Collection<TennisRecord> |
getRecords(java.lang.String bookId,
LBType lbType)
Retrieve collection of tennis records basing on the specific book id and lay/back type
|
default java.util.Collection<TennisRecord> |
getRecords(java.lang.String bookId,
OddType oddType)
Retrieve collection of tennis records basing on the specific book id and odd type
|
default java.util.Collection<TennisRecord> |
getRecords(java.lang.String bookId,
TimeType timeType)
Retrieve collection of tennis records basing on the specific book id and time type
|
default TennisRecord |
record(java.lang.String source,
long id)
Retrieve a specific tennis record basing on the specific source name and id
|
java.util.Collection<TennisRecord> |
records()
Retrieve collection of tennis records from the tennis event object
|
default java.util.Collection<TennisRecord> |
records(PivotType pivotType)
Retrieve ollection of tennis records basing on the specific type of pivot
|
default java.util.Collection<TennisRecord> |
records(TimeType timeType)
Retrieve collection of tennis records basing on the specific type of time type
|
hasPivotType
getEventState, hasLBType, hasOddType, hasRecord, hasSportbook, hasTimeType, id, matchId
TennisEventState eventState()
eventState
in interface IB2Event
eventState
in interface IBetEvent
java.util.Collection<TennisEventState> eventStates()
eventStates
in interface IB2Event
eventStates
in interface IBetEvent
TennisEventType eventType()
java.util.Collection<TennisRecord> records()
default java.util.Collection<TennisRecord> getRecords(java.lang.String bookId)
getRecords
in interface IB2Event
getRecords
in interface IBetEvent
bookId
- - sport book identifierdefault java.util.Collection<TennisRecord> getRecords(java.lang.String bookId, TimeType timeType)
getRecords
in interface IB2Event
getRecords
in interface IBetEvent
bookId
- - sport book identifiertimeType
- - time typedefault java.util.Collection<TennisRecord> getRecords(java.lang.String bookId, OddType oddType)
getRecords
in interface IB2Event
getRecords
in interface IBetEvent
bookId
- - sport book identifieroddType
- - odd typedefault java.util.Collection<TennisRecord> getRecords(java.lang.String bookId, LBType lbType)
getRecords
in interface IB2Event
getRecords
in interface IBetEvent
bookId
- - book idlbType
- - LAY or BACKdefault java.util.Collection<TennisRecord> getRecords(java.util.List<java.lang.String> bookIdList, LBType lbType)
getRecords
in interface IB2Event
getRecords
in interface IBetEvent
bookIdList
- - List of book idslbType
- - LAY or BACKdefault TennisRecord record(java.lang.String source, long id)
default java.util.Collection<TennisRecord> records(PivotType pivotType)
default java.util.Collection<TennisRecord> records(TimeType timeType)