public class

TimesheetQuery

extends EntityQuery
java.lang.Object
   ↳ com.clarizen.api.BaseMessage
     ↳ com.clarizen.api.queries.Query
       ↳ com.clarizen.api.queries.EntityQuery
         ↳ com.clarizen.api.projectmanagement.TimesheetQuery

Class Overview

Java class for TimesheetQuery complex type.

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

 <complexType name="TimesheetQuery">
   <complexContent>
     <extension base="{http://clarizen.com/api/queries}EntityQuery">
       <sequence>
         <element name="CustomerId" type="{http://clarizen.com/api}EntityId" minOccurs="0"/>
         <element name="IAmTheApprover" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="ProjectId" type="{http://clarizen.com/api}EntityId" minOccurs="0"/>
         <element name="TimesheetState" type="{http://clarizen.com/api}TimesheetState" minOccurs="0"/>
         <element name="WorkItems" type="{http://clarizen.com/api}ArrayOfEntityId" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

Summary

Fields
protected EntityId customerId
protected Boolean iAmTheApprover
protected EntityId projectId
protected List<String> timesheetState
protected ArrayOfEntityId workItems
[Expand]
Inherited Fields
From class com.clarizen.api.queries.EntityQuery
From class com.clarizen.api.queries.Query
Public Constructors
TimesheetQuery()
Public Methods
EntityId getCustomerId()
Gets the value of the customerId property.
EntityId getProjectId()
Gets the value of the projectId property.
List<String> getTimesheetState()
Gets the value of the timesheetState property.
ArrayOfEntityId getWorkItems()
Gets the value of the workItems property.
Boolean isIAmTheApprover()
Gets the value of the iAmTheApprover property.
void setCustomerId(EntityId value)
Sets the value of the customerId property.
void setIAmTheApprover(Boolean value)
Sets the value of the iAmTheApprover property.
void setProjectId(EntityId value)
Sets the value of the projectId property.
void setWorkItems(ArrayOfEntityId value)
Sets the value of the workItems property.
[Expand]
Inherited Methods
From class com.clarizen.api.queries.EntityQuery
From class com.clarizen.api.queries.Query
From class java.lang.Object

Fields

protected EntityId customerId

protected Boolean iAmTheApprover

protected EntityId projectId

protected List<String> timesheetState

protected ArrayOfEntityId workItems

Public Constructors

public TimesheetQuery ()

Public Methods

public EntityId getCustomerId ()

Gets the value of the customerId property.

Returns

public EntityId getProjectId ()

Gets the value of the projectId property.

Returns

public List<String> getTimesheetState ()

Gets the value of the timesheetState 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 timesheetState property.

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

    getTimesheetState().add(newItem);
 

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

public ArrayOfEntityId getWorkItems ()

Gets the value of the workItems property.

Returns

public Boolean isIAmTheApprover ()

Gets the value of the iAmTheApprover property.

Returns
  • possible object is Boolean

public void setCustomerId (EntityId value)

Sets the value of the customerId property.

Parameters
value Allowed object is EntityId

public void setIAmTheApprover (Boolean value)

Sets the value of the iAmTheApprover property.

Parameters
value Allowed object is Boolean

public void setProjectId (EntityId value)

Sets the value of the projectId property.

Parameters
value Allowed object is EntityId

public void setWorkItems (ArrayOfEntityId value)

Sets the value of the workItems property.

Parameters
value Allowed object is ArrayOfEntityId