org.openestate.io.is24_xml.xml.WGGroesse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of OpenEstate-IO-IS24-XML Show documentation
Show all versions of OpenEstate-IO-IS24-XML Show documentation
OpenEstate-IO-IS24-XML is a Java library to read and write real estate data in the IS24-XML format, that was used by immobilienscout24.de until 2014.
package org.openestate.io.is24_xml.xml;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for WGGroesse.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="WGGroesse">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="2"/>
* <enumeration value="3"/>
* <enumeration value="4"/>
* <enumeration value="5"/>
* <enumeration value="6"/>
* <enumeration value="7"/>
* <enumeration value="8"/>
* <enumeration value="9"/>
* <enumeration value="10"/>
* <enumeration value="11+"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "WGGroesse")
@XmlEnum
public enum WGGroesse {
@XmlEnumValue("2")
PERSONS_02("2"),
@XmlEnumValue("3")
PERSONS_03("3"),
@XmlEnumValue("4")
PERSONS_04("4"),
@XmlEnumValue("5")
PERSONS_05("5"),
@XmlEnumValue("6")
PERSONS_06("6"),
@XmlEnumValue("7")
PERSONS_07("7"),
@XmlEnumValue("8")
PERSONS_08("8"),
@XmlEnumValue("9")
PERSONS_09("9"),
@XmlEnumValue("10")
PERSONS_10("10"),
@XmlEnumValue("11+")
PERSONS_11_PLUS("11+");
private final String value;
WGGroesse(String v) {
value = v;
}
public String value() {
return value;
}
public static WGGroesse fromValue(String v) {
for (WGGroesse c: WGGroesse.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy