public enum SpaceType extends Enum<SpaceType>
Java class for SpaceType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="SpaceType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="HomeSpace"/> <enumeration value="MarketSpace"/> <enumeration value="CarSpace"/> </restriction> </simpleType>
Enum Constant and Description |
---|
CAR_SPACE |
HOME_SPACE |
MARKET_SPACE |
Modifier and Type | Method and Description |
---|---|
static SpaceType |
fromValue(String v) |
String |
value() |
static SpaceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpaceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpaceType HOME_SPACE
public static final SpaceType MARKET_SPACE
public static final SpaceType CAR_SPACE
public static SpaceType[] values()
for (SpaceType c : SpaceType.values()) System.out.println(c);
public static SpaceType 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 © 2015 universAAL Consortium. All Rights Reserved.