ExternalDataReference.java

package nl.logius.digikoppeling.gb._2010._10;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for external-data-reference complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="external-data-reference"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="data-reference" type="{http://www.logius.nl/digikoppeling/gb/2010/10}data-reference" maxOccurs="unbounded"/&gt;
 *       &lt;/sequence&gt;
 *       &lt;attribute name="profile" type="{http://www.logius.nl/digikoppeling/gb/2010/10}gb-profile" /&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "external-data-reference", propOrder = {
    "dataReference"
})
public class ExternalDataReference {

    @XmlElement(name = "data-reference", required = true)
    protected List<DataReference> dataReference;
    @XmlAttribute(name = "profile")
    protected GbProfile profile;

    /**
     * Gets the value of the dataReference property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the dataReference property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getDataReference().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link DataReference }
     * 
     * 
     */
    public List<DataReference> getDataReference() {
        if (dataReference == null) {
            dataReference = new ArrayList<DataReference>();
        }
        return this.dataReference;
    }

    /**
     * Gets the value of the profile property.
     * 
     * @return
     *     possible object is
     *     {@link GbProfile }
     *     
     */
    public GbProfile getProfile() {
        return profile;
    }

    /**
     * Sets the value of the profile property.
     * 
     * @param value
     *     allowed object is
     *     {@link GbProfile }
     *     
     */
    public void setProfile(GbProfile value) {
        this.profile = value;
    }

}