GLS ShipIT 5.0.15 GLS ShipIT - REST services

glsgroup/fpcs/datatypes/soap/v2/shipmentprocessing/TemplateSet.java
Go to the documentation of this file.
1
2 package eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing;
3
4 import javax.xml.bind.annotation.XmlEnum;
5 import javax.xml.bind.annotation.XmlEnumValue;
6 import javax.xml.bind.annotation.XmlType;
7
8
31 @XmlType(name = "TemplateSet")
32 @XmlEnum
33 public enum TemplateSet {
34
35 NONE("NONE"),
36 @XmlEnumValue("D200")
37 D_200("D200"),
38 @XmlEnumValue("PF4I")
39 PF_4_I("PF4I"),
40 @XmlEnumValue("PF4I200")
41 PF_4_I_200("PF4I200"),
42 @XmlEnumValue("PF4I300")
43 PF_4_I_300("PF4I300"),
44 @XmlEnumValue("PF8D200")
45 PF_8_D_200("PF8D200"),
46 @XmlEnumValue("T200BF")
47 T_200_BF("T200BF"),
48 @XmlEnumValue("T300BF")
49 T_300_BF("T300BF"),
50 @XmlEnumValue("ZPL200")
51 ZPL_200("ZPL200"),
52 @XmlEnumValue("ZPL300")
53 ZPL_300("ZPL300");
54 private final String value;
55
56 TemplateSet(String v) {
57 value = v;
58 }
59
60 public String value() {
61 return value;
62 }
63
64 public static TemplateSet fromValue(String v) {
65 for (TemplateSet c: TemplateSet.values()) {
66 if (c.value.equals(v)) {
67 return c;
68 }
69 }
70 throw new IllegalArgumentException(v);
71 }
72
73 }
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.TemplateSet.NONE
NONE
Definition: glsgroup/fpcs/datatypes/soap/v2/shipmentprocessing/TemplateSet.java:35
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.TemplateSet
Definition: glsgroup/fpcs/datatypes/soap/v2/shipmentprocessing/TemplateSet.java:33
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.TemplateSet.value
String value()
Definition: glsgroup/fpcs/datatypes/soap/v2/shipmentprocessing/TemplateSet.java:60
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.TemplateSet.fromValue
static TemplateSet fromValue(String v)
Definition: glsgroup/fpcs/datatypes/soap/v2/shipmentprocessing/TemplateSet.java:64