Class TaskJuggler::ChargeSetListAttribute
In: lib/taskjuggler/Attributes.rb
Parent: ListAttributeBase

A ChargeSetListAttribute encapsulates a list of ChargeSet objects as PropertyTreeNode attributes.

Methods

new   tjpId   to_s   to_tjp  

Public Class methods

[Source]

# File lib/taskjuggler/Attributes.rb, line 163
    def initialize(property, type, container)
      super
    end

[Source]

# File lib/taskjuggler/Attributes.rb, line 167
    def ChargeSetListAttribute::tjpId
      'chargeset'
    end

Public Instance methods

[Source]

# File lib/taskjuggler/Attributes.rb, line 171
    def to_s(query = nil)
      out = []
      get.each { |i| out << i.to_s }
      out.join(", ")
    end

[Source]

# File lib/taskjuggler/Attributes.rb, line 177
    def to_tjp
      out = []
      get.each { |i| out << i.to_s }
      @type.id + " " + out.join(', ')
    end

[Validate]