public enum CoveredFrom extends Enum<CoveredFrom> implements com.sportradar.sdk.common.interfaces.EntityEnum
Enum Constant and Description |
---|
TV
Coverage is performed by watching the event on the TV
|
VENUE
Coverage is performed by a data journalist at the venue
|
Modifier and Type | Method and Description |
---|---|
static CoveredFrom |
getCoveredFrom(String value)
Constructs and return
CoveredFrom enum member from passed value |
String |
getLiteralValue()
Gets literal values from this enum member.
|
boolean |
isLiteralValueEqual(String value)
Determines whether the passed
value is equal to value associated with the current CoveredFrom |
static CoveredFrom |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoveredFrom[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoveredFrom VENUE
public static final CoveredFrom TV
public static CoveredFrom[] values()
for (CoveredFrom c : CoveredFrom.values()) System.out.println(c);
public static CoveredFrom 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 final String getLiteralValue()
public static CoveredFrom getCoveredFrom(String value)
CoveredFrom
enum member from passed value
value
- The value used to construct the returned CoveredFrom
instance.CoveredFrom
instance or a null reference.public boolean isLiteralValueEqual(String value)
value
is equal to value associated with the current CoveredFrom
isLiteralValueEqual
in interface com.sportradar.sdk.common.interfaces.EntityEnum
value
- a value to be compared to the value associated with the current CoveredFrom
value
is equal to the value associated with the current CoveredFrom
. Otherwise false.Copyright © 2013–2023. All rights reserved.