|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| Factory.java | - | 100% | 100% | 100% |
|
||||||||||||||
| 1 | /** | |
| 2 | * JTRunner is free software; you can redistribute it and/or modify it under the | |
| 3 | * terms of the GNU General Public License as published by the Free Software | |
| 4 | * Foundation; either version 2, or (at your option) any later version. | |
| 5 | */ | |
| 6 | ||
| 7 | package jtr.config; | |
| 8 | ||
| 9 | import java.io.Serializable; | |
| 10 | ||
| 11 | /** | |
| 12 | * This class represetns a <code>factory</code> element of a <code>jtr.xml</code> | |
| 13 | * configuration file. | |
| 14 | * | |
| 15 | * @author frusso | |
| 16 | * @version 4.0 | |
| 17 | * @since 4.0 | |
| 18 | */ | |
| 19 | public class Factory implements Serializable { | |
| 20 | ||
| 21 | /** Creates a new instance of Factory */ | |
| 22 | 6 | public Factory() { |
| 23 | } | |
| 24 | ||
| 25 | 12 | public void setFqn(String fqn) { |
| 26 | 12 | this.fqn = fqn; |
| 27 | } | |
| 28 | ||
| 29 | 12 | public void setKey(String key) { |
| 30 | 12 | this.key = key; |
| 31 | } | |
| 32 | ||
| 33 | 12 | public String getFqn() { |
| 34 | 12 | return fqn; |
| 35 | } | |
| 36 | ||
| 37 | 12 | public String getKey() { |
| 38 | 12 | return key; |
| 39 | } | |
| 40 | ||
| 41 | private String key, fqn; | |
| 42 | } |
|
||||||||||