| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| PrecType |
|
| 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 | * | |
| 22 | * @author <a href="mailto:nikola.petkov@gmail.com">Nikola Petkov <nikola.petkov@gmail.com></a> | |
| 23 | */ | |
| 24 | public class PrecType { | |
| 25 | ||
| 26 | private String jClass; | |
| 27 | ||
| 28 | 0 | private int length = 0; |
| 29 | ||
| 30 | /** | |
| 31 | * | |
| 32 | */ | |
| 33 | 0 | public PrecType() { |
| 34 | 0 | } |
| 35 | ||
| 36 | /** | |
| 37 | * @param aLength | |
| 38 | * @param aJClass | |
| 39 | */ | |
| 40 | 0 | public PrecType(int aLength, String aJClass) { |
| 41 | 0 | length = aLength; |
| 42 | 0 | jClass = aJClass; |
| 43 | 0 | } |
| 44 | ||
| 45 | /** | |
| 46 | * @return type. | |
| 47 | */ | |
| 48 | public String getJClass() { | |
| 49 | 0 | return jClass; |
| 50 | } | |
| 51 | ||
| 52 | /** | |
| 53 | * @return len. | |
| 54 | */ | |
| 55 | public int getLength() { | |
| 56 | 0 | return length; |
| 57 | } | |
| 58 | ||
| 59 | /** | |
| 60 | * @param aType | |
| 61 | * The type to set. | |
| 62 | */ | |
| 63 | public void setJClass(String aType) { | |
| 64 | 0 | jClass = aType; |
| 65 | 0 | } |
| 66 | ||
| 67 | /** | |
| 68 | * @param aLength | |
| 69 | * The length to set. | |
| 70 | */ | |
| 71 | public void setLength(int aLength) { | |
| 72 | 0 | length = aLength; |
| 73 | 0 | } |
| 74 | } |