public static enum RoofShape.Option extends Enum<RoofShape.Option> implements Translatable
Enum Constant and Description |
---|
FLAT
flat roof / Flachdach
|
GABLED
gabled roof / Satteldach
|
HALF_HIP
half-hip roof / Krüppelwalmdach
|
HIP
hip roof / Walmdach
|
MANSARD
mansard roof / Mansarddach
|
MONOPITCH
monopitch roof / Pultdach
|
PYRAMID
pyramid roof / Pyramidendach
|
Modifier and Type | Method and Description |
---|---|
String |
getTranslation() |
String |
getTranslation(Locale locale) |
static RoofShape.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoofShape.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoofShape.Option HIP
public static final RoofShape.Option MANSARD
public static final RoofShape.Option MONOPITCH
public static final RoofShape.Option GABLED
public static final RoofShape.Option FLAT
public static final RoofShape.Option PYRAMID
public static final RoofShape.Option HALF_HIP
public static RoofShape.Option[] values()
for (RoofShape.Option c : RoofShape.Option.values()) System.out.println(c);
public static RoofShape.Option 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 getTranslation()
getTranslation
in interface Translatable
public String getTranslation(Locale locale)
getTranslation
in interface Translatable
Copyright © 2019 OpenEstate. All rights reserved.