public enum RaceDayStatus extends Enum<RaceDayStatus> implements com.sportradar.sdk.common.interfaces.EntityEnum
Enum Constant and Description |
---|
CANCELLED
Cancelled
|
ENDED
Ended
|
NOT_STARTED
Not started
|
STARTED
Started
|
UNKNOWN
Unknown
|
Modifier and Type | Method and Description |
---|---|
String |
getLiteralValue()
Gets literal value
|
static RaceDayStatus |
getRaceDayStatusFromLiteralValue(String value)
Constructs and return
RaceDayStatus enum member from passed value |
boolean |
isLiteralValueEqual(String value)
Determines whether the passed
value is equal to value associated with the current RaceDayStatus |
static RaceDayStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RaceDayStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RaceDayStatus CANCELLED
public static final RaceDayStatus ENDED
public static final RaceDayStatus NOT_STARTED
public static final RaceDayStatus STARTED
public static final RaceDayStatus UNKNOWN
public static RaceDayStatus[] values()
for (RaceDayStatus c : RaceDayStatus.values()) System.out.println(c);
public static RaceDayStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getLiteralValue()
public static RaceDayStatus getRaceDayStatusFromLiteralValue(String value) throws com.sportradar.sdk.common.exceptions.UnknownEnumException
RaceDayStatus
enum member from passed value
value
- The value used to construct the returned RaceDayStatus
instance.RaceDayStatus
instance or a null reference.com.sportradar.sdk.common.exceptions.UnknownEnumException
- if value does not represent any enum literal valuepublic boolean isLiteralValueEqual(String value)
value
is equal to value associated with the current RaceDayStatus
isLiteralValueEqual
in interface com.sportradar.sdk.common.interfaces.EntityEnum
value
- a value to be compared to the value associated with the current RaceDayStatus
value
is equal to the value associated with the current RaceDayStatus
. Otherwise false.Copyright © 2013–2023. All rights reserved.