Class: MPXJ::Assignment
- Includes:
- AssignmentMethods
- Defined in:
- lib/mpxj/assignment.rb
Overview
Represents a relationship between a task and a resource in a project plan
Constant Summary
Constants included from AssignmentMethods
MPXJ::AssignmentMethods::ATTRIBUTE_TYPES
Instance Attribute Summary
Attributes inherited from Container
#attribute_values, #parent_project
Instance Method Summary collapse
-
#resource ⇒ Resource
Retrieve the resource associated with this assignment.
-
#task ⇒ Task
Retrieve the task associated with this assignment.
Methods included from AssignmentMethods
#actual_cost, #actual_finish, #actual_overtime_cost, #actual_overtime_work, #actual_overtime_work_protected, #actual_start, #actual_work, #actual_work_protected, #acwp, #assignment_delay, #assignment_resource_guid, #assignment_task_guid, #assignment_units, #attribute_types, #baseline10_budget_cost, #baseline10_budget_work, #baseline10_cost, #baseline10_finish, #baseline10_start, #baseline10_work, #baseline1_budget_cost, #baseline1_budget_work, #baseline1_cost, #baseline1_finish, #baseline1_start, #baseline1_work, #baseline2_budget_cost, #baseline2_budget_work, #baseline2_cost, #baseline2_finish, #baseline2_start, #baseline2_work, #baseline3_budget_cost, #baseline3_budget_work, #baseline3_cost, #baseline3_finish, #baseline3_start, #baseline3_work, #baseline4_budget_cost, #baseline4_budget_work, #baseline4_cost, #baseline4_finish, #baseline4_start, #baseline4_work, #baseline5_budget_cost, #baseline5_budget_work, #baseline5_cost, #baseline5_finish, #baseline5_start, #baseline5_work, #baseline6_budget_cost, #baseline6_budget_work, #baseline6_cost, #baseline6_finish, #baseline6_start, #baseline6_work, #baseline7_budget_cost, #baseline7_budget_work, #baseline7_cost, #baseline7_finish, #baseline7_start, #baseline7_work, #baseline8_budget_cost, #baseline8_budget_work, #baseline8_cost, #baseline8_finish, #baseline8_start, #baseline8_work, #baseline9_budget_cost, #baseline9_budget_work, #baseline9_cost, #baseline9_finish, #baseline9_start, #baseline9_work, #baseline_budget_cost, #baseline_budget_work, #baseline_cost, #baseline_finish, #baseline_start, #baseline_work, #bcwp, #bcws, #budget_cost, #budget_work, #calculate_costs_from_units, #confirmed, #cost, #cost1, #cost10, #cost2, #cost3, #cost4, #cost5, #cost6, #cost7, #cost8, #cost9, #cost_account_unique_id, #cost_rate_table, #cost_variance, #created, #cv, #date1, #date10, #date2, #date3, #date4, #date5, #date6, #date7, #date8, #date9, #duration1, #duration10, #duration10_units, #duration1_units, #duration2, #duration2_units, #duration3, #duration3_units, #duration4, #duration4_units, #duration5, #duration5_units, #duration6, #duration6_units, #duration7, #duration7_units, #duration8, #duration8_units, #duration9, #duration9_units, #enterprise_cost1, #enterprise_cost10, #enterprise_cost2, #enterprise_cost3, #enterprise_cost4, #enterprise_cost5, #enterprise_cost6, #enterprise_cost7, #enterprise_cost8, #enterprise_cost9, #enterprise_date1, #enterprise_date10, #enterprise_date11, #enterprise_date12, #enterprise_date13, #enterprise_date14, #enterprise_date15, #enterprise_date16, #enterprise_date17, #enterprise_date18, #enterprise_date19, #enterprise_date2, #enterprise_date20, #enterprise_date21, #enterprise_date22, #enterprise_date23, #enterprise_date24, #enterprise_date25, #enterprise_date26, #enterprise_date27, #enterprise_date28, #enterprise_date29, #enterprise_date3, #enterprise_date30, #enterprise_date4, #enterprise_date5, #enterprise_date6, #enterprise_date7, #enterprise_date8, #enterprise_date9, #enterprise_duration1, #enterprise_duration10, #enterprise_duration2, #enterprise_duration3, #enterprise_duration4, #enterprise_duration5, #enterprise_duration6, #enterprise_duration7, #enterprise_duration8, #enterprise_duration9, #enterprise_flag1, #enterprise_flag10, #enterprise_flag11, #enterprise_flag12, #enterprise_flag13, #enterprise_flag14, #enterprise_flag15, #enterprise_flag16, #enterprise_flag17, #enterprise_flag18, #enterprise_flag19, #enterprise_flag2, #enterprise_flag20, #enterprise_flag3, #enterprise_flag4, #enterprise_flag5, #enterprise_flag6, #enterprise_flag7, #enterprise_flag8, #enterprise_flag9, #enterprise_number1, #enterprise_number10, #enterprise_number11, #enterprise_number12, #enterprise_number13, #enterprise_number14, #enterprise_number15, #enterprise_number16, #enterprise_number17, #enterprise_number18, #enterprise_number19, #enterprise_number2, #enterprise_number20, #enterprise_number21, #enterprise_number22, #enterprise_number23, #enterprise_number24, #enterprise_number25, #enterprise_number26, #enterprise_number27, #enterprise_number28, #enterprise_number29, #enterprise_number3, #enterprise_number30, #enterprise_number31, #enterprise_number32, #enterprise_number33, #enterprise_number34, #enterprise_number35, #enterprise_number36, #enterprise_number37, #enterprise_number38, #enterprise_number39, #enterprise_number4, #enterprise_number40, #enterprise_number5, #enterprise_number6, #enterprise_number7, #enterprise_number8, #enterprise_number9, #enterprise_resource_multi_value20, #enterprise_resource_multi_value21, #enterprise_resource_multi_value22, #enterprise_resource_multi_value23, #enterprise_resource_multi_value24, #enterprise_resource_multi_value25, #enterprise_resource_multi_value26, #enterprise_resource_multi_value27, #enterprise_resource_multi_value28, #enterprise_resource_multi_value29, #enterprise_resource_outline_code1, #enterprise_resource_outline_code10, #enterprise_resource_outline_code11, #enterprise_resource_outline_code12, #enterprise_resource_outline_code13, #enterprise_resource_outline_code14, #enterprise_resource_outline_code15, #enterprise_resource_outline_code16, #enterprise_resource_outline_code17, #enterprise_resource_outline_code18, #enterprise_resource_outline_code19, #enterprise_resource_outline_code2, #enterprise_resource_outline_code20, #enterprise_resource_outline_code21, #enterprise_resource_outline_code22, #enterprise_resource_outline_code23, #enterprise_resource_outline_code24, #enterprise_resource_outline_code25, #enterprise_resource_outline_code26, #enterprise_resource_outline_code27, #enterprise_resource_outline_code28, #enterprise_resource_outline_code29, #enterprise_resource_outline_code3, #enterprise_resource_outline_code4, #enterprise_resource_outline_code5, #enterprise_resource_outline_code6, #enterprise_resource_outline_code7, #enterprise_resource_outline_code8, #enterprise_resource_outline_code9, #enterprise_resource_rbs, #enterprise_team_member, #enterprise_text1, #enterprise_text10, #enterprise_text11, #enterprise_text12, #enterprise_text13, #enterprise_text14, #enterprise_text15, #enterprise_text16, #enterprise_text17, #enterprise_text18, #enterprise_text19, #enterprise_text2, #enterprise_text20, #enterprise_text21, #enterprise_text22, #enterprise_text23, #enterprise_text24, #enterprise_text25, #enterprise_text26, #enterprise_text27, #enterprise_text28, #enterprise_text29, #enterprise_text3, #enterprise_text30, #enterprise_text31, #enterprise_text32, #enterprise_text33, #enterprise_text34, #enterprise_text35, #enterprise_text36, #enterprise_text37, #enterprise_text38, #enterprise_text39, #enterprise_text4, #enterprise_text40, #enterprise_text5, #enterprise_text6, #enterprise_text7, #enterprise_text8, #enterprise_text9, #finish, #finish1, #finish10, #finish2, #finish3, #finish4, #finish5, #finish6, #finish7, #finish8, #finish9, #finish_variance, #fixed_material_assignment, #flag1, #flag10, #flag11, #flag12, #flag13, #flag14, #flag15, #flag16, #flag17, #flag18, #flag19, #flag2, #flag20, #flag3, #flag4, #flag5, #flag6, #flag7, #flag8, #flag9, #guid, #hyperlink, #hyperlink_address, #hyperlink_data, #hyperlink_href, #hyperlink_screen_tip, #hyperlink_subaddress, included, #index, #leveling_delay, #leveling_delay_units, #linked_fields, #notes, #number1, #number10, #number11, #number12, #number13, #number14, #number15, #number16, #number17, #number18, #number19, #number2, #number20, #number3, #number4, #number5, #number6, #number7, #number8, #number9, #overallocated, #override_rate, #overtime_cost, #overtime_work, #owner, #peak, #percent_work_complete, #planned_cost, #planned_finish, #planned_start, #planned_work, #project, #rate_index, #rate_source, #regular_work, #remaining_cost, #remaining_early_finish, #remaining_early_start, #remaining_late_finish, #remaining_late_start, #remaining_overtime_cost, #remaining_overtime_work, #remaining_work, #resource_id, #resource_name, #resource_request_type, #resource_type, #resource_unique_id, #response_pending, #resume, #role_unique_id, #start, #start1, #start10, #start2, #start3, #start4, #start5, #start6, #start7, #start8, #start9, #start_variance, #stop, #summary, #sv, #task_id, #task_name, #task_outline_number, #task_summary_name, #task_unique_id, #team_status_pending, #text1, #text10, #text11, #text12, #text13, #text14, #text15, #text16, #text17, #text18, #text19, #text2, #text20, #text21, #text22, #text23, #text24, #text25, #text26, #text27, #text28, #text29, #text3, #text30, #text4, #text5, #text6, #text7, #text8, #text9, #timephased_actual_overtime_work, #timephased_actual_work, #timephased_baseline10_cost, #timephased_baseline10_work, #timephased_baseline1_cost, #timephased_baseline1_work, #timephased_baseline2_cost, #timephased_baseline2_work, #timephased_baseline3_cost, #timephased_baseline3_work, #timephased_baseline4_cost, #timephased_baseline4_work, #timephased_baseline5_cost, #timephased_baseline5_work, #timephased_baseline6_cost, #timephased_baseline6_work, #timephased_baseline7_cost, #timephased_baseline7_work, #timephased_baseline8_cost, #timephased_baseline8_work, #timephased_baseline9_cost, #timephased_baseline9_work, #timephased_baseline_cost, #timephased_baseline_work, #timephased_work, #unavailable, #unique_id, #update_needed, #vac, #variable_rate_units, #wbs, #work, #work_contour, #work_variance
Methods inherited from Container
Constructor Details
This class inherits a constructor from MPXJ::Container
Instance Method Details
#resource ⇒ Resource
Retrieve the resource associated with this assignment
16 17 18 |
# File 'lib/mpxj/assignment.rb', line 16 def resource parent_project.get_resource_by_unique_id(resource_unique_id) end |
#task ⇒ Task
Retrieve the task associated with this assignment
9 10 11 |
# File 'lib/mpxj/assignment.rb', line 9 def task parent_project.get_task_by_unique_id(task_unique_id) end |