public enum MediaTypeEnumeration extends Enum<MediaTypeEnumeration>
Java class for MediaTypeEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="MediaTypeEnumeration">
<restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
<enumeration value="none"/>
<enumeration value="paperTicket"/>
<enumeration value="paperTicketWithCoupons"/>
<enumeration value="coupon"/>
<enumeration value="selfPrintPaperTicket"/>
<enumeration value="smartCard"/>
<enumeration value="mobileApp"/>
<enumeration value="card"/>
<enumeration value="mms"/>
<enumeration value="sms"/>
<enumeration value="other"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CARD |
COUPON |
MMS |
MOBILE_APP |
NONE |
OTHER |
PAPER_TICKET |
PAPER_TICKET_WITH_COUPONS |
SELF_PRINT_PAPER_TICKET |
SMART_CARD |
SMS |
| Modifier and Type | Method and Description |
|---|---|
static MediaTypeEnumeration |
fromValue(String v) |
String |
value() |
static MediaTypeEnumeration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaTypeEnumeration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaTypeEnumeration NONE
public static final MediaTypeEnumeration PAPER_TICKET
public static final MediaTypeEnumeration PAPER_TICKET_WITH_COUPONS
public static final MediaTypeEnumeration COUPON
public static final MediaTypeEnumeration SELF_PRINT_PAPER_TICKET
public static final MediaTypeEnumeration SMART_CARD
public static final MediaTypeEnumeration MOBILE_APP
public static final MediaTypeEnumeration CARD
public static final MediaTypeEnumeration MMS
public static final MediaTypeEnumeration SMS
public static final MediaTypeEnumeration OTHER
public static MediaTypeEnumeration[] values()
for (MediaTypeEnumeration c : MediaTypeEnumeration.values()) System.out.println(c);
public static MediaTypeEnumeration 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 MediaTypeEnumeration fromValue(String v)
Copyright © 2018 Entur AS. All rights reserved.