org.openestate.is24.restapi.xml.common.EnergyEfficiencyClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of OpenEstate-IS24-REST Show documentation
Show all versions of OpenEstate-IS24-REST Show documentation
OpenEstate-IS24-REST is a client library for the REST-Webservice of ImmobilienScout24.de written in Java.
package org.openestate.is24.restapi.xml.common;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for EnergyEfficiencyClass.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="EnergyEfficiencyClass">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="NOT_APPLICABLE"/>
* <enumeration value="A+"/>
* <enumeration value="A"/>
* <enumeration value="B"/>
* <enumeration value="C"/>
* <enumeration value="D"/>
* <enumeration value="E"/>
* <enumeration value="F"/>
* <enumeration value="G"/>
* <enumeration value="H"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "EnergyEfficiencyClass")
@XmlEnum
public enum EnergyEfficiencyClass {
/**
* keine Angabe
*
*/
NOT_APPLICABLE("NOT_APPLICABLE"),
@XmlEnumValue("A+")
A_PLUS("A+"),
A("A"),
B("B"),
C("C"),
D("D"),
E("E"),
F("F"),
G("G"),
H("H");
private final String value;
EnergyEfficiencyClass(String v) {
value = v;
}
public String value() {
return value;
}
public static EnergyEfficiencyClass fromValue(String v) {
for (EnergyEfficiencyClass c: EnergyEfficiencyClass.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy