aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model/CellTower.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-12-19 08:24:15 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-12-19 08:24:15 +1300
commit12e88e5cccc00eb5882124db9e0350ae568902e6 (patch)
tree8581901fde947d65ce5305fdbd1d9410dd1690a9 /src/org/traccar/model/CellTower.java
parent54e738d3281a463a0ea3fcf2026c2464529a9b58 (diff)
downloadtrackermap-server-12e88e5cccc00eb5882124db9e0350ae568902e6.tar.gz
trackermap-server-12e88e5cccc00eb5882124db9e0350ae568902e6.tar.bz2
trackermap-server-12e88e5cccc00eb5882124db9e0350ae568902e6.zip
Better network location support
Diffstat (limited to 'src/org/traccar/model/CellTower.java')
-rw-r--r--src/org/traccar/model/CellTower.java63
1 files changed, 63 insertions, 0 deletions
diff --git a/src/org/traccar/model/CellTower.java b/src/org/traccar/model/CellTower.java
new file mode 100644
index 000000000..3447bb921
--- /dev/null
+++ b/src/org/traccar/model/CellTower.java
@@ -0,0 +1,63 @@
+/*
+ * Copyright 2016 Anton Tananaev (anton@traccar.org)
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.traccar.model;
+
+import com.fasterxml.jackson.databind.annotation.JsonSerialize;
+
+@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
+public class CellTower {
+
+ private Integer cellId;
+
+ public Integer getCellId() {
+ return cellId;
+ }
+
+ public void setCellId(Integer cellId) {
+ this.cellId = cellId;
+ }
+
+ private Integer locationAreaCode;
+
+ public Integer getLocationAreaCode() {
+ return locationAreaCode;
+ }
+
+ public void setLocationAreaCode(Integer locationAreaCode) {
+ this.locationAreaCode = locationAreaCode;
+ }
+
+ private Integer mobileCountryCode;
+
+ public Integer getMobileCountryCode() {
+ return mobileCountryCode;
+ }
+
+ public void setMobileCountryCode(Integer mobileCountryCode) {
+ this.mobileCountryCode = mobileCountryCode;
+ }
+
+ private Integer mobileNetworkCode;
+
+ public Integer getMobileNetworkCode() {
+ return mobileNetworkCode;
+ }
+
+ public void setMobileNetworkCode(Integer mobileNetworkCode) {
+ this.mobileNetworkCode = mobileNetworkCode;
+ }
+
+}