public enum AuctionSegment extends Enum<AuctionSegment>
Java class for AuctionSegment.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AuctionSegment">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Day"/>
<enumeration value="Week"/>
<enumeration value="Month"/>
<enumeration value="Quarter"/>
<enumeration value="DayOfWeek"/>
<enumeration value="Device"/>
</restriction>
</simpleType>
Enum Constant and Description |
---|
DAY |
DAY_OF_WEEK |
DEVICE |
MONTH |
QUARTER |
WEEK |
Modifier and Type | Method and Description |
---|---|
static AuctionSegment |
fromValue(String v) |
String |
value() |
static AuctionSegment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuctionSegment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuctionSegment DAY
public static final AuctionSegment WEEK
public static final AuctionSegment MONTH
public static final AuctionSegment QUARTER
public static final AuctionSegment DAY_OF_WEEK
public static final AuctionSegment DEVICE
public static AuctionSegment[] values()
for (AuctionSegment c : AuctionSegment.values()) System.out.println(c);
public static AuctionSegment 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 value()
public static AuctionSegment fromValue(String v)
Copyright © 2024. All rights reserved.