001/*
002 * (C) Copyright 2006-2007 Nuxeo SAS <http://nuxeo.com> and others
003 *
004 * All rights reserved. This program and the accompanying materials
005 * are made available under the terms of the Eclipse Public License v1.0
006 * which accompanies this distribution, and is available at
007 * http://www.eclipse.org/legal/epl-v10.html
008 *
009 * Contributors:
010 *     Jean-Marc Orliaguet, Chalmers
011 *
012 * $Id$
013 */
014
015package org.nuxeo.theme.models;
016
017public class MenuItem extends AbstractModel {
018
019    private String title;
020
021    private String description;
022
023    private String url;
024
025    private boolean selected = false;
026
027    private String icon;
028
029    public MenuItem(String title, String description, String url, boolean selected, String icon) {
030        this.title = title;
031        this.description = description;
032        this.url = url;
033        this.selected = selected;
034        this.icon = icon;
035    }
036
037    public String getIcon() {
038        return icon;
039    }
040
041    public void setIcon(String icon) {
042        this.icon = icon;
043    }
044
045    public boolean isSelected() {
046        return selected;
047    }
048
049    public void setSelected(boolean selected) {
050        this.selected = selected;
051    }
052
053    public String getTitle() {
054        return title;
055    }
056
057    public void setTitle(String title) {
058        this.title = title;
059    }
060
061    public String getUrl() {
062        return url;
063    }
064
065    public void setUrl(String url) {
066        this.url = url;
067    }
068
069    public String getDescription() {
070        return description;
071    }
072
073    public void setDescription(String description) {
074        this.description = description;
075    }
076
077}