'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = require('../../index.js');

var _index2 = _interopRequireDefault(_index);

var _comparison = require('../filter/comparison.js');

var _comparison2 = _interopRequireDefault(_comparison);

function _interopRequireDefault(obj) {
  return obj && obj.__esModule ? obj : { default: obj };
}

/**
 * @classdesc
 * Represents a `<PropertyIsBetween>` comparison operator.
 *
 * @constructor
 * @param {!string} propertyName Name of the context property to compare.
 * @param {!number} lowerBoundary The lower bound of the range.
 * @param {!number} upperBoundary The upper bound of the range.
 * @extends {ol.format.filter.Comparison}
 * @api
 */
var _ol_format_filter_IsBetween_ = function (propertyName, lowerBoundary, upperBoundary) {
  _comparison2.default.call(this, 'PropertyIsBetween', propertyName);

  /**
   * @public
   * @type {!number}
   */
  this.lowerBoundary = lowerBoundary;

  /**
   * @public
   * @type {!number}
   */
  this.upperBoundary = upperBoundary;
};

_index2.default.inherits(_ol_format_filter_IsBetween_, _comparison2.default);
exports.default = _ol_format_filter_IsBetween_;
module.exports = exports['default'];