Package | Description |
---|---|
net.sf.mpxj | |
net.sf.mpxj.common | |
net.sf.mpxj.listener | |
net.sf.mpxj.mpp | |
net.sf.mpxj.mspdi |
Modifier and Type | Method and Description |
---|---|
Resource |
ResourceContainer.add()
Add a resource to the project.
|
Resource |
ChildResourceContainer.addResource()
Creates and adds a resource to the list of resources held by this object.
|
Resource |
ProjectFile.addResource()
This method is used to add a new resource to the file.
|
Resource |
Resource.addResource() |
Resource |
Resource.getParentResource()
Retrieve the parent resource.
|
Resource |
Task.getPrimaryResource()
Retrieve the primary resource for this task.
|
Resource |
Resource.getPrimaryRole()
Retrieves the primary role.
|
Resource |
ResourceAssignment.getResource()
This method retrieves a reference to the resource with which this
assignment is associated.
|
Resource |
ProjectFile.getResourceByID(Integer id)
This method allows an arbitrary resource to be retrieved based
on its ID field.
|
Resource |
ProjectFile.getResourceByUniqueID(Integer id)
This method allows an arbitrary resource to be retrieved based
on its UniqueID field.
|
Resource |
ResourceAssignment.getRole()
Retrieve the role in which this resource assignment is being performed.
|
Modifier and Type | Method and Description |
---|---|
protected Function<Resource,Object> |
Resource.getCalculationMethod(FieldType field) |
List<Resource> |
ChildResourceContainer.getChildResources()
Retrieve a list of child resources held by this object.
|
List<Resource> |
ProjectFile.getChildResources()
This method is used to retrieve a list of all top level resources
defined in this project file.
|
List<Resource> |
Resource.getChildResources() |
List<Resource> |
ProjectCalendar.getResources()
Retrieve a list of the resources which use this calendar.
|
Map<Resource,SkillLevel> |
Resource.getRoleAssignments()
Retrieve a map of the roles assigned to this resource.
|
Modifier and Type | Method and Description |
---|---|
void |
Resource.addChildResource(Resource child)
Add an existing resource as a child of the current resource.
|
ResourceAssignment |
Task.addResourceAssignment(Resource resource)
This method allows a resource assignment to be added to the
current task.
|
void |
Resource.addRoleAssignment(Resource role,
SkillLevel skillLevel)
Add a role assignment, and a skill level for the role, to this resource.
|
int |
Resource.compareTo(Resource o)
This method implements the only method in the Comparable interface.
|
void |
EventManager.fireResourceReadEvent(Resource resource)
This method is called to alert project listeners to the fact that
a resource has been read from a project file.
|
void |
EventManager.fireResourceWrittenEvent(Resource resource)
This method is called to alert project listeners to the fact that
a resource has been written to a project file.
|
ResourceAssignment |
Task.getExistingResourceAssignment(Resource resource)
Retrieves an existing resource assignment if one is present,
to prevent duplicate resource assignments being added.
|
void |
Resource.removeChildResource(Resource child)
Removes a child resource.
|
void |
ResourceContainer.removed(Resource resource) |
void |
ProjectFile.removeResource(Resource resource)
This method is used to remove a resource from the project.
|
void |
Resource.removeRoleAssignment(Resource role)
Remove a role assignment from this resource.
|
void |
Resource.setParentResource(Resource resource)
Set the parent resource.
|
void |
Task.setPrimaryResource(Resource resource)
Set the primary resource for this task.
|
void |
Resource.setPrimaryRole(Resource role)
Sets the primary role.
|
void |
ResourceAssignment.setRole(Resource role)
Set the role in which this resource assignment is being performed.
|
Modifier and Type | Method and Description |
---|---|
static ProjectCalendar |
ProjectCalendarHelper.createTemporaryDerivedCalendar(ProjectCalendar baseCalendar,
Resource resource)
Create a temporary derived calendar.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultProjectListener.resourceRead(Resource resource) |
void |
ProjectListener.resourceRead(Resource resource)
This method is called when a resource is read from a file.
|
void |
DefaultProjectListener.resourceWritten(Resource resource) |
void |
ProjectListener.resourceWritten(Resource resource)
This method is called when a resource is written to a file.
|
Modifier and Type | Method and Description |
---|---|
static void |
MPPUtility.convertRateFromHours(ProjectFile file,
Resource resource,
ResourceField rateField,
ResourceField unitsField)
Convert from the internal representation of a rate as an amount per hour to the
format presented to the user.
|
Modifier and Type | Method and Description |
---|---|
static BigInteger |
DatatypeConverter.printOvertimeRateFormat(Resource resource,
Rate rate)
Print a time unit from a rate, and handle special case
for non-work resources.
|
static BigInteger |
DatatypeConverter.printStandardRateFormat(Resource resource,
Rate rate)
Print a time unit from a rate, and handle special case
for non-work resources.
|
Copyright © 2000–2024 Packwood Software. All rights reserved.