GLS ShipIT 5.1.4 GLS ShipIT - REST services

gls_group/fpcs/v1/shipmentprocessing/types/TemplateSet.java
Go to the documentation of this file.
1
2 package eu.gls_group.fpcs.v1.shipmentprocessing.types;
3
4 import javax.xml.bind.annotation.XmlEnum;
5 import javax.xml.bind.annotation.XmlEnumValue;
6 import javax.xml.bind.annotation.XmlType;
7
8
39 @XmlType(name = "TemplateSet")
40 @XmlEnum
41 public enum TemplateSet {
42
43 NONE("NONE"),
44 @XmlEnumValue("D200")
45 D_200("D200"),
46 @XmlEnumValue("PF4I")
47 PF_4_I("PF4I"),
48 @XmlEnumValue("PF4I200")
49 PF_4_I_200("PF4I200"),
50 @XmlEnumValue("PF4I300")
51 PF_4_I_300("PF4I300"),
52 @XmlEnumValue("PF8D200")
53 PF_8_D_200("PF8D200"),
54 @XmlEnumValue("T200BF")
55 T_200_BF("T200BF"),
56 @XmlEnumValue("T300BF")
57 T_300_BF("T300BF"),
58 @XmlEnumValue("ZPL200")
59 ZPL_200("ZPL200"),
60 @XmlEnumValue("ZPL200TRACKID_EAN128")
61 ZPL_200_TRACKID_EAN_128("ZPL200TRACKID_EAN128"),
62 @XmlEnumValue("ZPL200TRACKID_CODE39")
63 ZPL_200_TRACKID_CODE_39("ZPL200TRACKID_CODE39"),
64 @XmlEnumValue("ZPL200REFNO_EAN128")
65 ZPL_200_REFNO_EAN_128("ZPL200REFNO_EAN128"),
66 @XmlEnumValue("ZPL200REFNO_CODE39")
67 ZPL_200_REFNO_CODE_39("ZPL200REFNO_CODE39"),
68 @XmlEnumValue("ZPL300")
69 ZPL_300("ZPL300"),
70 @XmlEnumValue("ZPL300TRACKID_EAN128")
71 ZPL_300_TRACKID_EAN_128("ZPL300TRACKID_EAN128"),
72 @XmlEnumValue("ZPL300TRACKID_CODE39")
73 ZPL_300_TRACKID_CODE_39("ZPL300TRACKID_CODE39"),
74 @XmlEnumValue("ZPL300REFNO_EAN128")
75 ZPL_300_REFNO_EAN_128("ZPL300REFNO_EAN128"),
76 @XmlEnumValue("ZPL300REFNO_CODE39")
77 ZPL_300_REFNO_CODE_39("ZPL300REFNO_CODE39");
78 private final String value;
79
80 TemplateSet(String v) {
81 value = v;
82 }
83
84 public String value() {
85 return value;
86 }
87
88 public static TemplateSet fromValue(String v) {
89 for (TemplateSet c: TemplateSet.values()) {
90 if (c.value.equals(v)) {
91 return c;
92 }
93 }
94 throw new IllegalArgumentException(v);
95 }
96
97 }
eu.gls_group.fpcs.v1.shipmentprocessing.types.TemplateSet.NONE
NONE
Definition: gls_group/fpcs/v1/shipmentprocessing/types/TemplateSet.java:43
eu.gls_group.fpcs.v1.shipmentprocessing.types.TemplateSet.value
String value()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/TemplateSet.java:84
eu.gls_group.fpcs.v1.shipmentprocessing.types.TemplateSet.fromValue
static TemplateSet fromValue(String v)
Definition: gls_group/fpcs/v1/shipmentprocessing/types/TemplateSet.java:88
eu.gls_group.fpcs.v1.shipmentprocessing.types.TemplateSet
Definition: gls_group/fpcs/v1/shipmentprocessing/types/TemplateSet.java:41