| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| CellData |
|
| 1.0;1 |
| 1 | /** | |
| 2 | * Copyright 2010, CSIRO Australia. | |
| 3 | * | |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); | |
| 5 | * you may not use this file except in compliance with the License. | |
| 6 | * You may obtain a copy of the License at | |
| 7 | * | |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 | |
| 9 | * | |
| 10 | * Unless required by applicable law or agreed to in writing, software | |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, | |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 13 | * See the License for the specific language governing permissions and | |
| 14 | * limitations under the License. | |
| 15 | */ | |
| 16 | ||
| 17 | package au.csiro.netcdf.wron; | |
| 18 | ||
| 19 | /** | |
| 20 | * Class used to represent a row in a WRON lookup file. | |
| 21 | * | |
| 22 | * Copyright 2010, CSIRO Australia All rights reserved. | |
| 23 | * | |
| 24 | * @author Robert Bridle on 08/04/2010 | |
| 25 | * @version $Revision: 78 $ $Date: 2010-07-24 16:23:13 +1000 (Sat, 24 Jul 2010) $ | |
| 26 | */ | |
| 27 | public class CellData | |
| 28 | { | |
| 29 | public String cellId; | |
| 30 | public String longitude; | |
| 31 | public String latitude; | |
| 32 | public String elevation; | |
| 33 | public String catchmentId; | |
| 34 | public String reportingRegionId; | |
| 35 | public String filename; | |
| 36 | ||
| 37 | 3784 | public CellData(String cellId, String longitude, String latitude) |
| 38 | { | |
| 39 | 3784 | this.cellId = cellId; |
| 40 | 3784 | this.longitude = longitude; |
| 41 | 3784 | this.latitude = latitude; |
| 42 | 3784 | } |
| 43 | ||
| 44 | /** | |
| 45 | * @return the latitude | |
| 46 | */ | |
| 47 | public String getLatitude() | |
| 48 | { | |
| 49 | 0 | return latitude; |
| 50 | } | |
| 51 | ||
| 52 | /** | |
| 53 | * @return the longitude | |
| 54 | */ | |
| 55 | public String getLongitude() | |
| 56 | { | |
| 57 | 0 | return longitude; |
| 58 | } | |
| 59 | ||
| 60 | /** | |
| 61 | * @return the cellId | |
| 62 | */ | |
| 63 | public String getCellId() | |
| 64 | { | |
| 65 | 0 | return cellId; |
| 66 | } | |
| 67 | ||
| 68 | /* | |
| 69 | * (non-Javadoc) | |
| 70 | * | |
| 71 | * @see java.lang.Object#toString() | |
| 72 | */ | |
| 73 | @Override | |
| 74 | public String toString() | |
| 75 | { | |
| 76 | 0 | return "CellData [cellId=" + cellId + ", latitude=" + latitude + ", longitude=" + longitude + "]"; |
| 77 | } | |
| 78 | } |