no.difi.vefa.peppol.evidence.jaxb.receipt.Source Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of peppol-evidence Show documentation
Show all versions of peppol-evidence Show documentation
Implementation of ETSI REM evidence according to ETSI TS 102 640-2 with some adjustments.
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.09.16 at 12:56:37 PM UTC
//
package no.difi.vefa.peppol.evidence.jaxb.receipt;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Source.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="Source">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="C2"/>
* <enumeration value="C3"/>
* <enumeration value="C4"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "Source")
@XmlEnum
public enum Source {
@XmlEnumValue("C2")
C_2("C2"),
@XmlEnumValue("C3")
C_3("C3"),
@XmlEnumValue("C4")
C_4("C4");
private final String value;
Source(String v) {
value = v;
}
public String value() {
return value;
}
public static Source fromValue(String v) {
for (Source c: Source.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy