net.sf.mpxj.primavera.schema
Class ShiftType

java.lang.Object
  extended by net.sf.mpxj.primavera.schema.ShiftType

public class ShiftType
extends Object

Java class for ShiftType complex type.

The following schema fragment specifies the expected content contained within this class.

 <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" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="LastUpdateDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="LastUpdateUser" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <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/V7/API/BusinessObjects}ShiftPeriodType" maxOccurs="unbounded" minOccurs="0"/>
         </choice>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  JAXBElement<Date> createDate
           
protected  String createUser
           
protected  JAXBElement<Date> lastUpdateDate
           
protected  String lastUpdateUser
           
protected  String name
           
protected  Integer objectId
           
protected  List<ShiftPeriodType> shiftPeriod
           
 
Constructor Summary
ShiftType()
           
 
Method Summary
 JAXBElement<Date> getCreateDate()
          Gets the value of the createDate property.
 String getCreateUser()
          Gets the value of the createUser property.
 JAXBElement<Date> getLastUpdateDate()
          Gets the value of the lastUpdateDate property.
 String getLastUpdateUser()
          Gets the value of the lastUpdateUser property.
 String getName()
          Gets the value of the name property.
 Integer getObjectId()
          Gets the value of the objectId property.
 List<ShiftPeriodType> getShiftPeriod()
          Gets the value of the shiftPeriod property.
 void setCreateDate(JAXBElement<Date> value)
          Sets the value of the createDate property.
 void setCreateUser(String value)
          Sets the value of the createUser property.
 void setLastUpdateDate(JAXBElement<Date> value)
          Sets the value of the lastUpdateDate property.
 void setLastUpdateUser(String value)
          Sets the value of the lastUpdateUser property.
 void setName(String value)
          Sets the value of the name property.
 void setObjectId(Integer value)
          Sets the value of the objectId property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

createDate

protected JAXBElement<Date> createDate

createUser

protected String createUser

lastUpdateDate

protected JAXBElement<Date> lastUpdateDate

lastUpdateUser

protected String lastUpdateUser

name

protected String name

objectId

protected Integer objectId

shiftPeriod

protected List<ShiftPeriodType> shiftPeriod
Constructor Detail

ShiftType

public ShiftType()
Method Detail

getCreateDate

public JAXBElement<Date> getCreateDate()
Gets the value of the createDate property.

Returns:
possible object is JAXBElement<Date>

setCreateDate

public void setCreateDate(JAXBElement<Date> value)
Sets the value of the createDate property.

Parameters:
value - allowed object is JAXBElement<Date>

getCreateUser

public String getCreateUser()
Gets the value of the createUser property.

Returns:
possible object is String

setCreateUser

public void setCreateUser(String value)
Sets the value of the createUser property.

Parameters:
value - allowed object is String

getLastUpdateDate

public JAXBElement<Date> getLastUpdateDate()
Gets the value of the lastUpdateDate property.

Returns:
possible object is JAXBElement<Date>

setLastUpdateDate

public void setLastUpdateDate(JAXBElement<Date> value)
Sets the value of the lastUpdateDate property.

Parameters:
value - allowed object is JAXBElement<Date>

getLastUpdateUser

public String getLastUpdateUser()
Gets the value of the lastUpdateUser property.

Returns:
possible object is String

setLastUpdateUser

public void setLastUpdateUser(String value)
Sets the value of the lastUpdateUser property.

Parameters:
value - allowed object is String

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getObjectId

public Integer getObjectId()
Gets the value of the objectId property.

Returns:
possible object is Integer

setObjectId

public void setObjectId(Integer value)
Sets the value of the objectId property.

Parameters:
value - allowed object is Integer

getShiftPeriod

public List<ShiftPeriodType> getShiftPeriod()
Gets the value of the shiftPeriod 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 shiftPeriod property.

For example, to add a new item, do as follows:

    getShiftPeriod().add(newItem);
 

Objects of the following type(s) are allowed in the list ShiftPeriodType



Copyright © 2012. All Rights Reserved.