/**
 * Generated by Apache Royale Compiler from org\apache\royale\routing\URLParameterBead.as
 * org.apache.royale.routing.URLParameterBead
 *
 * @fileoverview
 *
 * @suppress {checkTypes|accessControls}
 */

goog.provide('org.apache.royale.routing.URLParameterBead');

goog.require('org.apache.royale.core.IStrand');
goog.require('org.apache.royale.events.Event');
goog.require('org.apache.royale.events.EventDispatcher');
goog.require('org.apache.royale.core.IBead');



/**
 *  constructor.
 *
 *  @langversion 3.0
 *  @playerversion Flash 10.2
 *  @playerversion AIR 2.6
 *  @productversion Royale 0.9
 * @constructor
 * @extends {org.apache.royale.events.EventDispatcher}
 * @implements {org.apache.royale.core.IBead}
 */
org.apache.royale.routing.URLParameterBead = function() {
  org.apache.royale.routing.URLParameterBead.base(this, 'constructor');
};
goog.inherits(org.apache.royale.routing.URLParameterBead, org.apache.royale.events.EventDispatcher);


/**
 * Prevent renaming of class. Needed for reflection.
 */
goog.exportSymbol('org.apache.royale.routing.URLParameterBead', org.apache.royale.routing.URLParameterBead);


/**
 * @protected
 * @type {org.apache.royale.core.IStrand}
 */
org.apache.royale.routing.URLParameterBead.prototype._strand;


org.apache.royale.routing.URLParameterBead.prototype.set__strand = function(value) {
  this._strand = value;
  this.dispatchEvent(new org.apache.royale.events.Event("ready"));
};


org.apache.royale.routing.URLParameterBead.prototype.get__urlParameters = function() {
  return location.search;
  
};


Object.defineProperties(org.apache.royale.routing.URLParameterBead.prototype, /** @lends {org.apache.royale.routing.URLParameterBead.prototype} */ {
/**
  * @export
  * @type {org.apache.royale.core.IStrand} */
strand: {
set: org.apache.royale.routing.URLParameterBead.prototype.set__strand},
/**
  * @export
  * @type {string} */
urlParameters: {
get: org.apache.royale.routing.URLParameterBead.prototype.get__urlParameters}}
);


/**
 * Metadata
 *
 * @type {Object.<string, Array.<Object>>}
 */
org.apache.royale.routing.URLParameterBead.prototype.ROYALE_CLASS_INFO = { names: [{ name: 'URLParameterBead', qName: 'org.apache.royale.routing.URLParameterBead', kind: 'class' }], interfaces: [org.apache.royale.core.IBead] };



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.royale.routing.URLParameterBead.prototype.ROYALE_REFLECTION_INFO = function () {
  return {
    variables: function () {return {};},
    accessors: function () {
      return {
        'strand': { type: 'org.apache.royale.core.IStrand', access: 'writeonly', declaredBy: 'org.apache.royale.routing.URLParameterBead'},
        'urlParameters': { type: 'String', access: 'readonly', declaredBy: 'org.apache.royale.routing.URLParameterBead'}
      };
    },
    methods: function () {
      return {
        'URLParameterBead': { type: '', declaredBy: 'org.apache.royale.routing.URLParameterBead'}
      };
    },
    metadata: function () { return [  ]; }
  };
};