GLS ShipIT
GLS ShipIT - REST services
 All Classes Namespaces Files Functions Variables Enumerator Pages
ValidationIssue.java
Go to the documentation of this file.
1 
2 package eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing;
3 
4 import java.util.ArrayList;
5 import java.util.List;
6 import javax.xml.bind.annotation.XmlAccessType;
7 import javax.xml.bind.annotation.XmlAccessorType;
8 import javax.xml.bind.annotation.XmlElement;
9 import javax.xml.bind.annotation.XmlType;
10 
11 
37 @XmlAccessorType(XmlAccessType.FIELD)
38 @XmlType(name = "ValidationIssue", propOrder = {
39  "rule",
40  "location",
41  "parameters"
42 })
43 public class ValidationIssue {
44 
45  @XmlElement(name = "Rule", required = true)
46  protected String rule;
47  @XmlElement(name = "Location", required = true)
48  protected String location;
49  @XmlElement(name = "Parameters")
50  protected List<String> parameters;
51 
60  public String getRule() {
61  return rule;
62  }
63 
72  public void setRule(String value) {
73  this.rule = value;
74  }
75 
84  public String getLocation() {
85  return location;
86  }
87 
96  public void setLocation(String value) {
97  this.location = value;
98  }
99 
122  public List<String> getParameters() {
123  if (parameters == null) {
124  parameters = new ArrayList<String>();
125  }
126  return this.parameters;
127  }
128 
129 }