<commit_before>/**
 * Elastic Grid
 * Copyright (C) 2008-2009 Elastic Grid, LLC.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.elasticgrid.model;

public class NodeProfileInfo {
    private NodeProfile nodeProfile;
    private NodeType nodeType;
    private int number;
    private boolean override;

    /** Needed for JiBX */
    public NodeProfileInfo() {}

    public NodeProfileInfo(NodeProfile nodeProfile, NodeType nodeType, int number) {
        this(nodeProfile, nodeType, number, false);
    }
    
    public NodeProfileInfo(NodeProfile nodeProfile, NodeType nodeType, int number, boolean override) {
        this.nodeProfile = nodeProfile;
        this.nodeType = nodeType;
        this.number = number;
        this.override = override;
    }

    public NodeProfile getNodeProfile() {
        return nodeProfile;
    }

    public NodeType getNodeType() {
        return nodeType;
    }

    public int getNumber() {
        return number;
    }

    public boolean hasOverride() {
        return override;
    }
}<commit_msg>add setter for override<commit_after>/**
 * Elastic Grid
 * Copyright (C) 2008-2009 Elastic Grid, LLC.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.elasticgrid.model;

public class NodeProfileInfo {
    private NodeProfile nodeProfile;
    private NodeType nodeType;
    private int number;
    private boolean override;

    /** Needed for JiBX */
    public NodeProfileInfo() {}

    public NodeProfileInfo(NodeProfile nodeProfile, NodeType nodeType, int number) {
        this.nodeProfile = nodeProfile;
        this.nodeType = nodeType;
        this.number = number;
        this.override = false;
    }

    public NodeProfile getNodeProfile() {
        return nodeProfile;
    }

    public NodeType getNodeType() {
        return nodeType;
    }

    public int getNumber() {
        return number;
    }

    public boolean hasOverride() {
        return override;
    }

    public void setOverride(boolean override) {
        this.override = override;
    }
}
{'fraction_non_alphanumeric': 0.07112462006079028, 'fraction_numerical': 0.00547112462006079, 'mean_word_length': 2.9890909090909092, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4048528', 'n_tokens_mistral': 869, 'n_tokens_neox': 834, 'n_words': 358}