ee.xtee6.ehr.v1.UrlPage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xtee6-client-ehr Show documentation
Show all versions of xtee6-client-ehr Show documentation
Library for XROAD EHR service clints
The newest version!
package ee.xtee6.ehr.v1;
import jakarta.annotation.Generated;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
*
*
* Java class for urlPage
.
*
* The following schema fragment specifies the expected content contained within this class.
* {@code
*
*
*
*
*
*
*
*
*
*
*
* }
*
*/
@XmlType(name = "urlPage", namespace = "http://ehr.ee.x-road.ee/producer/special/")
@XmlEnum
@Generated(value = "com.sun.tools.ws.wscompile.WsimportTool", comments = "XML-WS Tools 4.0.2", date = "2024-11-22T14:10:03+02:00")
public enum UrlPage {
@XmlEnumValue("ehitis")
EHITIS("ehitis"),
@XmlEnumValue("dokumendid")
DOKUMENDID("dokumendid"),
@XmlEnumValue("materjalid")
MATERJALID("materjalid"),
@XmlEnumValue("tehno")
TEHNO("tehno"),
@XmlEnumValue("osad")
OSAD("osad"),
@XmlEnumValue("viited")
VIITED("viited"),
@XmlEnumValue("aadress")
AADRESS("aadress");
private final String value;
UrlPage(String v) {
value = v;
}
/**
* Gets the value associated to the enum constant.
*
* @return
* The value linked to the enum.
*/
public String value() {
return value;
}
/**
* Gets the enum associated to the value passed as parameter.
*
* @param v
* The value to get the enum from.
* @return
* The enum which corresponds to the value, if it exists.
* @throws IllegalArgumentException
* If no value matches in the enum declaration.
*/
public static UrlPage fromValue(String v) {
for (UrlPage c: UrlPage.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy