1 26 28 package de.nava.informa.impl.basic; 29 30 import de.nava.informa.core.CloudIF; 31 32 37 public class Cloud implements CloudIF, java.io.Serializable { 38 39 private long id; 40 private String domain; 41 private int port; 42 private String path; 43 private String registerProcedure; 44 private String protocol; 45 46 public Cloud() { 47 this("[No Cloud]", -1, null, null, null); 48 } 49 50 public Cloud(String domain, int port, String path, String registerProcedure, String protocol) { 51 this.id = IdGenerator.getInstance().getId(); 52 this.domain = domain; 53 this.port = port; 54 this.path = path; 55 this.registerProcedure = registerProcedure; 56 this.protocol = protocol; 57 } 58 59 63 public long getId() { 64 return id; 65 } 66 67 public void setId(long id) { 68 this.id = id; 69 } 70 71 public String getDomain() { 72 return domain; 73 } 74 75 public void setDomain(String domain) { 76 this.domain = domain; 77 } 78 79 public int getPort() { 80 return port; 81 } 82 83 public void setPort(int port) { 84 this.port = port; 85 } 86 87 public String getPath() { 88 return path; 89 } 90 91 public void setPath(String path) { 92 this.path = path; 93 } 94 95 public String getRegisterProcedure() { 96 return registerProcedure; 97 } 98 99 public void setRegisterProcedure(String registerProcedure) { 100 this.registerProcedure = registerProcedure; 101 } 102 103 public String getProtocol() { 104 return protocol; 105 } 106 107 public void setProtocol(String protocol) { 108 this.protocol = protocol; 109 } 110 111 } 112 | Popular Tags |