parameters: (self, budget_line)
docstring: Initialize a budget line
docstring_summary: Initialize a budget line
docstring_tokens: Initialize a budget line
function: def initializeBudgetLine(self, budget_line):
      """Initialize a budget line
      """
      budget_line_variation_category_list =\
         list(budget_line.getVariationBaseCategoryList() or [])
      budget_line_membership_criterion_base_category_list =\
         list(budget_line.getMembershipCriterionBaseCategoryList() or [])
      base_category = self.getProperty('variation_base_category')
      if base_category:
        budget_line_variation_category_list.append(base_category)
        budget_line.setVariationBaseCategoryList(
                budget_line_variation_category_list)
      if self.isMemberOf('budget_variation/budget_line'):
        budget_line_membership_criterion_base_category_list.append(base_category)
        budget_line.setMembershipCriterionBaseCategoryList(
            budget_line_membership_criterion_base_category_list)
function_tokens: def initializeBudgetLine ( self , budget_line ) : budget_line_variation_category_list = list ( budget_line . getVariationBaseCategoryList ( ) or [ ] ) budget_line_membership_criterion_base_category_list = list ( budget_line . getMembershipCriterionBaseCategoryList ( ) or [ ] ) base_category = self . getProperty ( 'variation_base_category' ) if base_category : budget_line_variation_category_list . append ( base_category ) budget_line . setVariationBaseCategoryList ( budget_line_variation_category_list ) if self . isMemberOf ( 'budget_variation/budget_line' ) : budget_line_membership_criterion_base_category_list . append ( base_category ) budget_line . setMembershipCriterionBaseCategoryList ( budget_line_membership_criterion_base_category_list )