Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Descriptor |
|
| 1.0;1 |
1 | package org.apache.commons.contract.descriptor; | |
2 | ||
3 | import org.apache.commons.i18n.bundles.MessageBundle; | |
4 | ||
5 | public class Descriptor { | |
6 | protected String name; | |
7 | protected MessageBundle description; | |
8 | ||
9 | 0 | public Descriptor(String name, MessageBundle description) { |
10 | 0 | this.name = name; |
11 | 0 | this.description = description; |
12 | 0 | } |
13 | ||
14 | public String getName() { | |
15 | 0 | return name; |
16 | } | |
17 | ||
18 | public MessageBundle getDescription() { | |
19 | 0 | return description; |
20 | } | |
21 | } |