{"size": 584, "ext": "js", "max_stars_repo_path": "server/models/processor/CaseWhen.js", "max_stars_repo_name": "mani0608/script-generator", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "server/models/processor/CaseWhen.js", "max_issues_repo_name": "mani0608/script-generator", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "server/models/processor/CaseWhen.js", "max_forks_repo_name": "mani0608/script-generator", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.36, "max_line_length": 63, "alphanum_fraction": 0.6575342466}
var Array = require('collections/shim-array');
require("collections/listen/array-changes");

class CaseWhen {
    
    constructor() {
        this.caseValue = null;
        this.elseValue = null;
        this.conditions = new Array();
    }

    setCaseValue(value) { this.caseValue = value; }

    getCaseValue() { return this.caseValue; }

    setElseValue(value) { this.elseValue = value; }

    getElseValue() { return this.elseValue }

    setConditions(conditions) { this.conditions = conditions; }

    getConditions() { return this.conditions; }
}

module.exports = CaseWhen;