/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. package org.ala.spatial.services.dto;
  16. import java.sql.Timestamp;
  17. import org.codehaus.jackson.map.annotate.JsonSerialize;
  18. /**
  19. * @author ajay
  20. */
  21. @JsonSerialize(include = JsonSerialize.Inclusion.NON_DEFAULT)
  22. public class Application {
  23. private long id;
  24. private String name;
  25. private String email;
  26. private String organisation;
  27. private Timestamp regtime;
  28. private String appid;
  29. private String status;
  30. private String description;
  31. private String url;
  32. private String contact;
  33. private String clientip;
  34. public String getAppid() {
  35. return appid;
  36. }
  37. public void setAppid(String appid) {
  38. this.appid = appid;
  39. }
  40. public String getDescription() {
  41. return description;
  42. }
  43. public void setDescription(String description) {
  44. this.description = description;
  45. }
  46. public String getEmail() {
  47. return email;
  48. }
  49. public void setEmail(String email) {
  50. this.email = email;
  51. }
  52. public long getId() {
  53. return id;
  54. }
  55. public void setId(long id) {
  56. this.id = id;
  57. }
  58. public String getName() {
  59. return name;
  60. }
  61. public void setName(String name) {
  62. this.name = name;
  63. }
  64. public String getOrganisation() {
  65. return organisation;
  66. }
  67. public void setOrganisation(String organisation) {
  68. this.organisation = organisation;
  69. }
  70. public Timestamp getRegtime() {
  71. return regtime;
  72. }
  73. public void setRegtime(Timestamp regtime) {
  74. this.regtime = regtime;
  75. }
  76. public String getStatus() {
  77. return status;
  78. }
  79. public void setStatus(String status) {
  80. this.status = status;
  81. }
  82. public String getContact() {
  83. return contact;
  84. }
  85. public void setContact(String contact) {
  86. this.contact = contact;
  87. }
  88. public String getUrl() {
  89. return url;
  90. }
  91. public void setUrl(String url) {
  92. this.url = url;
  93. }
  94. public String getClientip() {
  95. return clientip;
  96. }
  97. public void setClientip(String clientip) {
  98. this.clientip = clientip;
  99. }
  100. @Override
  101. public String toString() {
  102. return "Application{" + "id=" + id + "name=" + name + "email=" + email + "organisation=" + organisation + "regtime=" + regtime + "appid=" + appid + "status=" + status + "description=" + description + "url=" + url + "contact=" + contact + "clientip=" + clientip + '}';
  103. }
  104. }