PageRenderTime 23ms CodeModel.GetById 16ms app.highlight 5ms RepoModel.GetById 0ms app.codeStats 0ms

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

http://alageospatialportal.googlecode.com/
Java | 133 lines | 87 code | 29 blank | 17 comment | 0 complexity | d22bbf88b025f035ea0add92dc291be4 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 java.sql.Timestamp;
 19
 20import org.codehaus.jackson.map.annotate.JsonSerialize;
 21
 22/**
 23 * @author ajay
 24 */
 25
 26@JsonSerialize(include = JsonSerialize.Inclusion.NON_DEFAULT)
 27public class Application {
 28    private long id;
 29    private String name;
 30    private String email;
 31    private String organisation;
 32    private Timestamp regtime;
 33    private String appid;
 34    private String status;
 35    private String description;
 36    private String url;
 37    private String contact;
 38    private String clientip;
 39
 40    public String getAppid() {
 41        return appid;
 42    }
 43
 44    public void setAppid(String appid) {
 45        this.appid = appid;
 46    }
 47
 48    public String getDescription() {
 49        return description;
 50    }
 51
 52    public void setDescription(String description) {
 53        this.description = description;
 54    }
 55
 56    public String getEmail() {
 57        return email;
 58    }
 59
 60    public void setEmail(String email) {
 61        this.email = email;
 62    }
 63
 64    public long getId() {
 65        return id;
 66    }
 67
 68    public void setId(long id) {
 69        this.id = id;
 70    }
 71
 72    public String getName() {
 73        return name;
 74    }
 75
 76    public void setName(String name) {
 77        this.name = name;
 78    }
 79
 80    public String getOrganisation() {
 81        return organisation;
 82    }
 83
 84    public void setOrganisation(String organisation) {
 85        this.organisation = organisation;
 86    }
 87
 88    public Timestamp getRegtime() {
 89        return regtime;
 90    }
 91
 92    public void setRegtime(Timestamp regtime) {
 93        this.regtime = regtime;
 94    }
 95
 96    public String getStatus() {
 97        return status;
 98    }
 99
100    public void setStatus(String status) {
101        this.status = status;
102    }
103
104    public String getContact() {
105        return contact;
106    }
107
108    public void setContact(String contact) {
109        this.contact = contact;
110    }
111
112    public String getUrl() {
113        return url;
114    }
115
116    public void setUrl(String url) {
117        this.url = url;
118    }
119
120    public String getClientip() {
121        return clientip;
122    }
123
124    public void setClientip(String clientip) {
125        this.clientip = clientip;
126    }
127
128    @Override
129    public String toString() {
130        return "Application{" + "id=" + id + "name=" + name + "email=" + email + "organisation=" + organisation + "regtime=" + regtime + "appid=" + appid + "status=" + status + "description=" + description + "url=" + url + "contact=" + contact + "clientip=" + clientip + '}';
131    }
132
133}