org.gs4tr.projectdirector.model.dto.xsd.Batch 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 Batch complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Batch">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="targetLanguages" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="workflowDefinition" type="{http://dto.model.projectdirector.gs4tr.org/xsd}WorkflowDefinition"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Batch", propOrder = {
"name",
"targetLanguages",
"workflowDefinition"
})
public class Batch {
@XmlElement(required = true, nillable = true)
protected String name;
@XmlElement(nillable = true)
protected List targetLanguages;
@XmlElement(required = true, nillable = true)
protected WorkflowDefinition workflowDefinition;
/**
* 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 targetLanguages 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 targetLanguages property.
*
*
* For example, to add a new item, do as follows:
*
* getTargetLanguages().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getTargetLanguages() {
if (targetLanguages == null) {
targetLanguages = new ArrayList();
}
return this.targetLanguages;
}
/**
* Gets the value of the workflowDefinition property.
*
* @return
* possible object is
* {@link WorkflowDefinition }
*
*/
public WorkflowDefinition getWorkflowDefinition() {
return workflowDefinition;
}
/**
* Sets the value of the workflowDefinition property.
*
* @param value
* allowed object is
* {@link WorkflowDefinition }
*
*/
public void setWorkflowDefinition(WorkflowDefinition value) {
this.workflowDefinition = value;
}
}