public enum OpenEstateConstant extends Enum<OpenEstateConstant> implements Translatable
Enum Constant and Description |
---|
APPROX |
FROM_NOW_ON |
NO |
NO_ENERGY_CERTIFICATE_AVAILABLE |
ON_REQUEST |
YES |
Modifier and Type | Method and Description |
---|---|
String |
getTranslation() |
String |
getTranslation(Locale locale) |
static OpenEstateConstant |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenEstateConstant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenEstateConstant YES
public static final OpenEstateConstant NO
public static final OpenEstateConstant APPROX
public static final OpenEstateConstant FROM_NOW_ON
public static final OpenEstateConstant ON_REQUEST
public static final OpenEstateConstant NO_ENERGY_CERTIFICATE_AVAILABLE
public static OpenEstateConstant[] values()
for (OpenEstateConstant c : OpenEstateConstant.values()) System.out.println(c);
public static OpenEstateConstant 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.