1 26 28 package de.nava.informa.impl.hibernate; 29 30 import de.nava.informa.core.CloudIF; 31 32 40 public class Cloud implements CloudIF, java.io.Serializable { 41 42 private int id; 43 private String domain; 44 private int port; 45 private String path; 46 private String registerProcedure; 47 private String protocol; 48 49 public Cloud() { 50 this("[No Cloud]", -1, null, null, null); 51 } 52 53 public Cloud(String domain, int port, String path, String registerProcedure, String protocol) { 54 this.domain = domain; 55 this.port = port; 56 this.path = path; 57 this.registerProcedure = registerProcedure; 58 this.protocol = protocol; 59 } 60 61 65 71 public int getIntId() { 72 return id; 73 } 74 75 public void setIntId(int id) { 76 this.id = id; 77 } 78 79 public long getId() { 80 return id; 81 } 82 83 public void setId(long id) { 84 this.id = (int) id; 85 } 86 87 92 public String getDomain() { 93 return domain; 94 } 95 96 public void setDomain(String domain) { 97 this.domain = domain; 98 } 99 100 105 public int getPort() { 106 return port; 107 } 108 109 public void setPort(int port) { 110 this.port = port; 111 } 112 113 118 public String getPath() { 119 return path; 120 } 121 122 public void setPath(String path) { 123 this.path = path; 124 } 125 126 131 public String getRegisterProcedure() { 132 return registerProcedure; 133 } 134 135 public void setRegisterProcedure(String registerProcedure) { 136 this.registerProcedure = registerProcedure; 137 } 138 139 144 public String getProtocol() { 145 return protocol; 146 } 147 148 public void setProtocol(String protocol) { 149 this.protocol = protocol; 150 } 151 152 } 153 | Popular Tags |