org.gs4tr.projectdirector.model.dto.xsd.DocumentGroup Maven / Gradle / Ivy
Show all versions of globallink-connect-api Show documentation
package org.gs4tr.projectdirector.model.dto.xsd;
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.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for DocumentGroup complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DocumentGroup">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="classifier" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="documents" type="{http://dto.model.projectdirector.gs4tr.org/xsd}Document" maxOccurs="unbounded" minOccurs="0"/>
* <element name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="submission" type="{http://dto.model.projectdirector.gs4tr.org/xsd}Submission"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DocumentGroup", propOrder = {
"classifier",
"documents",
"mimeType",
"submission"
})
public class DocumentGroup {
@XmlElement(required = true, nillable = true)
protected String classifier;
@XmlElement(nillable = true)
protected List documents;
@XmlElement(required = true, nillable = true)
protected String mimeType;
@XmlElement(required = true, nillable = true)
protected Submission submission;
/**
* Gets the value of the classifier property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getClassifier() {
return classifier;
}
/**
* Sets the value of the classifier property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setClassifier(String value) {
this.classifier = value;
}
/**
* Gets the value of the documents property.
*
*
* 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 set
method for the documents property.
*
*
* For example, to add a new item, do as follows:
*
* getDocuments().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Document }
*
*
*/
public List getDocuments() {
if (documents == null) {
documents = new ArrayList();
}
return this.documents;
}
/**
* Gets the value of the mimeType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMimeType() {
return mimeType;
}
/**
* Sets the value of the mimeType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMimeType(String value) {
this.mimeType = value;
}
/**
* Gets the value of the submission property.
*
* @return
* possible object is
* {@link Submission }
*
*/
public Submission getSubmission() {
return submission;
}
/**
* Sets the value of the submission property.
*
* @param value
* allowed object is
* {@link Submission }
*
*/
public void setSubmission(Submission value) {
this.submission = value;
}
}