View Javadoc

1   package org.fosstrak.epcis.model;
2   
3   import javax.xml.bind.annotation.XmlAccessType;
4   import javax.xml.bind.annotation.XmlAccessorType;
5   import javax.xml.bind.annotation.XmlElement;
6   import javax.xml.bind.annotation.XmlSeeAlso;
7   import javax.xml.bind.annotation.XmlType;
8   
9   /**
10   * <p>
11   * Java class for EPCISException complex type.
12   * <p>
13   * The following schema fragment specifies the expected content contained within
14   * this class.
15   * 
16   * <pre>
17   * &lt;complexType name="EPCISException">
18   *   &lt;complexContent>
19   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20   *       &lt;sequence>
21   *         &lt;element name="reason" type="{http://www.w3.org/2001/XMLSchema}string"/>
22   *       &lt;/sequence>
23   *     &lt;/restriction>
24   *   &lt;/complexContent>
25   * &lt;/complexType>
26   * </pre>
27   */
28  @XmlAccessorType(XmlAccessType.FIELD)
29  @XmlType(name = "EPCISException", propOrder = { "reason" })
30  @XmlSeeAlso( {
31          SecurityException.class, NoSuchNameException.class, InvalidURIException.class,
32          SubscriptionControlsException.class, SubscribeNotPermittedException.class, QueryParameterException.class,
33          QueryTooComplexException.class, QueryTooLargeException.class, DuplicateSubscriptionException.class,
34          ValidationException.class, ImplementationException.class, NoSuchSubscriptionException.class,
35          DuplicateNameException.class })
36  public class EPCISException {
37  
38      @XmlElement(required = true)
39      protected String reason;
40  
41      /**
42       * Gets the value of the reason property.
43       * 
44       * @return possible object is {@link String }
45       */
46      public String getReason() {
47          return reason;
48      }
49  
50      /**
51       * Sets the value of the reason property.
52       * 
53       * @param value
54       *            allowed object is {@link String }
55       */
56      public void setReason(String value) {
57          this.reason = value;
58      }
59  
60  }