PageRenderTime 32ms CodeModel.GetById 11ms app.highlight 15ms RepoModel.GetById 1ms app.codeStats 1ms

/actions/src/main/java/org/ala/spatial/services/dto/Service.java

http://alageospatialportal.googlecode.com/
Java | 113 lines | 72 code | 24 blank | 17 comment | 0 complexity | 453ededa68ecd60a8a27711ba3774dcf MD5 | raw file
  1/**************************************************************************
  2 *  Copyright (C) 2010 Atlas of Living Australia
  3 *  All Rights Reserved.
  4 *
  5 *  The contents of this file are subject to the Mozilla Public
  6 *  License Version 1.1 (the "License"); you may not use this file
  7 *  except in compliance with the License. You may obtain a copy of
  8 *  the License at http://www.mozilla.org/MPL/
  9 *
 10 *  Software distributed under the License is distributed on an "AS
 11 *  IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
 12 *  implied. See the License for the specific language governing
 13 *  rights and limitations under the License.
 14 ***************************************************************************/
 15
 16package org.ala.spatial.services.dto;
 17
 18import org.codehaus.jackson.map.annotate.JsonSerialize;
 19
 20/**
 21 * @author ajay
 22 */
 23
 24@JsonSerialize(include = JsonSerialize.Inclusion.NON_DEFAULT)
 25public class Service {
 26    private long id;
 27    private String name;
 28    private long processid;
 29    private String specieslsid;
 30    private String area;
 31    private String layers;
 32    private String extra;
 33    private String status;
 34    private boolean privacy;
 35
 36    public String getArea() {
 37        return area;
 38    }
 39
 40    public void setArea(String area) {
 41        this.area = area;
 42    }
 43
 44    public String getExtra() {
 45        return extra;
 46    }
 47
 48    public void setExtra(String extra) {
 49        this.extra = extra;
 50    }
 51
 52    public long getId() {
 53        return id;
 54    }
 55
 56    public void setId(long id) {
 57        this.id = id;
 58    }
 59
 60    public String getLayers() {
 61        return layers;
 62    }
 63
 64    public void setLayers(String layers) {
 65        this.layers = layers;
 66    }
 67
 68    public String getName() {
 69        return name;
 70    }
 71
 72    public void setName(String name) {
 73        this.name = name;
 74    }
 75
 76    public long getProcessid() {
 77        return processid;
 78    }
 79
 80    public void setProcessid(long processid) {
 81        this.processid = processid;
 82    }
 83
 84    public String getSpecieslsid() {
 85        return specieslsid;
 86    }
 87
 88    public void setSpecieslsid(String specieslsid) {
 89        this.specieslsid = specieslsid;
 90    }
 91
 92    public boolean getPrivacy() {
 93        return privacy;
 94    }
 95
 96    public void setPrivacy(boolean privacy) {
 97        this.privacy = privacy;
 98    }
 99
100    public String getStatus() {
101        return status;
102    }
103
104    public void setStatus(String status) {
105        this.status = status;
106    }
107
108    @Override
109    public String toString() {
110        return "Service{" + " id=" + id + " name=" + name + " processid=" + processid + " specieslsid=" + specieslsid + " area=" + area + " layers=" + layers + " extra=" + extra + " status=" + status + "  privacy=" + privacy + '}';
111    }
112
113}