
joynr.types.ProviderScope.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of libjoynr-js Show documentation
Show all versions of libjoynr-js Show documentation
JOYnr JavaScript libjoynr-js
The newest version!
/**
* This is the generated enum type ProviderScope: DOCS GENERATED FROM INTERFACE DESCRIPTION
* Generation date: Mon Jul 09 14:02:45 CEST 2018
*/
(function(undefined) {
/**
* @namespace ProviderScope
* @classdesc
* This is the generated enum type ProviderScope: DOCS GENERATED FROM INTERFACE DESCRIPTION
*
Generation date: Mon Jul 09 14:02:45 CEST 2018
*
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", {
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', { 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', { value: 0 });
var preparePrototype = function(joynr) {
joynr.util.GenerationUtil.addEqualsEnum(ProviderScope);
};
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"
});
};
var joynr = require("joynr");
ProviderScope.prototype = new joynr.JoynrObject();
ProviderScope.prototype.constructor = ProviderScope;
preparePrototype(joynr);
createLiterals();
joynr.addType("joynr.types.ProviderScope", ProviderScope, true);
module.exports = ProviderScope;
})();
© 2015 - 2025 Weber Informatics LLC | Privacy Policy