//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.08.02 at 12:16:58 PM BST
//
package net.sf.mpxj.primavera.schema;
import java.util.ArrayList;
import java.util.Date;
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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Java class for ShiftType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="ShiftType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="CreateDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="CreateUser" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <maxLength value="255"/>
* </restriction>
* </simpleType>
* </element>
* <element name="LastUpdateDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="LastUpdateUser" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <maxLength value="255"/>
* </restriction>
* </simpleType>
* </element>
* <element name="Name" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <maxLength value="60"/>
* </restriction>
* </simpleType>
* </element>
* <element name="ObjectId" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <choice maxOccurs="unbounded" minOccurs="0">
* <element name="ShiftPeriod" type="{http://xmlns.oracle.com/Primavera/P6/V8.3/API/BusinessObjects}ShiftPeriodType" maxOccurs="unbounded" minOccurs="0"/>
* </choice>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ShiftType", propOrder =
{
"createDate",
"createUser",
"lastUpdateDate",
"lastUpdateUser",
"name",
"objectId",
"shiftPeriod"
}) public class ShiftType
{
@XmlElement(name = "CreateDate", type = String.class, nillable = true) @XmlJavaTypeAdapter(Adapter1.class) @XmlSchemaType(name = "dateTime") protected Date createDate;
@XmlElement(name = "CreateUser") protected String createUser;
@XmlElement(name = "LastUpdateDate", type = String.class, nillable = true) @XmlJavaTypeAdapter(Adapter1.class) @XmlSchemaType(name = "dateTime") protected Date lastUpdateDate;
@XmlElement(name = "LastUpdateUser") protected String lastUpdateUser;
@XmlElement(name = "Name") protected String name;
@XmlElement(name = "ObjectId") protected Integer objectId;
@XmlElement(name = "ShiftPeriod") protected List<ShiftPeriodType> shiftPeriod;
/**
* Gets the value of the createDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public Date getCreateDate()
{
return createDate;
}
/**
* Sets the value of the createDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCreateDate(Date value)
{
this.createDate = value;
}
/**
* Gets the value of the createUser property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCreateUser()
{
return createUser;
}
/**
* Sets the value of the createUser property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCreateUser(String value)
{
this.createUser = value;
}
/**
* Gets the value of the lastUpdateDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public Date getLastUpdateDate()
{
return lastUpdateDate;
}
/**
* Sets the value of the lastUpdateDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLastUpdateDate(Date value)
{
this.lastUpdateDate = value;
}
/**
* Gets the value of the lastUpdateUser property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLastUpdateUser()
{
return lastUpdateUser;
}
/**
* Sets the value of the lastUpdateUser property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLastUpdateUser(String value)
{
this.lastUpdateUser = value;
}
/**
* 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 objectId property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getObjectId()
{
return objectId;
}
/**
* Sets the value of the objectId property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setObjectId(Integer value)
{
this.objectId = value;
}
/**
* Gets the value of the shiftPeriod 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 shiftPeriod property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getShiftPeriod().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ShiftPeriodType }
*
*
*/
public List<ShiftPeriodType> getShiftPeriod()
{
if (shiftPeriod == null)
{
shiftPeriod = new ArrayList<ShiftPeriodType>();
}
return this.shiftPeriod;
}
}