GLS ShipIT  2.8.11
GLS ShipIT - REST services
OpeningClosingHours.java
Go to the documentation of this file.
1 
2 package eu.glsgroup.fpcs.datatypes.soap.v1.parcelshop;
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 
31 @XmlAccessorType(XmlAccessType.FIELD)
32 @XmlType(name = "OpeningClosingHours", propOrder = {
33  "openingHours"
34 })
35 public class OpeningClosingHours {
36 
37  @XmlElement(name = "OpeningHours", required = true)
38  protected List<Hours> openingHours;
39 
62  public List<Hours> getOpeningHours() {
63  if (openingHours == null) {
64  openingHours = new ArrayList<Hours>();
65  }
66  return this.openingHours;
67  }
68 
69 }