         @fullName = value
       when 'label'
         @label = value
+
+# again, training will be key here
       when 'type'
         @type = new Type value
       when 'length'

      return obj is 'true'
    obj

class Picklist
  constructor: (tag) ->
    @sorted = tag.find('./sorted').text is 'true'

    tag.findall('./picklistValues').forEach (plv) ->
      plvs.push factory.build plv

# these should all compile with no trouble at all
class PicklistValue
  set: (field, value, tag) ->
    switch field
