GLS ShipIT  2.8.11
GLS ShipIT - REST services
ValidationIssue.java
Go to the documentation of this file.
1 
2 package eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing;
3 
4 import javax.xml.bind.annotation.XmlAccessType;
5 import javax.xml.bind.annotation.XmlAccessorType;
6 import javax.xml.bind.annotation.XmlElement;
7 import javax.xml.bind.annotation.XmlType;
8 import java.util.ArrayList;
9 import java.util.List;
10 
11 
35 @XmlAccessorType(XmlAccessType.FIELD)
36 @XmlType(name = "ValidationIssue", propOrder = {
37  "rule",
38  "location",
39  "parameters"
40 })
41 public class ValidationIssue {
42 
43  @XmlElement(name = "Rule", required = true)
44  protected String rule;
45  @XmlElement(name = "Location", required = true)
46  protected String location;
47  @XmlElement(name = "Parameters")
48  protected List<String> parameters;
49 
58  public String getRule() {
59  return rule;
60  }
61 
70  public void setRule(String value) {
71  this.rule = value;
72  }
73 
82  public String getLocation() {
83  return location;
84  }
85 
94  public void setLocation(String value) {
95  this.location = value;
96  }
97 
120  public List<String> getParameters() {
121  if (parameters == null) {
122  parameters = new ArrayList<String>();
123  }
124  return this.parameters;
125  }
126 
127 }