org.gs4tr.projectdirector.model.dto.xsd.DocumentInfo 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 DocumentInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DocumentInfo">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="childDocumentInfos" type="{http://dto.model.projectdirector.gs4tr.org/xsd}DocumentInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="clientIdentifier" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="dateRequested" type="{http://dto.model.projectdirector.gs4tr.org/xsd}Date"/>
* <element name="instructions" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="metadata" type="{http://dto.model.projectdirector.gs4tr.org/xsd}Metadata" maxOccurs="unbounded" minOccurs="0"/>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="projectTicket" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="sourceLocale" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="submissionTicket" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="targetInfos" type="{http://dto.model.projectdirector.gs4tr.org/xsd}TargetInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="wordCount" type="{http://www.w3.org/2001/XMLSchema}int"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DocumentInfo", propOrder = {
"childDocumentInfos",
"clientIdentifier",
"dateRequested",
"instructions",
"metadata",
"name",
"projectTicket",
"sourceLocale",
"submissionTicket",
"targetInfos",
"wordCount"
})
public class DocumentInfo {
@XmlElement(nillable = true)
protected List childDocumentInfos;
@XmlElement(required = true, nillable = true)
protected String clientIdentifier;
@XmlElement(required = true, nillable = true)
protected Date dateRequested;
@XmlElement(required = true, nillable = true)
protected String instructions;
@XmlElement(nillable = true)
protected List metadata;
@XmlElement(required = true, nillable = true)
protected String name;
@XmlElement(required = true, nillable = true)
protected String projectTicket;
@XmlElement(required = true, nillable = true)
protected String sourceLocale;
@XmlElement(required = true, nillable = true)
protected String submissionTicket;
@XmlElement(nillable = true)
protected List targetInfos;
@XmlElement(required = true, type = Integer.class, nillable = true)
protected Integer wordCount;
/**
* Gets the value of the childDocumentInfos 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 childDocumentInfos property.
*
*
* For example, to add a new item, do as follows:
*
* getChildDocumentInfos().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DocumentInfo }
*
*
*/
public List getChildDocumentInfos() {
if (childDocumentInfos == null) {
childDocumentInfos = new ArrayList();
}
return this.childDocumentInfos;
}
/**
* Gets the value of the clientIdentifier property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getClientIdentifier() {
return clientIdentifier;
}
/**
* Sets the value of the clientIdentifier property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setClientIdentifier(String value) {
this.clientIdentifier = value;
}
/**
* Gets the value of the dateRequested property.
*
* @return
* possible object is
* {@link Date }
*
*/
public Date getDateRequested() {
return dateRequested;
}
/**
* Sets the value of the dateRequested property.
*
* @param value
* allowed object is
* {@link Date }
*
*/
public void setDateRequested(Date value) {
this.dateRequested = value;
}
/**
* Gets the value of the instructions property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getInstructions() {
return instructions;
}
/**
* Sets the value of the instructions property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setInstructions(String value) {
this.instructions = value;
}
/**
* Gets the value of the metadata 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 metadata property.
*
*
* For example, to add a new item, do as follows:
*
* getMetadata().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Metadata }
*
*
*/
public List getMetadata() {
if (metadata == null) {
metadata = new ArrayList();
}
return this.metadata;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the projectTicket property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getProjectTicket() {
return projectTicket;
}
/**
* Sets the value of the projectTicket property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setProjectTicket(String value) {
this.projectTicket = value;
}
/**
* Gets the value of the sourceLocale property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSourceLocale() {
return sourceLocale;
}
/**
* Sets the value of the sourceLocale property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSourceLocale(String value) {
this.sourceLocale = value;
}
/**
* Gets the value of the submissionTicket property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSubmissionTicket() {
return submissionTicket;
}
/**
* Sets the value of the submissionTicket property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSubmissionTicket(String value) {
this.submissionTicket = value;
}
/**
* Gets the value of the targetInfos 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 targetInfos property.
*
*
* For example, to add a new item, do as follows:
*
* getTargetInfos().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TargetInfo }
*
*
*/
public List getTargetInfos() {
if (targetInfos == null) {
targetInfos = new ArrayList();
}
return this.targetInfos;
}
/**
* Gets the value of the wordCount property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getWordCount() {
return wordCount;
}
/**
* Sets the value of the wordCount property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setWordCount(Integer value) {
this.wordCount = value;
}
}