public class EventIdentifier extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(EventIdentifier other)
Determines whether passed
EventIdentifier is equal to the current one |
boolean |
equals(Object o) |
long |
getEventId()
Gets event id
|
int |
hashCode() |
static EventIdentifier |
id(long id)
Build an EventIdentifier from id
|
static EventIdentifier |
matchId(long matchId)
Deprecated.
- prefer id factory method instead
|
String |
toString() |
static EventIdentifier |
virtualGameEventId(Long virtualGameId,
long eventId)
Build and EventIdentifier for a virtual game.
|
static EventIdentifier |
virtualGameEventId(com.sportradar.sdk.common.settings.VirtualGame virtualGame,
long eventId)
Build and EventIdentifier for a virtual game.
|
public boolean equals(EventIdentifier other)
EventIdentifier
is equal to the current oneother
- The EventIdentifier
to be compared to the current oneEventIdentifier
is equal to the current one, otherwise false.public long getEventId()
public static EventIdentifier id(long id)
id
- - id of an eventpublic static EventIdentifier matchId(long matchId)
matchId
- - id of a matchpublic static EventIdentifier virtualGameEventId(Long virtualGameId, long eventId)
virtualGameId
- - virtual game ideventId
- - id of the eventpublic static EventIdentifier virtualGameEventId(com.sportradar.sdk.common.settings.VirtualGame virtualGame, long eventId)
virtualGame
- - virtual gameeventId
- - id of the eventCopyright © 2013–2023. All rights reserved.