diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-10-20 16:46:17 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-20 16:46:17 +1300 |
commit | 504969d034dce57ebdc85800e051ee918024ef7f (patch) | |
tree | af3f19ac3bfd02274cc34de3fbb296302cd8631a /src/org/traccar/reports/model/DeviceReport.java | |
parent | f64840b9e85d4869c92e9f20a2f5043522ad4008 (diff) | |
parent | 45302036168fe3adf1d9d184cd68e92e15dd3b1f (diff) | |
download | traccar-server-504969d034dce57ebdc85800e051ee918024ef7f.tar.gz traccar-server-504969d034dce57ebdc85800e051ee918024ef7f.tar.bz2 traccar-server-504969d034dce57ebdc85800e051ee918024ef7f.zip |
Merge pull request #2448 from Abyss777/export_excel
Implement export reports to excel
Diffstat (limited to 'src/org/traccar/reports/model/DeviceReport.java')
-rw-r--r-- | src/org/traccar/reports/model/DeviceReport.java | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/src/org/traccar/reports/model/DeviceReport.java b/src/org/traccar/reports/model/DeviceReport.java new file mode 100644 index 000000000..c072de231 --- /dev/null +++ b/src/org/traccar/reports/model/DeviceReport.java @@ -0,0 +1,49 @@ +/* + * Copyright 2016 Anton Tananaev (anton.tananaev@gmail.com) + * Copyright 2016 Andrey Kunitsyn (abyss@fox5.ru) + * + * 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.reports.model; + +import java.util.ArrayList; +import java.util.Collection; +import java.util.List; + +public class DeviceReport { + + private String deviceName; + public String getDeviceName() { + return deviceName; + } + public void setDeviceName(String deviceName) { + this.deviceName = deviceName; + } + + private String groupName = ""; + public String getGroupName() { + return groupName; + } + public void setGroupName(String groupName) { + this.groupName = groupName; + } + + private List<?> objects; + public Collection<?> getObjects() { + return objects; + } + public void setObjects(Collection<?> objects) { + this.objects = new ArrayList<>(objects); + } + +} |