     else
       new XLF.Row(obj)
 
-class XLF.RD extends BaseModel
+class XLF.RowDetail extends BaseModel
   constructor: (@key, valOrObj={}, @parentRow)->
     super()
     vals2set = {}

  getValue: (what)->
    @get(what).get("value")

  _setType: (typeStr)->
    @set "type", new XLF.RD("type", typeStr, @)

  getList: ->
    listName = @get("type")?.get("listName")
    @_parent.choices.get(listName)  if listName


  validate: ->
    for key, val of @attributes
      unless val instanceof XLF.RowDetail
        @set key, new XLF.RowDetail(key, val, @), {silent: true}
    ``

  attributesArray: ()->
