| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| LenType |
|
| 1.0;1 |
| 1 | /* | |
| 2 | * This file is part of Mosquito meta-loader. | |
| 3 | * | |
| 4 | * Mosquito meta-loader is free software; you can redistribute it and/or modify | |
| 5 | * it under the terms of the GNU Lesser General Public License as published by | |
| 6 | * the Free Software Foundation; either version 3 of the License, or | |
| 7 | * (at your option) any later version. | |
| 8 | * | |
| 9 | * Mosquito meta-loader is distributed in the hope that it will be useful, | |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | * GNU Lesser General Public License for more details. | |
| 13 | * | |
| 14 | * You should have received a copy of the GNU Lesser General Public License | |
| 15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 16 | */ | |
| 17 | ||
| 18 | package rs.mgifos.mosquito.impl.pdm; | |
| 19 | ||
| 20 | /** | |
| 21 | * @author <a href="mailto:nikola.petkov@gmail.com">Nikola Petkov <nikola.petkov@gmail.com></a> | |
| 22 | */ | |
| 23 | public class LenType { | |
| 24 | ||
| 25 | private String jClass; | |
| 26 | ||
| 27 | 0 | private int length = -1; |
| 28 | /** | |
| 29 | * | |
| 30 | */ | |
| 31 | 0 | public LenType() { |
| 32 | 0 | } |
| 33 | ||
| 34 | /** | |
| 35 | * @param aLength | |
| 36 | * @param aJClass | |
| 37 | */ | |
| 38 | 0 | public LenType(int aLength, String aJClass) { |
| 39 | 0 | length = aLength; |
| 40 | 0 | jClass = aJClass; |
| 41 | 0 | } |
| 42 | ||
| 43 | /** | |
| 44 | * @return type. | |
| 45 | */ | |
| 46 | public String getJClass() { | |
| 47 | 0 | return jClass; |
| 48 | } | |
| 49 | ||
| 50 | /** | |
| 51 | * @return len. | |
| 52 | */ | |
| 53 | public int getLength() { | |
| 54 | 0 | return length; |
| 55 | } | |
| 56 | ||
| 57 | /** | |
| 58 | * @param aType | |
| 59 | * The type to set. | |
| 60 | */ | |
| 61 | public void setJClass(String aType) { | |
| 62 | 0 | jClass = aType; |
| 63 | 0 | } |
| 64 | ||
| 65 | /** | |
| 66 | * @param aLength | |
| 67 | * The len to set. | |
| 68 | */ | |
| 69 | public void setLength(int aLength) { | |
| 70 | 0 | length = aLength; |
| 71 | 0 | } |
| 72 | } |