public enum Furniture extends Enum<Furniture>
Java class for furniture.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="furniture"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Arredato"/> <enumeration value="Non Arredato"/> <enumeration value="Parzialmente Arredato"/> </restriction> </simpleType>
Enum Constant and Description |
---|
ARREDATO |
NON_ARREDATO |
PARZIALMENTE_ARREDATO |
Modifier and Type | Method and Description |
---|---|
static Furniture |
fromValue(String v) |
String |
value() |
static Furniture |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Furniture[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Furniture ARREDATO
public static final Furniture NON_ARREDATO
public static final Furniture PARZIALMENTE_ARREDATO
public static Furniture[] values()
for (Furniture c : Furniture.values()) System.out.println(c);
public static Furniture 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 OpenEstate. All rights reserved.