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

js.prompto.declaration.SingletonCategoryDeclaration.js Maven / Gradle / Ivy

var ConcreteCategoryDeclaration = require("./ConcreteCategoryDeclaration").ConcreteCategoryDeclaration;

function SingletonCategoryDeclaration(id, attributes, methods) {
    ConcreteCategoryDeclaration.call(this, id, attributes, null, methods);
    return this;
}

SingletonCategoryDeclaration.prototype = Object.create(ConcreteCategoryDeclaration.prototype);
SingletonCategoryDeclaration.prototype.constructor = SingletonCategoryDeclaration;

SingletonCategoryDeclaration.prototype.categoryTypeToEDialect = function(writer) {
    writer.append("singleton");
};

SingletonCategoryDeclaration.prototype.categoryTypeToODialect = function(writer) {
    writer.append("singleton");
};

SingletonCategoryDeclaration.prototype.categoryTypeToMDialect = function(writer) {
    writer.append("singleton");
};

exports.SingletonCategoryDeclaration = SingletonCategoryDeclaration;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy