         @fullName = value
       when 'default'
         @default = value is 'true'
-      else throw new Error 'unknown field on picklist value object'
+      else throw new Error "unknown field #{field} on picklist value object"
+
+class ActionOverride
+  set: (field, value, tag) ->
+    switch field
+      when 'actionName'
+        @actionName = value
+      when 'type'
+        @type = value
+      else throw new Error "unknown field #{field} on picklist value object"
 
 module.exports = factory

class Factory
  build: (tag) ->
    switch tag.tag
      when 'fields'
        Builder = Field
      when 'picklistValues'
        Builder = PicklistValue
      else throw new Error 'unknown tag type'
    thing = new Builder()
    tag.getchildren().forEach (child) ->
      thing.set child.tag, child.text, child

        @picklist = new Picklist tag
      when 'visibleLines'
        @visibleLines = parseInt value, 10
      else throw new Error "unknown field #{field} on field object"

class DeploymentStatus
  constructor: (@status) ->

class SharingModel
  constructor: (@model) ->

class Type
  constructor: (@value) ->
