modify code to be simpler
[pub/Android/ownCloud.git] / src / com / owncloud / android / ui / NavigationDrawerItem.java
1 /**
2 * ownCloud Android client application
3 *
4 * @author masensio
5 * Copyright (C) 2015 ownCloud Inc.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2,
9 * as published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 *
19 */
20
21 package com.owncloud.android.ui;
22
23 public class NavigationDrawerItem {
24
25 private String mTitle;
26 private String mContentDescription;
27
28 // Constructors
29 public NavigationDrawerItem(){}
30
31 public NavigationDrawerItem(String title){
32 mTitle = title;
33 }
34
35 public NavigationDrawerItem(String title, String contentDescription){
36 mTitle = title;
37 mContentDescription = contentDescription;
38 }
39
40 // Getters and Setters
41 public String getTitle() {
42 return mTitle;
43 }
44
45 public void setTitle(String title) {
46 this.mTitle = title;
47 }
48
49 public String getContentDescription() {
50 return mContentDescription;
51 }
52
53 public void setContentDescription(String contentDescription) {
54 this.mContentDescription = contentDescription;
55 }
56 }