EMMA Coverage Report (generated Wed Feb 13 07:49:24 ICT 2008)
[all classes][net.sourceforge.hiveboard.drawing]

COVERAGE SUMMARY FOR SOURCE FILE [ToolContribution.java]

nameclass, %method, %block, %line, %
ToolContribution.java100% (1/1)100% (8/8)100% (42/42)100% (14/14)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ToolContribution100% (1/1)100% (8/8)100% (42/42)100% (14/14)
ToolContribution (): void 100% (1/1)100% (3/3)100% (1/1)
getName (): String 100% (1/1)100% (3/3)100% (1/1)
getObject (): Tool 100% (1/1)100% (3/3)100% (1/1)
getOrder (): int 100% (1/1)100% (3/3)100% (1/1)
setName (String): void 100% (1/1)100% (4/4)100% (2/2)
setObject (Tool): void 100% (1/1)100% (4/4)100% (2/2)
setOrder (int): void 100% (1/1)100% (4/4)100% (2/2)
toString (): String 100% (1/1)100% (18/18)100% (4/4)

1//  Copyright 2004-2007 Jean-Francois Poilpret
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14 
15package net.sourceforge.hiveboard.drawing;
16 
17import org.apache.hivemind.impl.BaseLocatable;
18import org.apache.hivemind.util.ToStringBuilder;
19 
20/**
21 * @author Jean-Francois Poilpret
22 */
23public class ToolContribution extends BaseLocatable
24{
25        public void                setOrder(int order)
26        {
27                _order = order;
28        }
29        public int                getOrder()
30        {
31                return _order;
32        }
33        
34        public void                setName(String name)
35        {
36                _name = name;
37        }
38        public String        getName()
39        {
40                return _name;
41        }
42        
43        public void                setObject(Tool tool)
44        {
45                _tool = tool;
46        }
47        public Tool                getObject()
48        {
49                return _tool;
50        }
51        
52    @Override public String toString()
53    {
54        ToStringBuilder builder = new ToStringBuilder(this);
55        builder.append("order", _order);
56        builder.append("name", _name);
57        return builder.toString();
58    }
59    
60        private int                                                                _order;
61        private String                                                        _name;
62        private Tool                                                        _tool;
63}

[all classes][net.sourceforge.hiveboard.drawing]
EMMA 2.0.5312 (C) Vladimir Roubtsov