public enum SportEventType extends Enum<SportEventType>
Enum Constant and Description |
---|
CHILD
Indicates a child sport event type(a specific stage in multi-stage race event, ...)
|
PARENT
Indicates a parent sport event type (multi-stage race event, ...)
|
Modifier and Type | Method and Description |
---|---|
static SportEventType |
mapFromApiValue(String str) |
static SportEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SportEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SportEventType PARENT
public static final SportEventType CHILD
public static SportEventType[] values()
for (SportEventType c : SportEventType.values()) System.out.println(c);
public static SportEventType 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 static SportEventType mapFromApiValue(String str)
Copyright © 2016–2023. All rights reserved.