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 NavigationItem extends AbstractModel { 018 019 private String title; 020 021 private String url; 022 023 private boolean selected = false; 024 025 public NavigationItem() { 026 } 027 028 public NavigationItem(String title, String url, boolean selected) { 029 this.title = title; 030 this.url = url; 031 this.selected = selected; 032 } 033 034 public String getTitle() { 035 return title; 036 } 037 038 public void setTitle(String title) { 039 this.title = title; 040 } 041 042 public String getUrl() { 043 return url; 044 } 045 046 public void setUrl(String url) { 047 this.url = url; 048 } 049 050 public boolean isSelected() { 051 return selected; 052 } 053 054 public void setSelected(boolean selected) { 055 this.selected = selected; 056 } 057}