|
Primavera Integration API Release 8 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.primavera.integration.common.value.ResourceRequest
public class ResourceRequest
The resource request used as a search template to search for a qualified resource.
Constructor Summary | |
---|---|
ResourceRequest()
|
Method Summary | |
---|---|
void |
addCriterion(ResourceRequestCriterion obj)
Adds a new criterion |
void |
addPrimaryRoleCriterion(ObjectId roleObjectId,
Proficiency proficiency)
Adds a new primary role criterion |
void |
addResourceCodeCriterion(ObjectId rsrcCodeObjectId)
Adds a new resource code criterion |
void |
addResourceCriterion(ObjectId rsrcObjectId)
Adds a new resource criterion |
void |
addRoleCriterion(ObjectId roleObjectId,
Proficiency proficiency)
Adds a new role criterion |
ResourceRequestCriterion[] |
criteriaToArray()
Returns the criteria as an array of ResourceRequestCriterion |
boolean |
equals(Object newResourceRequest)
|
Iterator<ResourceRequestCriterion> |
getCriteria()
Returns the criteria itself as an java.util.Iterator |
int |
getCriteriaCount()
Returns the criteria count |
Date |
getFinishDate()
Returns a copy of the finish date |
String |
getName()
Returns the name of this ResourceRequest |
Unit |
getRequestedUnits()
Returns the requested units |
int |
getSequenceNumber()
Returns the sequence number of this ResourceRequest |
Date |
getStartDate()
Returns a copy of the start date |
int |
hashCode()
|
boolean |
isMatchAllCriteria()
Returns the status of the flag matching all criteria or any criteria |
boolean |
isShowOnlyLaborResources()
Returns the status of the flag showing only labor Resources |
boolean |
isShowOverallocatedResources()
Returns the status of the flag showing overallocated Resources |
boolean |
isSortResultsByAvailability()
Returns the status of the flag sorting results by availability |
boolean |
isUseActivityDates()
Returns the status of the flag using Activity dates |
void |
setFinishDate(Date date)
Sets the finish date, clones argument |
void |
setMatchAllCriteria(boolean val)
Sets the flag matching all criteria or any criteria |
void |
setName(String name)
Sets the name of this ResourceRequest |
void |
setRequestedUnits(Unit val)
Sets the requested units |
void |
setSequenceNumber(int val)
Sets the sequence number of this ResourceRequest |
void |
setShowOnlyLaborResources(boolean val)
Sets the flag showing only labor Resources |
void |
setShowOverallocatedResources(boolean val)
Sets the flag showing overallocated Resources |
void |
setSortResultsByAvailability(boolean val)
Sets the flag sorting results by availability |
void |
setStartDate(Date date)
Sets the start date, clones argument |
void |
setUseActivityDates(boolean val)
Sets the flag using Activity dates |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ResourceRequest()
Method Detail |
---|
public int getCriteriaCount()
public Iterator<ResourceRequestCriterion> getCriteria()
java.util.Iterator
public ResourceRequestCriterion[] criteriaToArray()
ResourceRequestCriterion
public String getName()
public void setName(String name)
name
- Name of this ResourceRequestpublic int getSequenceNumber()
public void setSequenceNumber(int val)
val
- sequence number of this ResourceRequestpublic boolean isMatchAllCriteria()
public void setMatchAllCriteria(boolean val)
val
- value for the flag matching all criteria or any criteriapublic boolean isSortResultsByAvailability()
public void setSortResultsByAvailability(boolean val)
val
- value for the flag sorting results by availabilitypublic boolean isUseActivityDates()
public void setUseActivityDates(boolean val)
val
- value for the flag using Activity datespublic boolean isShowOverallocatedResources()
public void setShowOverallocatedResources(boolean val)
val
- value for the flag showing overallocated Resourcespublic Date getStartDate()
public void setStartDate(Date date)
date
- Start datepublic Date getFinishDate()
public void setFinishDate(Date date)
date
- Finish datepublic boolean isShowOnlyLaborResources()
public void setShowOnlyLaborResources(boolean val)
val
- value for the flag showing only labor Resourcespublic Unit getRequestedUnits()
public void setRequestedUnits(Unit val)
val
- the requested unitspublic void addPrimaryRoleCriterion(ObjectId roleObjectId, Proficiency proficiency)
roleObjectId
- identifying a Roleproficiency
- ProficiencyResourceRequestCriterion
public void addRoleCriterion(ObjectId roleObjectId, Proficiency proficiency)
roleObjectId
- identifying a Roleproficiency
- ProficiencyResourceRequestCriterion
public void addResourceCriterion(ObjectId rsrcObjectId)
rsrcObjectId
- identifying a ResourceResourceRequestCriterion
public void addResourceCodeCriterion(ObjectId rsrcCodeObjectId)
rsrcCodeObjectId
- identifying a ResourceCodeResourceRequestCriterion
public void addCriterion(ResourceRequestCriterion obj)
obj
- ResourceRequestCriterion objectResourceRequestCriterion
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object newResourceRequest)
equals
in class Object
|
Primavera Integration API Release 8 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |