1 16 package org.jmanage.core.data; 17 18 import java.io.Serializable ; 19 import java.util.List ; 20 import java.util.Map ; 21 22 27 public class ApplicationConfigData implements Serializable { 28 29 private String appId; 30 private String name; 31 private String host; 32 private Integer port; 33 private String url; 34 private String username; 35 private String password; 36 private String type; 37 private boolean isCluster; 38 private List childApplications; 39 protected Map paramValues; 40 41 public String getApplicationId() { 42 return appId; 43 } 44 45 public void setApplicationId(String appId) { 46 this.appId = appId; 47 } 48 49 public String getName() { 50 return name; 51 } 52 53 public void setName(String name) { 54 this.name = name; 55 } 56 57 public String getHost() { 58 return host; 59 } 60 61 public void setHost(String host) { 62 this.host = host; 63 } 64 65 public Integer getPort() { 66 return port; 67 } 68 69 public void setPort(Integer port) { 70 this.port = port; 71 } 72 73 public String getURL() { 74 return url; 75 } 76 77 public void setURL(String url) { 78 this.url = url; 79 } 80 81 public String getUsername() { 82 return username; 83 } 84 85 public void setUsername(String username) { 86 this.username = username; 87 } 88 89 public String getPassword() { 90 return password; 91 } 92 93 public void setPassword(String password) { 94 this.password = password; 95 } 96 97 public String getType() { 98 return type; 99 } 100 101 public void setType(String type) { 102 this.type = type; 103 } 104 105 public Map getParamValues(){ 106 return paramValues; 107 } 108 109 public void setParamValues(Map paramValues){ 110 this.paramValues = paramValues; 111 } 112 113 public void setCluster(boolean isCluster){ 114 this.isCluster = isCluster; 115 } 116 117 120 public boolean isCluster(){ 121 return isCluster; 122 } 123 124 public List getChildApplications() { 125 return childApplications; 126 } 127 128 public void setChildApplications(List childApplications) { 129 assert isCluster; 130 this.childApplications = childApplications; 131 } 132 } 133 | Popular Tags |