Class: SimpleModel

XM. SimpleModel

`XM.SimpleModel` is an abstract class designed to operate with `XT.DataSource`. It should be subclassed for any specific implementation. Subclasses should include a `recordType` the data source will use to retrieve the record. To create a new model include `isNew` in the options:

      // Create a new class
      XM.MyModel = XM.SimpleModel.extend({
        recordType: 'XM.MyModel'
      });

      // Instantiate a new model object
      m = new XM.MyModel(null, {isNew: true});
   
To load an existing record include an id in the attributes:

      m = new XM.MyModel({id: 1});
      m.fetch();