All Downloads are FREE. Search and download functionalities are using the official Maven repository.

joynr.types.ProviderScope.js Maven / Gradle / Ivy

/**
 * This is the generated enum type ProviderScope: DOCS GENERATED FROM INTERFACE DESCRIPTION
 * Generation date: Thu Aug 18 09:35:51 CEST 2016
 */
(function(undefined) {

	/**
	 * @namespace ProviderScope
	 * @classdesc
	 * This is the generated enum type ProviderScope: DOCS GENERATED FROM INTERFACE DESCRIPTION
	 * 
Generation date: Thu Aug 18 09:35:51 CEST 2016 *

the scope in which the provider is registered * * @returns {ProviderScope} a new instance of a ProviderScope */ var ProviderScope = function ProviderScope(settings){ if (!(this instanceof ProviderScope)) { // in case someone calls constructor without new keyword (e.g. var c = Constructor({..})) return new ProviderScope(settings); } /** * Used for serialization. * @name ProviderScope#_typeName * @type String * @readonly */ Object.defineProperty(this, "_typeName", { configurable : false, writable : false, enumerable : true, value : "joynr.types.ProviderScope" }); if (settings !== undefined) { this.name = settings.name; this.value = settings.value; } }; /** * @name ProviderScope#MAJOR_VERSION * @constant {Number} * @default 0 * @summary The MAJOR_VERSION of the enum type ProviderScope is GENERATED FROM THE INTERFACE DESCRIPTION */ Object.defineProperty(ProviderScope, 'MAJOR_VERSION', { enumerable: false, configurable: false, writable: false, readable: true, value: 0 }); /** * @name ProviderScope#MINOR_VERSION * @constant {Number} * @default 0 * @summary The MINOR_VERSION of the enum type ProviderScope is GENERATED FROM THE INTERFACE DESCRIPTION */ Object.defineProperty(ProviderScope, 'MINOR_VERSION', { enumerable: false, configurable: false, writable: false, readable: true, value: 0 }); var createLiterals = function() { /** * @name ProviderScope.GLOBAL * @readonly * @summary *

indicates that the provider is for use with the local and global cluster * controller */ ProviderScope.GLOBAL = new ProviderScope({ name: "GLOBAL", value: "GLOBAL" }); /** * @name ProviderScope.LOCAL * @readonly * @summary *

indicates that the provider is only for use with the local cluster * controller */ ProviderScope.LOCAL = new ProviderScope({ name: "LOCAL", value: "LOCAL" }); }; // AMD support if (typeof define === 'function' && define.amd) { define("joynr/types/ProviderScope", ["joynr"], function (joynr) { ProviderScope.prototype = new joynr.JoynrObject(); ProviderScope.prototype.constructor = ProviderScope; createLiterals(); joynr.addType("joynr.types.ProviderScope", ProviderScope, true); return ProviderScope; }); } else if (typeof exports !== 'undefined' ) { if ((module !== undefined) && module.exports) { exports = module.exports = ProviderScope; } else { // support CommonJS module 1.1.1 spec (`exports` cannot be a function) exports.ProviderScope = ProviderScope; } var joynr = requirejs("joynr"); ProviderScope.prototype = new joynr.JoynrObject(); ProviderScope.prototype.constructor = ProviderScope; createLiterals(); joynr.addType("joynr.types.ProviderScope", ProviderScope, true); } else { //we assume a correct order of script loading joynr = window.joynr; ProviderScope.prototype = new joynr.JoynrObject(); ProviderScope.prototype.constructor = ProviderScope; createLiterals(); joynr.addType("joynr.types.ProviderScope", ProviderScope, true); window.ProviderScope = ProviderScope; } })();




© 2015 - 2025 Weber Informatics LLC | Privacy Policy