/**
 * Generated by Apache Royale Compiler from org\apache\royale\html\beads\models\TreeModel.as
 * org.apache.royale.html.beads.models.TreeModel
 *
 * @fileoverview
 *
 * @suppress {checkTypes|accessControls}
 */

goog.provide('org.apache.royale.html.beads.models.TreeModel');

goog.require('org.apache.royale.collections.HierarchicalData');
goog.require('org.apache.royale.collections.TreeData');
goog.require('org.apache.royale.html.beads.models.SingleSelectionCollectionViewModel');



/**
 * @constructor
 * @extends {org.apache.royale.html.beads.models.SingleSelectionCollectionViewModel}
 */
org.apache.royale.html.beads.models.TreeModel = function() {
  org.apache.royale.html.beads.models.TreeModel.base(this, 'constructor');
};
goog.inherits(org.apache.royale.html.beads.models.TreeModel, org.apache.royale.html.beads.models.SingleSelectionCollectionViewModel);


/**
 * Prevent renaming of class. Needed for reflection.
 */
goog.exportSymbol('org.apache.royale.html.beads.models.TreeModel', org.apache.royale.html.beads.models.TreeModel);


/**
 * @private
 * @type {org.apache.royale.collections.HierarchicalData}
 */
org.apache.royale.html.beads.models.TreeModel.prototype.org_apache_royale_html_beads_models_TreeModel__hierarchicalData;


org.apache.royale.html.beads.models.TreeModel.prototype.get__hierarchicalData = function() {
  return this.org_apache_royale_html_beads_models_TreeModel__hierarchicalData;
};


org.apache.royale.html.beads.models.TreeModel.prototype.set__hierarchicalData = function(value) {
  this.org_apache_royale_html_beads_models_TreeModel__hierarchicalData = value;
  var /** @type {org.apache.royale.collections.TreeData} */ treeData = new org.apache.royale.collections.TreeData(this.org_apache_royale_html_beads_models_TreeModel__hierarchicalData);
  this.dataProvider = treeData;
};


Object.defineProperties(org.apache.royale.html.beads.models.TreeModel.prototype, /** @lends {org.apache.royale.html.beads.models.TreeModel.prototype} */ {
/**
  * @export
  * @type {org.apache.royale.collections.HierarchicalData} */
hierarchicalData: {
get: org.apache.royale.html.beads.models.TreeModel.prototype.get__hierarchicalData,
set: org.apache.royale.html.beads.models.TreeModel.prototype.set__hierarchicalData}}
);


/**
 * Metadata
 *
 * @type {Object.<string, Array.<Object>>}
 */
org.apache.royale.html.beads.models.TreeModel.prototype.ROYALE_CLASS_INFO = { names: [{ name: 'TreeModel', qName: 'org.apache.royale.html.beads.models.TreeModel', kind: 'class' }] };



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.royale.html.beads.models.TreeModel.prototype.ROYALE_REFLECTION_INFO = function () {
  return {
    variables: function () {return {};},
    accessors: function () {
      return {
        'hierarchicalData': { type: 'org.apache.royale.collections.HierarchicalData', access: 'readwrite', declaredBy: 'org.apache.royale.html.beads.models.TreeModel'}
      };
    },
    methods: function () {
      return {
        'TreeModel': { type: '', declaredBy: 'org.apache.royale.html.beads.models.TreeModel'}
      };
    }
  };
};