001//
002// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
003// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
004// Any modifications to this file will be lost upon recompilation of the source schema. 
005// Generated on: 2017.05.21 at 04:43:57 PM EDT 
006//
007
008
009package org.dcm4che3.audit;
010
011import java.util.ArrayList;
012import java.util.List;
013import javax.xml.bind.annotation.XmlAccessType;
014import javax.xml.bind.annotation.XmlAccessorType;
015import javax.xml.bind.annotation.XmlAttribute;
016import javax.xml.bind.annotation.XmlElement;
017import javax.xml.bind.annotation.XmlRootElement;
018import javax.xml.bind.annotation.XmlType;
019
020
021/**
022 * <p>Java class for anonymous complex type.
023 * 
024 * <p>The following schema fragment specifies the expected content contained within this class.
025 * 
026 * <pre>
027 * &lt;complexType&gt;
028 *   &lt;complexContent&gt;
029 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
030 *       &lt;sequence&gt;
031 *         &lt;element ref="{}Instance" maxOccurs="unbounded" minOccurs="0"/&gt;
032 *       &lt;/sequence&gt;
033 *       &lt;attribute name="UID" use="required" type="{}OID" /&gt;
034 *       &lt;attribute name="NumberOfInstances" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
035 *     &lt;/restriction&gt;
036 *   &lt;/complexContent&gt;
037 * &lt;/complexType&gt;
038 * </pre>
039 * 
040 * 
041 */
042@XmlAccessorType(XmlAccessType.FIELD)
043@XmlType(name = "", propOrder = {
044    "instance"
045})
046@XmlRootElement(name = "SOPClass")
047public class SOPClass {
048
049    @XmlElement(name = "Instance")
050    protected List<Instance> instance;
051    @XmlAttribute(name = "UID", required = true)
052    protected String uid;
053    @XmlAttribute(name = "NumberOfInstances")
054    protected Integer numberOfInstances;
055
056    /**
057     * Gets the value of the instance property.
058     * 
059     * <p>
060     * This accessor method returns a reference to the live list,
061     * not a snapshot. Therefore any modification you make to the
062     * returned list will be present inside the JAXB object.
063     * This is why there is not a <CODE>set</CODE> method for the instance property.
064     * 
065     * <p>
066     * For example, to add a new item, do as follows:
067     * <pre>
068     *    getInstance().add(newItem);
069     * </pre>
070     * 
071     * 
072     * <p>
073     * Objects of the following type(s) are allowed in the list
074     * {@link Instance }
075     * 
076     * 
077     */
078    public List<Instance> getInstance() {
079        if (instance == null) {
080            instance = new ArrayList<Instance>();
081        }
082        return this.instance;
083    }
084
085    /**
086     * Gets the value of the uid property.
087     * 
088     * @return
089     *     possible object is
090     *     {@link String }
091     *     
092     */
093    public String getUID() {
094        return uid;
095    }
096
097    /**
098     * Sets the value of the uid property.
099     * 
100     * @param value
101     *     allowed object is
102     *     {@link String }
103     *     
104     */
105    public void setUID(String value) {
106        this.uid = value;
107    }
108
109    /**
110     * Gets the value of the numberOfInstances property.
111     * 
112     * @return
113     *     possible object is
114     *     {@link Integer }
115     *     
116     */
117    public Integer getNumberOfInstances() {
118        return numberOfInstances;
119    }
120
121    /**
122     * Sets the value of the numberOfInstances property.
123     * 
124     * @param value
125     *     allowed object is
126     *     {@link Integer }
127     *     
128     */
129    public void setNumberOfInstances(Integer value) {
130        this.numberOfInstances = value;
131    }
132
133}