EMMA Coverage Report (generated Mon May 02 11:38:18 CEST 2016)
[all classes][kdk.android.simplydo]

COVERAGE SUMMARY FOR SOURCE FILE [ItemDesc.java]

nameclass, %method, %block, %line, %
ItemDesc.java100% (1/1)100% (11/11)100% (53/53)100% (22/22)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ItemDesc100% (1/1)100% (11/11)100% (53/53)100% (22/22)
ItemDesc (int, String, boolean, boolean): void 100% (1/1)100% (18/18)100% (7/7)
getId (): int 100% (1/1)100% (3/3)100% (1/1)
getLabel (): String 100% (1/1)100% (3/3)100% (1/1)
isActive (): boolean 100% (1/1)100% (3/3)100% (1/1)
isSorted (): boolean 100% (1/1)100% (3/3)100% (1/1)
isStar (): boolean 100% (1/1)100% (3/3)100% (1/1)
setActive (boolean): void 100% (1/1)100% (4/4)100% (2/2)
setId (int): void 100% (1/1)100% (4/4)100% (2/2)
setLabel (String): void 100% (1/1)100% (4/4)100% (2/2)
setSorted (boolean): void 100% (1/1)100% (4/4)100% (2/2)
setStar (boolean): void 100% (1/1)100% (4/4)100% (2/2)

1/*
2 * Copyright (C) 2010, 2011 Keith Kildare
3 * 
4 * This file is part of SimplyDo.
5 * 
6 * SimplyDo is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 * 
11 * SimplyDo 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 SimplyDo.  If not, see <http://www.gnu.org/licenses/>.
18 * 
19 */
20package kdk.android.simplydo;
21 
22public class ItemDesc
23{
24        private volatile int id;
25        private String label;
26        private boolean active;
27    private boolean star;
28    private boolean sorted = false;
29        
30        public ItemDesc(int id, String label, boolean active, boolean star)
31        {
32                this.id = id;
33                this.label = label;
34                this.active = active;
35        this.star = star;
36        }
37 
38        public int getId()
39        {
40                return id;
41        }
42 
43        public void setId(int id)
44        {
45                this.id = id;
46        }
47 
48        public String getLabel()
49        {
50                return label;
51        }
52 
53        public void setLabel(String label)
54        {
55                this.label = label;
56        }
57 
58        public boolean isActive()
59        {
60                return active;
61        }
62 
63        public void setActive(boolean active)
64        {
65                this.active = active;
66        }
67 
68    public boolean isStar()
69    {
70        return star;
71    }
72 
73    public void setStar(boolean star)
74    {
75        this.star = star;
76    }
77        
78    public boolean isSorted()
79    {
80        return sorted;
81    }
82    
83    public void setSorted(boolean sorted)
84    {
85        this.sorted = sorted;
86    }
87        
88}

[all classes][kdk.android.simplydo]
EMMA 2.0.5312 (C) Vladimir Roubtsov