com.bytekast.netsuite.client.TimeSheet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of netsuite-suitetalk Show documentation
Show all versions of netsuite-suitetalk Show documentation
Client API for NetSuite Suitetalk Web Services
The newest version!
package com.bytekast.netsuite.client;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* Java class for TimeSheet complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TimeSheet">
* <complexContent>
* <extension base="{urn:core_2017_1.platform.webservices.netsuite.com}Record">
* <sequence>
* <element name="customForm" type="{urn:core_2017_1.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
* <element name="employee" type="{urn:core_2017_1.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
* <element name="startDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="endDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="totalHours" type="{urn:core_2017_1.platform.webservices.netsuite.com}Duration" minOccurs="0"/>
* <element name="approvalStatus" type="{urn:core_2017_1.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
* <element name="subsidiary" type="{urn:core_2017_1.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
* <element name="timeGridList" type="{urn:employees_2017_1.transactions.webservices.netsuite.com}TimeSheetTimeGridList" minOccurs="0"/>
* <element name="customFieldList" type="{urn:core_2017_1.platform.webservices.netsuite.com}CustomFieldList" minOccurs="0"/>
* </sequence>
* <attribute name="internalId" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="externalId" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TimeSheet", namespace = "urn:employees_2017_1.transactions.webservices.netsuite.com", propOrder = {
"customForm",
"employee",
"startDate",
"endDate",
"totalHours",
"approvalStatus",
"subsidiary",
"timeGridList",
"customFieldList"
})
public class TimeSheet
extends Record
implements Serializable
{
protected RecordRef customForm;
protected RecordRef employee;
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar startDate;
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar endDate;
protected Duration totalHours;
protected RecordRef approvalStatus;
protected RecordRef subsidiary;
protected TimeSheetTimeGridList timeGridList;
protected CustomFieldList customFieldList;
@XmlAttribute(name = "internalId")
protected String internalId;
@XmlAttribute(name = "externalId")
protected String externalId;
/**
* Gets the value of the customForm property.
*
* @return
* possible object is
* {@link RecordRef }
*
*/
public RecordRef getCustomForm() {
return customForm;
}
/**
* Sets the value of the customForm property.
*
* @param value
* allowed object is
* {@link RecordRef }
*
*/
public void setCustomForm(RecordRef value) {
this.customForm = value;
}
/**
* Gets the value of the employee property.
*
* @return
* possible object is
* {@link RecordRef }
*
*/
public RecordRef getEmployee() {
return employee;
}
/**
* Sets the value of the employee property.
*
* @param value
* allowed object is
* {@link RecordRef }
*
*/
public void setEmployee(RecordRef value) {
this.employee = value;
}
/**
* Gets the value of the startDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getStartDate() {
return startDate;
}
/**
* Sets the value of the startDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setStartDate(XMLGregorianCalendar value) {
this.startDate = value;
}
/**
* Gets the value of the endDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getEndDate() {
return endDate;
}
/**
* Sets the value of the endDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setEndDate(XMLGregorianCalendar value) {
this.endDate = value;
}
/**
* Gets the value of the totalHours property.
*
* @return
* possible object is
* {@link Duration }
*
*/
public Duration getTotalHours() {
return totalHours;
}
/**
* Sets the value of the totalHours property.
*
* @param value
* allowed object is
* {@link Duration }
*
*/
public void setTotalHours(Duration value) {
this.totalHours = value;
}
/**
* Gets the value of the approvalStatus property.
*
* @return
* possible object is
* {@link RecordRef }
*
*/
public RecordRef getApprovalStatus() {
return approvalStatus;
}
/**
* Sets the value of the approvalStatus property.
*
* @param value
* allowed object is
* {@link RecordRef }
*
*/
public void setApprovalStatus(RecordRef value) {
this.approvalStatus = value;
}
/**
* Gets the value of the subsidiary property.
*
* @return
* possible object is
* {@link RecordRef }
*
*/
public RecordRef getSubsidiary() {
return subsidiary;
}
/**
* Sets the value of the subsidiary property.
*
* @param value
* allowed object is
* {@link RecordRef }
*
*/
public void setSubsidiary(RecordRef value) {
this.subsidiary = value;
}
/**
* Gets the value of the timeGridList property.
*
* @return
* possible object is
* {@link TimeSheetTimeGridList }
*
*/
public TimeSheetTimeGridList getTimeGridList() {
return timeGridList;
}
/**
* Sets the value of the timeGridList property.
*
* @param value
* allowed object is
* {@link TimeSheetTimeGridList }
*
*/
public void setTimeGridList(TimeSheetTimeGridList value) {
this.timeGridList = value;
}
/**
* Gets the value of the customFieldList property.
*
* @return
* possible object is
* {@link CustomFieldList }
*
*/
public CustomFieldList getCustomFieldList() {
return customFieldList;
}
/**
* Sets the value of the customFieldList property.
*
* @param value
* allowed object is
* {@link CustomFieldList }
*
*/
public void setCustomFieldList(CustomFieldList value) {
this.customFieldList = value;
}
/**
* Gets the value of the internalId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getInternalId() {
return internalId;
}
/**
* Sets the value of the internalId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setInternalId(String value) {
this.internalId = value;
}
/**
* Gets the value of the externalId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getExternalId() {
return externalId;
}
/**
* Sets the value of the externalId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExternalId(String value) {
this.externalId = value;
}
}