/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
- /**************************************************************************
- * Copyright (C) 2010 Atlas of Living Australia
- * All Rights Reserved.
- *
- * The contents of this file are subject to the Mozilla Public
- * License Version 1.1 (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.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS
- * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- * implied. See the License for the specific language governing
- * rights and limitations under the License.
- ***************************************************************************/
- package org.ala.spatial.services.dto;
- import java.sql.Timestamp;
- import org.codehaus.jackson.map.annotate.JsonSerialize;
- /**
- * @author ajay
- */
- @JsonSerialize(include = JsonSerialize.Inclusion.NON_DEFAULT)
- public class Application {
- private long id;
- private String name;
- private String email;
- private String organisation;
- private Timestamp regtime;
- private String appid;
- private String status;
- private String description;
- private String url;
- private String contact;
- private String clientip;
- public String getAppid() {
- return appid;
- }
- public void setAppid(String appid) {
- this.appid = appid;
- }
- public String getDescription() {
- return description;
- }
- public void setDescription(String description) {
- this.description = description;
- }
- public String getEmail() {
- return email;
- }
- public void setEmail(String email) {
- this.email = email;
- }
- public long getId() {
- return id;
- }
- public void setId(long id) {
- this.id = id;
- }
- public String getName() {
- return name;
- }
- public void setName(String name) {
- this.name = name;
- }
- public String getOrganisation() {
- return organisation;
- }
- public void setOrganisation(String organisation) {
- this.organisation = organisation;
- }
- public Timestamp getRegtime() {
- return regtime;
- }
- public void setRegtime(Timestamp regtime) {
- this.regtime = regtime;
- }
- public String getStatus() {
- return status;
- }
- public void setStatus(String status) {
- this.status = status;
- }
- public String getContact() {
- return contact;
- }
- public void setContact(String contact) {
- this.contact = contact;
- }
- public String getUrl() {
- return url;
- }
- public void setUrl(String url) {
- this.url = url;
- }
- public String getClientip() {
- return clientip;
- }
- public void setClientip(String clientip) {
- this.clientip = clientip;
- }
- @Override
- public String toString() {
- return "Application{" + "id=" + id + "name=" + name + "email=" + email + "organisation=" + organisation + "regtime=" + regtime + "appid=" + appid + "status=" + status + "description=" + description + "url=" + url + "contact=" + contact + "clientip=" + clientip + '}';
- }
- }