src/abstractions/Component.js
function Component(type, parameters) {
    this.getTypeId = function() { return type; };
    this.getParameters = function() { return parameters; };
    this.setParameters = function(newParameters) { parameters = newParameters; };
    return this;
}
function Component(type, parameters) {
    this.getTypeId = function() { return type; };
    this.getParameters = function() { return parameters; };
    this.setParameters = function(newParameters) { parameters = newParameters; };
    return this;
}
function Component ( type , parameters ) { this . getTypeId = function ( ) { return type ; } ; this . getParameters = function ( ) { return parameters ; } ; this . setParameters = function ( newParameters ) { parameters = newParameters ; } ; return this ; }
PUBLIC FUNCTIONS 
This constructor creates a new component of the specified type with the optional
parameters that are used to parameterize its type.

@param {Number} type The type of component.
@param {Parameters} parameters Optional parameters used to parameterize this component.
@returns {Component} The new component.
PUBLIC FUNCTIONS This constructor creates a new component of the specified type with the optional parameters that are used to parameterize its type .