From aa289b8600d9a55fdd053e003705de116ab25f2e Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 11 Oct 2015 13:50:13 +1300 Subject: Make changes to model hierarchy --- src/org/traccar/model/Command.java | 35 +++++++++++++++-------------------- 1 file changed, 15 insertions(+), 20 deletions(-) (limited to 'src/org/traccar/model/Command.java') diff --git a/src/org/traccar/model/Command.java b/src/org/traccar/model/Command.java index 09bb81a74..99525a02b 100644 --- a/src/org/traccar/model/Command.java +++ b/src/org/traccar/model/Command.java @@ -1,3 +1,18 @@ +/* + * Copyright 2015 Anton Tananaev (anton.tananaev@gmail.com) + * + * 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; public class Command extends Extensible implements Factory { @@ -21,24 +36,4 @@ public class Command extends Extensible implements Factory { return new Command(); } - private long deviceId; - - public long getDeviceId() { - return deviceId; - } - - public void setDeviceId(long deviceId) { - this.deviceId = deviceId; - } - - private String type; - - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - } -- cgit v1.2.3