@Generated(value="com.sun.tools.xjc.Driver", date="2018-10-12T04:04:29+02:00", comments="JAXB RI v2.2.11") public enum RoomType extends Enum<RoomType>
Java class for RoomType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="RoomType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="SINGLE"/>
<enumeration value="SHARED"/>
<enumeration value="SINGLE_AND_SHARED"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
SHARED
Mehrbettzimmer
|
SINGLE
Einzelzimmer
|
SINGLE_AND_SHARED
Einzel- und Mehrbettzimmer
|
| Modifier and Type | Method and Description |
|---|---|
static RoomType |
fromValue(String v) |
String |
value() |
static RoomType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoomType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoomType SINGLE
public static final RoomType SHARED
public static final RoomType SINGLE_AND_SHARED
public static RoomType[] values()
for (RoomType c : RoomType.values()) System.out.println(c);
public static RoomType 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()
Copyright © 2018 OpenEstate. All rights reserved.