/** * Global Sensor Networks (GSN) Source Code * Copyright (c) 2006-2014, Ecole Polytechnique Federale de Lausanne (EPFL) * * This file is part of GSN. * * GSN is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * GSN is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with GSN. If not, see <http://www.gnu.org/licenses/>. * * File: gsn-tiny/src/tinygsn/gui/android/utils/SubscriptionRow.java * * @author Do Ngoc Hoan */ package tinygsn.gui.android.utils; import java.io.Serializable; public class SubscribeRow implements Serializable { private static final long serialVersionUID = -6380562462860022756L; private int id; public int getId() { return id; } public void setId(int id) { this.id = id; } private String serverurl; private boolean active; private String info; private String vsname; public String getServerurl() { return serverurl; } public void setServerurl(String serverurl) { this.serverurl = serverurl; } public boolean isActive() { return active; } public void setActive(boolean active) { this.active = active; } public String getInfo() { return info; } public void setInfo(String info) { this.info = info; } public String getVsname() { return vsname; } public void setVsname(String vsname) { this.vsname = vsname; } public SubscribeRow() { } public SubscribeRow(int id, String serverurl, boolean active, String info, String vsname) { this.id = id; this.serverurl = serverurl; this.active = active; this.info = info; this.vsname = vsname; } }