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

org.bidib.wizard.api.model.AccessoryAspectParam Maven / Gradle / Ivy

The newest version!
package org.bidib.wizard.api.model;

public class AccessoryAspectParam implements AccessoryAspect {

    private final int param;

    private String label;

    private boolean invalid;

    public AccessoryAspectParam(int param, String label) {
        this.param = param;
        this.label = label;
    }

    public int getParam() {
        return param;
    }

    /**
     * @return the invalid flag
     */
    public boolean isInvalid() {
        return invalid;
    }

    /**
     * @param invalid
     *            the invalid flag to set
     */
    public void setInvalid(boolean invalid) {
        this.invalid = invalid;
    }

    @Override
    public String toString() {
        return label;
    }

    @Override
    public void setLabel(String label) {
        this.label = label;
    }

    @Override
    public String getLabel() {
        return label;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy