View Javadoc
1   /*
2    * Copyright 2007 Kasper B. Graversen
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  package org.supercsv.benchmark.model;
17  
18  /**
19   * POJO to use without cell processors.
20   * 
21   * @author James Bassett
22   */
23  public class TransportLocationStrings {
24  	
25  	private String atcoCode;
26  	private String easting;
27  	private String northing;
28  	private String longitude;
29  	private String latitude;
30  	private String commonName;
31  	private String identifier;
32  	private String direction;
33  	private String street;
34  	private String landmark;
35  	private String natGazId;
36  	private String natGazLocality;
37  	private String stopType;
38  	private String stopTypeAndName;
39  	private String iconColour;
40  	
41  	public String getAtcoCode() {
42  		return atcoCode;
43  	}
44  	
45  	public void setAtcoCode(String atcoCode) {
46  		this.atcoCode = atcoCode;
47  	}
48  	
49  	public String getEasting() {
50  		return easting;
51  	}
52  	
53  	public void setEasting(String easting) {
54  		this.easting = easting;
55  	}
56  	
57  	public String getNorthing() {
58  		return northing;
59  	}
60  	
61  	public void setNorthing(String northing) {
62  		this.northing = northing;
63  	}
64  	
65  	public String getLongitude() {
66  		return longitude;
67  	}
68  	
69  	public void setLongitude(String longitude) {
70  		this.longitude = longitude;
71  	}
72  	
73  	public String getLatitude() {
74  		return latitude;
75  	}
76  	
77  	public void setLatitude(String latitude) {
78  		this.latitude = latitude;
79  	}
80  	
81  	public String getCommonName() {
82  		return commonName;
83  	}
84  	
85  	public void setCommonName(String commonName) {
86  		this.commonName = commonName;
87  	}
88  	
89  	public String getIdentifier() {
90  		return identifier;
91  	}
92  	
93  	public void setIdentifier(String identifier) {
94  		this.identifier = identifier;
95  	}
96  	
97  	public String getDirection() {
98  		return direction;
99  	}
100 	
101 	public void setDirection(String direction) {
102 		this.direction = direction;
103 	}
104 	
105 	public String getStreet() {
106 		return street;
107 	}
108 	
109 	public void setStreet(String street) {
110 		this.street = street;
111 	}
112 	
113 	public String getLandmark() {
114 		return landmark;
115 	}
116 	
117 	public void setLandmark(String landmark) {
118 		this.landmark = landmark;
119 	}
120 	
121 	public String getNatGazId() {
122 		return natGazId;
123 	}
124 	
125 	public void setNatGazId(String natGazId) {
126 		this.natGazId = natGazId;
127 	}
128 	
129 	public String getNatGazLocality() {
130 		return natGazLocality;
131 	}
132 	
133 	public void setNatGazLocality(String natGazLocality) {
134 		this.natGazLocality = natGazLocality;
135 	}
136 	
137 	public String getStopType() {
138 		return stopType;
139 	}
140 	
141 	public void setStopType(String stopType) {
142 		this.stopType = stopType;
143 	}
144 	
145 	public String getStopTypeAndName() {
146 		return stopTypeAndName;
147 	}
148 	
149 	public void setStopTypeAndName(String stopTypeAndName) {
150 		this.stopTypeAndName = stopTypeAndName;
151 	}
152 	
153 	public String getIconColour() {
154 		return iconColour;
155 	}
156 	
157 	public void setIconColour(String iconColour) {
158 		this.iconColour = iconColour;
159 	}
160 	
161 	public String[] toStringArray() {
162 		return new String[] { atcoCode, easting, northing, longitude, latitude, commonName, identifier, direction,
163 			street, landmark, natGazId, natGazLocality, stopType, stopTypeAndName, iconColour };
164 	}
165 	
166 }