Class: MPXJ::Properties

Inherits:
Container show all
Includes:
PropertyMethods
Defined in:
lib/mpxj/properties.rb

Overview

Represents the properties of a project

Constant Summary

Constants included from PropertyMethods

MPXJ::PropertyMethods::ATTRIBUTE_TYPES

Instance Attribute Summary

Attributes inherited from Container

#attribute_values, #parent_project

Instance Method Summary collapse

Methods included from PropertyMethods

#activity_id_increment, #activity_id_increment_based_on_selected_activity, #activity_id_prefix, #activity_id_suffix, #actual_cost, #actual_duration, #actual_finish, #actual_start, #actual_work, #actuals_in_sync, #admin_project, #am_text, #application_version, #attribute_types, #author, #auto_add_new_resources_and_tasks, #auto_link, #autofilter, #bar_text_date_format, #baseline10_date, #baseline1_date, #baseline2_date, #baseline3_date, #baseline4_date, #baseline5_date, #baseline6_date, #baseline7_date, #baseline8_date, #baseline9_date, #baseline_calendar_name, #baseline_cost, #baseline_date, #baseline_duration, #baseline_finish, #baseline_for_earned_value, #baseline_project_unique_id, #baseline_start, #baseline_type_name, #baseline_type_unique_id, #baseline_work, #calculate_float_based_on_finish_date_of_each_project, #calculate_multiple_float_paths, #calculate_multiple_float_paths_using_total_float, #category, #comments, #company, #compute_start_to_start_lag_from_early_start, #consider_assignments_in_other_projects, #consider_assignments_in_other_projects_with_priority_equal_higher_than, #content_status, #content_type, #cost, #creation_date, #critical_activity_type, #critical_slack_limit, #currency_code, #currency_digits, #currency_symbol, #currency_symbol_position, #current_date, #custom_properties, #data_date_and_planned_start_set_to_project_forecast_start, #date_format, #date_order, #date_separator, #days_per_month, #decimal_separator, #default_calendar_unique_id, #default_duration_is_fixed, #default_duration_units, #default_end_time, #default_fixed_cost_accrual, #default_overtime_rate, #default_standard_rate, #default_start_time, #default_task_earned_value_method, #default_task_type, #default_work_units, #display_multiple_float_paths_ending_with_activity_unique_id, #document_version, #duration, #earned_value_method, #editable_actual_costs, #editing_time, #export_flag, #extended_creation_date, #file_application, #file_type, #finish_date, #finish_variance, #fiscal_year_start, #fiscal_year_start_month, #full_application_name, #guid, #honor_constraints, #hyperlink_base, #ignore_relationships_to_and_from_other_projects, included, #inserted_projects_like_summary, #keywords, #language, #last_author, #last_baseline_update_date, #last_saved, #lastprinted, #level_all_resources, #level_resources_only_within_activity_total_float, #leveling_priorities, #limit_number_of_float_paths_to_calculate, #location_unique_id, #make_open_ended_activities_critical, #manager, #max_percent_to_overallocate_resources, #maximum_number_of_float_paths_to_calculate, #microsoft_project_server_url, #minutes_per_day, #minutes_per_month, #minutes_per_week, #minutes_per_year, #move_completed_ends_back, #move_completed_ends_forward, #move_remaining_starts_back, #move_remaining_starts_forward, #mpp_file_type, #mpx_code_page, #mpx_delimiter, #mpx_file_version, #mpx_program_name, #multiple_critical_paths, #must_finish_by, #name, #new_task_start_is_project_start, #new_tasks_are_manual, #new_tasks_effort_driven, #new_tasks_estimated, #notes, #percentage_complete, #planned_start, #pm_text, #presentation_format, #preserve_minimum_float_when_leveling, #preserve_scheduled_early_and_late_dates, #project_externally_edited, #project_file_path, #project_id, #project_is_baseline, #project_title, #project_website_url, #relationship_lag_calendar, #remove_file_properties, #resource_pool_file, #revision, #schedule_from, #scheduled_finish, #scheduling_progressed_activities, #short_application_name, #show_project_summary_task, #split_in_progress_tasks, #spread_actual_cost, #spread_percent_complete, #start_date, #start_variance, #status_date, #subject, #template, #thousands_separator, #time_format, #time_separator, #total_slack_calculation_type, #unique_id, #updating_task_status_updates_resource_status, #use_expected_finish_dates, #wbs_code_separator, #week_start_day, #work, #work2

Methods inherited from Container

#initialize

Constructor Details

This class inherits a constructor from MPXJ::Container

Instance Method Details

#default_calendarCalendar

Retrieve the default calendar for this project

Returns:



9
10
11
# File 'lib/mpxj/properties.rb', line 9

def default_calendar
  parent_project.get_calendar_by_unique_id(attribute_values['default_calendar_unique_id']&.to_i)
end