com.intuit.ipp.data.AttachableCategoryEnum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ipp-v3-java-data Show documentation
Show all versions of ipp-v3-java-data Show documentation
IPP Java V3 DevKit Data project - FMS Entities generation
//
// 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: 2018.12.08 at 07:59:36 PM PST
//
package com.intuit.ipp.data;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for AttachableCategoryEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="AttachableCategoryEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="Image"/>
* <enumeration value="Signature"/>
* <enumeration value="Contact Photo"/>
* <enumeration value="Receipt"/>
* <enumeration value="Document"/>
* <enumeration value="Sound"/>
* <enumeration value="Other"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "AttachableCategoryEnum")
@XmlEnum
public enum AttachableCategoryEnum {
@XmlEnumValue("Image")
IMAGE("Image"),
@XmlEnumValue("Signature")
SIGNATURE("Signature"),
@XmlEnumValue("Contact Photo")
CONTACT_PHOTO("Contact Photo"),
@XmlEnumValue("Receipt")
RECEIPT("Receipt"),
@XmlEnumValue("Document")
DOCUMENT("Document"),
@XmlEnumValue("Sound")
SOUND("Sound"),
@XmlEnumValue("Other")
OTHER("Other");
private final String value;
AttachableCategoryEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static AttachableCategoryEnum fromValue(String v) {
for (AttachableCategoryEnum c: AttachableCategoryEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}