public enum HouseType extends Enum<HouseType>
Java class for houseType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="houseType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="detached"/>
<enumeration value="semi-detached"/>
<enumeration value="terraced"/>
<enumeration value="end-of-terrace"/>
<enumeration value="townhouse"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DETACHED |
END_OF_TERRACE |
SEMI_DETACHED |
TERRACED |
TOWNHOUSE |
| Modifier and Type | Method and Description |
|---|---|
static HouseType |
fromValue(String v) |
String |
value() |
static HouseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HouseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HouseType DETACHED
public static final HouseType SEMI_DETACHED
public static final HouseType TERRACED
public static final HouseType END_OF_TERRACE
public static final HouseType TOWNHOUSE
public static HouseType[] values()
for (HouseType c : HouseType.values()) System.out.println(c);
public static HouseType 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.