File: lib/service/abstract/endPointObject.js
var ServiceObject = require('./serviceObject');
/**
* @class ServiceEndPointObject
* @extends ServiceObject
*/
var ServiceEndPointObject = ServiceObject.extend(
/**
* @constructor
* @param {object} options
* @param {ServiceEndPoint} options.endPoint
*/
function (options) {
this.__super(options);
},
{
/**
* Gets the end-point object
*
* @method getEndPoint
* @return {ServiceEndPoint}
*/
getEndPoint: function () {
return this.getOptions().endPoint;
}
},
{
/**
* @property TYPE
* @type {string}
* @static
*/
TYPE: 'ServiceEndPointObject'
}
);
module.exports = ServiceEndPointObject;