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

sk.iway.iwcm.admin.layout.MenuBean Maven / Gradle / Ivy

package sk.iway.iwcm.admin.layout;

import java.util.List;

/**
 * MenuBean - reprezentuje polozku v menu (sidebar.pug)
 */
public class MenuBean {
    private String href = "#";
    private String text;
    private String icon;
    private String group;
    private boolean active = false;
    private List childrens;
    private boolean custom = false;

    public String getHref() {
        return this.href;
    }

    public String getText() {
        return this.text;
    }

    public String getIcon() {
        return this.icon;
    }

    public String getGroup() {
        return this.group;
    }

    public boolean isActive() {
        return this.active;
    }

    public List getChildrens() {
        return this.childrens;
    }

    public boolean isCustom() {
        return this.custom;
    }

    /**
     * @return {@code this}.
     */
    public MenuBean setHref(final String href) {
        this.href = href;
        return this;
    }

    /**
     * @return {@code this}.
     */
    public MenuBean setText(final String text) {
        this.text = text;
        return this;
    }

    /**
     * @return {@code this}.
     */
    public MenuBean setIcon(final String icon) {
        this.icon = icon;
        return this;
    }

    /**
     * @return {@code this}.
     */
    public MenuBean setGroup(final String group) {
        this.group = group;
        return this;
    }

    /**
     * @return {@code this}.
     */
    public MenuBean setActive(final boolean active) {
        this.active = active;
        return this;
    }

    /**
     * @return {@code this}.
     */
    public MenuBean setChildrens(final List childrens) {
        this.childrens = childrens;
        return this;
    }

    /**
     * @return {@code this}.
     */
    public MenuBean setCustom(final boolean custom) {
        this.custom = custom;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy