You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/10/15 22:20:03 UTC
[08/25] Removed setters from *JoinVO classes
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e514da2c/server/src/com/cloud/api/query/vo/SecurityGroupJoinVO.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/query/vo/SecurityGroupJoinVO.java b/server/src/com/cloud/api/query/vo/SecurityGroupJoinVO.java
index 258b613..50b30f3 100644
--- a/server/src/com/cloud/api/query/vo/SecurityGroupJoinVO.java
+++ b/server/src/com/cloud/api/query/vo/SecurityGroupJoinVO.java
@@ -149,198 +149,104 @@ public class SecurityGroupJoinVO extends BaseViewVO implements ControlledViewEnt
}
@Override
- public void setId(long id) {
- this.id = id;
- }
-
- @Override
public String getUuid() {
return uuid;
}
- public void setUuid(String uuid) {
- this.uuid = uuid;
- }
-
-
public String getName() {
return name;
}
- public void setName(String name) {
- this.name = name;
- }
-
@Override
public long getAccountId() {
return accountId;
}
- public void setAccountId(long accountId) {
- this.accountId = accountId;
- }
-
@Override
public String getAccountUuid() {
return accountUuid;
}
- public void setAccountUuid(String accountUuid) {
- this.accountUuid = accountUuid;
- }
-
@Override
public String getAccountName() {
return accountName;
}
- public void setAccountName(String accountName) {
- this.accountName = accountName;
- }
-
@Override
public short getAccountType() {
return accountType;
}
- public void setAccountType(short accountType) {
- this.accountType = accountType;
- }
-
@Override
public long getDomainId() {
return domainId;
}
- public void setDomainId(long domainId) {
- this.domainId = domainId;
- }
-
@Override
public String getDomainUuid() {
return domainUuid;
}
- public void setDomainUuid(String domainUuid) {
- this.domainUuid = domainUuid;
- }
-
@Override
public String getDomainName() {
return domainName;
}
- public void setDomainName(String domainName) {
- this.domainName = domainName;
- }
-
@Override
public String getDomainPath() {
return domainPath;
}
- public void setDomainPath(String domainPath) {
- this.domainPath = domainPath;
- }
-
public long getProjectId() {
return projectId;
}
- public void setProjectId(long projectId) {
- this.projectId = projectId;
- }
-
@Override
public String getProjectUuid() {
return projectUuid;
}
- public void setProjectUuid(String projectUuid) {
- this.projectUuid = projectUuid;
- }
-
@Override
public String getProjectName() {
return projectName;
}
- public void setProjectName(String projectName) {
- this.projectName = projectName;
- }
-
public Long getJobId() {
return jobId;
}
- public void setJobId(Long jobId) {
- this.jobId = jobId;
- }
-
public String getJobUuid() {
return jobUuid;
}
- public void setJobUuid(String jobUuid) {
- this.jobUuid = jobUuid;
- }
-
public int getJobStatus() {
return jobStatus;
}
- public void setJobStatus(int jobStatus) {
- this.jobStatus = jobStatus;
- }
-
public String getDescription() {
return description;
}
- public void setDescription(String description) {
- this.description = description;
- }
-
public Long getRuleId() {
return ruleId;
}
- public void setRuleId(Long ruleId) {
- this.ruleId = ruleId;
- }
-
public String getRuleUuid() {
return ruleUuid;
}
- public void setRuleUuid(String ruleUuid) {
- this.ruleUuid = ruleUuid;
- }
-
public int getRuleStartPort() {
return ruleStartPort;
}
- public void setRuleStartPort(int ruleStartPort) {
- this.ruleStartPort = ruleStartPort;
- }
-
public int getRuleEndPort() {
return ruleEndPort;
}
- public void setRuleEndPort(int ruleEndPort) {
- this.ruleEndPort = ruleEndPort;
- }
-
public String getRuleProtocol() {
return ruleProtocol;
}
- public void setRuleProtocol(String ruleProtocol) {
- this.ruleProtocol = ruleProtocol;
- }
-
public SecurityRuleType getRuleType() {
if ("ingress".equalsIgnoreCase(ruleType)) {
return SecurityRuleType.IngressRule;
@@ -349,104 +255,51 @@ public class SecurityGroupJoinVO extends BaseViewVO implements ControlledViewEnt
}
}
- public void setRuleType(String ruleType) {
- this.ruleType = ruleType;
- }
-
public Long getRuleAllowedNetworkId() {
return ruleAllowedNetworkId;
}
- public void setRuleAllowedNetworkId(Long ruleAllowedNetworkId) {
- this.ruleAllowedNetworkId = ruleAllowedNetworkId;
- }
-
public String getRuleAllowedSourceIpCidr() {
return ruleAllowedSourceIpCidr;
}
- public void setRuleAllowedSourceIpCidr(String ruleAllowedSourceIpCidr) {
- this.ruleAllowedSourceIpCidr = ruleAllowedSourceIpCidr;
- }
-
public long getTagId() {
return tagId;
}
- public void setTagId(long tagId) {
- this.tagId = tagId;
- }
-
public String getTagUuid() {
return tagUuid;
}
- public void setTagUuid(String tagUuid) {
- this.tagUuid = tagUuid;
- }
-
public String getTagKey() {
return tagKey;
}
- public void setTagKey(String tagKey) {
- this.tagKey = tagKey;
- }
-
public String getTagValue() {
return tagValue;
}
- public void setTagValue(String tagValue) {
- this.tagValue = tagValue;
- }
-
public long getTagDomainId() {
return tagDomainId;
}
- public void setTagDomainId(long tagDomainId) {
- this.tagDomainId = tagDomainId;
- }
-
public long getTagAccountId() {
return tagAccountId;
}
- public void setTagAccountId(long tagAccountId) {
- this.tagAccountId = tagAccountId;
- }
-
public long getTagResourceId() {
return tagResourceId;
}
- public void setTagResourceId(long tagResourceId) {
- this.tagResourceId = tagResourceId;
- }
-
public String getTagResourceUuid() {
return tagResourceUuid;
}
- public void setTagResourceUuid(String tagResourceUuid) {
- this.tagResourceUuid = tagResourceUuid;
- }
-
public TaggedResourceType getTagResourceType() {
return tagResourceType;
}
- public void setTagResourceType(TaggedResourceType tagResourceType) {
- this.tagResourceType = tagResourceType;
- }
-
public String getTagCustomer() {
return tagCustomer;
}
-
- public void setTagCustomer(String tagCustomer) {
- this.tagCustomer = tagCustomer;
- }
-
}
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e514da2c/server/src/com/cloud/api/query/vo/ServiceOfferingJoinVO.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/query/vo/ServiceOfferingJoinVO.java b/server/src/com/cloud/api/query/vo/ServiceOfferingJoinVO.java
index 05ff5f3..3c843bb 100644
--- a/server/src/com/cloud/api/query/vo/ServiceOfferingJoinVO.java
+++ b/server/src/com/cloud/api/query/vo/ServiceOfferingJoinVO.java
@@ -133,241 +133,118 @@ public class ServiceOfferingJoinVO extends BaseViewVO implements InternalIdentit
}
@Override
- public void setId(long id) {
- this.id = id;
- }
-
- @Override
public String getUuid() {
return uuid;
}
- public void setUuid(String uuid) {
- this.uuid = uuid;
- }
-
public String getName() {
return name;
}
- public void setName(String name) {
- this.name = name;
- }
-
public String getDisplayText() {
return displayText;
}
- public void setDisplayText(String displayText) {
- this.displayText = displayText;
- }
-
-
public String getTags() {
return tags;
}
- public void setTags(String tags) {
- this.tags = tags;
- }
-
public boolean isUseLocalStorage() {
return useLocalStorage;
}
- public void setUseLocalStorage(boolean useLocalStorage) {
- this.useLocalStorage = useLocalStorage;
- }
-
public boolean isSystemUse() {
return systemUse;
}
- public void setSystemUse(boolean systemUse) {
- this.systemUse = systemUse;
- }
-
-
public Date getCreated() {
return created;
}
- public void setCreated(Date created) {
- this.created = created;
- }
-
public Date getRemoved() {
return removed;
}
- public void setRemoved(Date removed) {
- this.removed = removed;
- }
-
public long getDomainId() {
return domainId;
}
- public void setDomainId(long domainId) {
- this.domainId = domainId;
- }
-
public String getDomainUuid() {
return domainUuid;
}
- public void setDomainUuid(String domainUuid) {
- this.domainUuid = domainUuid;
- }
-
public String getDomainName() {
return domainName;
}
- public void setDomainName(String domainName) {
- this.domainName = domainName;
- }
-
public String getDomainPath() {
return domainPath;
}
- public void setDomainPath(String domainPath) {
- this.domainPath = domainPath;
- }
-
public int getSortKey() {
return sortKey;
}
- public void setSortKey(int sortKey) {
- this.sortKey = sortKey;
- }
-
public int getCpu() {
return cpu;
}
- public void setCpu(int cpu) {
- this.cpu = cpu;
- }
-
public int getSpeed() {
return speed;
}
- public void setSpeed(int speed) {
- this.speed = speed;
- }
-
public int getRamSize() {
return ramSize;
}
- public void setRamSize(int ramSize) {
- this.ramSize = ramSize;
- }
-
public Integer getRateMbps() {
return rateMbps;
}
- public void setRateMbps(Integer rateMbps) {
- this.rateMbps = rateMbps;
- }
-
public Integer getMulticastRateMbps() {
return multicastRateMbps;
}
- public void setMulticastRateMbps(Integer multicastRateMbps) {
- this.multicastRateMbps = multicastRateMbps;
- }
-
public boolean isOfferHA() {
return offerHA;
}
- public void setOfferHA(boolean offerHA) {
- this.offerHA = offerHA;
- }
-
public boolean isLimitCpuUse() {
return limitCpuUse;
}
- public void setLimitCpuUse(boolean limitCpuUse) {
- this.limitCpuUse = limitCpuUse;
- }
-
public String getHostTag() {
return hostTag;
}
- public void setHostTag(String hostTag) {
- this.hostTag = hostTag;
- }
-
public boolean isDefaultUse() {
return default_use;
}
- public void setDefaultUse(boolean default_use) {
- this.default_use = default_use;
- }
-
public String getSystemVmType() {
return vm_type;
}
- public void setSystemVmType(String vm_type) {
- this.vm_type = vm_type;
- }
-
public String getDeploymentPlanner() {
return deploymentPlanner;
}
- public void setDeploymentPlanner(String deploymentPlanner) {
- this.deploymentPlanner = deploymentPlanner;
- }
-
public boolean getVolatileVm() {
return volatileVm;
}
- public void setVolatileVm(boolean volatileVm) {
- this.volatileVm = volatileVm;
- }
-
- public void setBytesReadRate(Long bytesReadRate) {
- this.bytesReadRate = bytesReadRate;
- }
-
public Long getBytesReadRate() {
return bytesReadRate;
}
- public void setBytesWriteRate(Long bytesWriteRate) {
- this.bytesWriteRate = bytesWriteRate;
- }
-
public Long getBytesWriteRate() {
return bytesWriteRate;
}
- public void setIopsReadRate(Long iopsReadRate) {
- this.iopsReadRate = iopsReadRate;
- }
-
public Long getIopsReadRate() {
return iopsReadRate;
}
- public void setIopsWriteRate(Long iopsWriteRate) {
- this.iopsWriteRate = iopsWriteRate;
- }
-
public Long getIopsWriteRate() {
return iopsWriteRate;
}
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e514da2c/server/src/com/cloud/api/query/vo/StoragePoolJoinVO.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/query/vo/StoragePoolJoinVO.java b/server/src/com/cloud/api/query/vo/StoragePoolJoinVO.java
index d98bb3b..260d6ae 100644
--- a/server/src/com/cloud/api/query/vo/StoragePoolJoinVO.java
+++ b/server/src/com/cloud/api/query/vo/StoragePoolJoinVO.java
@@ -146,240 +146,120 @@ public class StoragePoolJoinVO extends BaseViewVO implements InternalIdentity, I
return scope;
}
- /**
- * @param scope the scope to set
- */
- public void setScope(ScopeType scope) {
- this.scope = scope;
- }
-
public HypervisorType getHypervisor() {
return hypervisor;
}
- public void setHypervisor(HypervisorType hypervisor) {
- this.hypervisor = hypervisor;
- }
-
@Override
public long getId() {
return id;
}
@Override
- public void setId(long id) {
- this.id = id;
- }
-
- @Override
public String getUuid() {
return uuid;
}
- public void setUuid(String uuid) {
- this.uuid = uuid;
- }
-
public String getName() {
return name;
}
- public void setName(String name) {
- this.name = name;
- }
-
public String getPath() {
return path;
}
- public void setPath(String path) {
- this.path = path;
- }
-
public String getHostAddress() {
return hostAddress;
}
- public void setHostAddress(String hostAddress) {
- this.hostAddress = hostAddress;
- }
-
public StoragePoolStatus getStatus() {
return status;
}
- public void setStatus(StoragePoolStatus status) {
- this.status = status;
- }
-
public StoragePoolType getPoolType() {
return poolType;
}
- public void setPoolType(StoragePoolType poolType) {
- this.poolType = poolType;
- }
-
public Date getCreated() {
return created;
}
- public void setCreated(Date created) {
- this.created = created;
- }
-
public Date getRemoved() {
return removed;
}
- public void setRemoved(Date removed) {
- this.removed = removed;
- }
-
public long getCapacityBytes() {
return capacityBytes;
}
- public void setCapacityBytes(long capacityBytes) {
- this.capacityBytes = capacityBytes;
- }
-
public Long getCapacityIops() {
return capacityIops;
}
- public void setCapacityIops(Long capacityIops) {
- this.capacityIops = capacityIops;
- }
-
public long getClusterId() {
return clusterId;
}
- public void setClusterId(long clusterId) {
- this.clusterId = clusterId;
- }
-
public String getClusterUuid() {
return clusterUuid;
}
- public void setClusterUuid(String clusterUuid) {
- this.clusterUuid = clusterUuid;
- }
-
public String getClusterName() {
return clusterName;
}
- public void setClusterName(String clusterName) {
- this.clusterName = clusterName;
- }
-
public Cluster.ClusterType getClusterType() {
return clusterType;
}
- public void setClusterType(Cluster.ClusterType clusterType) {
- this.clusterType = clusterType;
- }
-
public long getZoneId() {
return zoneId;
}
- public void setZoneId(long zoneId) {
- this.zoneId = zoneId;
- }
-
public String getZoneUuid() {
return zoneUuid;
}
- public void setZoneUuid(String zoneUuid) {
- this.zoneUuid = zoneUuid;
- }
-
public String getZoneName() {
return zoneName;
}
- public void setZoneName(String zoneName) {
- this.zoneName = zoneName;
- }
-
public long getPodId() {
return podId;
}
- public void setPodId(long podId) {
- this.podId = podId;
- }
-
public String getPodUuid() {
return podUuid;
}
- public void setPodUuid(String podUuid) {
- this.podUuid = podUuid;
- }
-
public String getPodName() {
return podName;
}
- public void setPodName(String podName) {
- this.podName = podName;
- }
-
public String getTag() {
return tag;
}
- public void setTag(String tag) {
- this.tag = tag;
- }
-
public long getUsedCapacity() {
return usedCapacity;
}
- public void setUsedCapacity(long usedCapacity) {
- this.usedCapacity = usedCapacity;
- }
-
public long getReservedCapacity() {
return reservedCapacity;
}
- public void setReservedCapacity(long reservedCapacity) {
- this.reservedCapacity = reservedCapacity;
- }
-
public Long getJobId() {
return jobId;
}
- public void setJobId(Long jobId) {
- this.jobId = jobId;
- }
-
public String getJobUuid() {
return jobUuid;
}
- public void setJobUuid(String jobUuid) {
- this.jobUuid = jobUuid;
- }
-
public int getJobStatus() {
return jobStatus;
}
- public void setJobStatus(int jobStatus) {
- this.jobStatus = jobStatus;
- }
-
public String getStorageProviderName() {
return storageProviderName;
}
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e514da2c/server/src/com/cloud/api/query/vo/TemplateJoinVO.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/query/vo/TemplateJoinVO.java b/server/src/com/cloud/api/query/vo/TemplateJoinVO.java
index bb1cfed..4cfdf6a 100644
--- a/server/src/com/cloud/api/query/vo/TemplateJoinVO.java
+++ b/server/src/com/cloud/api/query/vo/TemplateJoinVO.java
@@ -97,7 +97,7 @@ public class TemplateJoinVO extends BaseViewVO implements ControlledViewEntity {
@Column(name="dynamically_scalable")
private boolean dynamicallyScalable;
-
+
@Column(name="guest_os_id")
private long guestOSId;
@@ -129,7 +129,6 @@ public class TemplateJoinVO extends BaseViewVO implements ControlledViewEntity {
@Column(name="source_template_uuid")
private String sourceTemplateUuid;
-
@Column(name="template_tag")
private String templateTag;
@@ -213,7 +212,6 @@ public class TemplateJoinVO extends BaseViewVO implements ControlledViewEntity {
@Column(name="detail_value")
private String detailValue;
-
@Column(name="tag_id")
private long tagId;
@@ -255,821 +253,283 @@ public class TemplateJoinVO extends BaseViewVO implements ControlledViewEntity {
public TemplateJoinVO() {
}
-
-
@Override
public long getId() {
return id;
}
-
-
- @Override
- public void setId(long id) {
- this.id = id;
- }
-
-
-
@Override
public String getUuid() {
return uuid;
}
-
-
- public void setUuid(String uuid) {
- this.uuid = uuid;
- }
-
-
-
public String getName() {
return name;
}
-
-
- public void setName(String name) {
- this.name = name;
- }
-
-
public Date getCreated() {
return created;
}
-
-
- public void setCreated(Date created) {
- this.created = created;
- }
-
-
-
public Date getRemoved() {
return removed;
}
-
-
- public void setRemoved(Date removed) {
- this.removed = removed;
- }
-
-
-
@Override
public long getAccountId() {
return accountId;
}
-
-
- public void setAccountId(long accountId) {
- this.accountId = accountId;
- }
-
-
-
@Override
public String getAccountUuid() {
return accountUuid;
}
-
-
- public void setAccountUuid(String accountUuid) {
- this.accountUuid = accountUuid;
- }
-
-
-
@Override
public String getAccountName() {
return accountName;
}
-
-
- public void setAccountName(String accountName) {
- this.accountName = accountName;
- }
-
-
-
@Override
public short getAccountType() {
return accountType;
}
-
-
- public void setAccountType(short accountType) {
- this.accountType = accountType;
- }
-
-
-
@Override
public long getDomainId() {
return domainId;
}
-
-
- public void setDomainId(long domainId) {
- this.domainId = domainId;
- }
-
-
-
@Override
public String getDomainUuid() {
return domainUuid;
}
-
-
- public void setDomainUuid(String domainUuid) {
- this.domainUuid = domainUuid;
- }
-
-
-
@Override
public String getDomainName() {
return domainName;
}
-
-
- public void setDomainName(String domainName) {
- this.domainName = domainName;
- }
-
-
-
@Override
public String getDomainPath() {
return domainPath;
}
-
-
- public void setDomainPath(String domainPath) {
- this.domainPath = domainPath;
- }
-
-
-
public long getProjectId() {
return projectId;
}
-
-
- public void setProjectId(long projectId) {
- this.projectId = projectId;
- }
-
-
-
@Override
public String getProjectUuid() {
return projectUuid;
}
-
-
- public void setProjectUuid(String projectUuid) {
- this.projectUuid = projectUuid;
- }
-
-
-
@Override
public String getProjectName() {
return projectName;
}
-
-
- public void setProjectName(String projectName) {
- this.projectName = projectName;
- }
-
-
-
-
public boolean isExtractable() {
return extractable;
}
-
-
- public void setExtractable(boolean extractable) {
- this.extractable = extractable;
- }
-
-
-
public Storage.TemplateType getTemplateType() {
return templateType;
}
-
-
- public void setTemplateType(Storage.TemplateType templateType) {
- this.templateType = templateType;
- }
-
-
-
-
-
-
public long getTagId() {
return tagId;
}
-
-
- public void setTagId(long tagId) {
- this.tagId = tagId;
- }
-
-
-
public String getTagUuid() {
return tagUuid;
}
-
-
- public void setTagUuid(String tagUuid) {
- this.tagUuid = tagUuid;
- }
-
-
-
public String getTagKey() {
return tagKey;
}
-
-
- public void setTagKey(String tagKey) {
- this.tagKey = tagKey;
- }
-
-
-
public String getTagValue() {
return tagValue;
}
-
-
- public void setTagValue(String tagValue) {
- this.tagValue = tagValue;
- }
-
-
-
public long getTagDomainId() {
return tagDomainId;
}
-
-
- public void setTagDomainId(long tagDomainId) {
- this.tagDomainId = tagDomainId;
- }
-
-
-
public long getTagAccountId() {
return tagAccountId;
}
-
-
- public void setTagAccountId(long tagAccountId) {
- this.tagAccountId = tagAccountId;
- }
-
-
-
public long getTagResourceId() {
return tagResourceId;
}
-
-
- public void setTagResourceId(long tagResourceId) {
- this.tagResourceId = tagResourceId;
- }
-
-
-
public String getTagResourceUuid() {
return tagResourceUuid;
}
-
-
- public void setTagResourceUuid(String tagResourceUuid) {
- this.tagResourceUuid = tagResourceUuid;
- }
-
-
-
public TaggedResourceType getTagResourceType() {
return tagResourceType;
}
-
-
- public void setTagResourceType(TaggedResourceType tagResourceType) {
- this.tagResourceType = tagResourceType;
- }
-
-
-
public String getTagCustomer() {
return tagCustomer;
}
-
-
- public void setTagCustomer(String tagCustomer) {
- this.tagCustomer = tagCustomer;
- }
-
-
-
public long getDataCenterId() {
return dataCenterId;
}
-
-
- public void setDataCenterId(long dataCenterId) {
- this.dataCenterId = dataCenterId;
- }
-
-
-
public String getDataCenterUuid() {
return dataCenterUuid;
}
-
-
- public void setDataCenterUuid(String dataCenterUuid) {
- this.dataCenterUuid = dataCenterUuid;
- }
-
-
-
public String getDataCenterName() {
return dataCenterName;
}
-
-
- public void setDataCenterName(String dataCenterName) {
- this.dataCenterName = dataCenterName;
- }
-
-
-
public String getUniqueName() {
return uniqueName;
}
-
-
- public void setUniqueName(String uniqueName) {
- this.uniqueName = uniqueName;
- }
-
-
-
public boolean isPublicTemplate() {
return publicTemplate;
}
-
-
- public void setPublicTemplate(boolean publicTemplate) {
- this.publicTemplate = publicTemplate;
- }
-
-
-
public boolean isFeatured() {
return featured;
}
-
-
- public void setFeatured(boolean featured) {
- this.featured = featured;
- }
-
-
-
public String getUrl() {
return url;
}
-
-
- public void setUrl(String url) {
- this.url = url;
- }
-
-
-
public boolean isRequiresHvm() {
return requiresHvm;
}
-
-
- public void setRequiresHvm(boolean requiresHvm) {
- this.requiresHvm = requiresHvm;
- }
-
-
-
public int getBits() {
return bits;
}
-
-
- public void setBits(int bits) {
- this.bits = bits;
- }
-
-
-
public String getChecksum() {
return checksum;
}
-
-
- public void setChecksum(String checksum) {
- this.checksum = checksum;
- }
-
-
-
public String getDisplayText() {
return displayText;
}
-
-
- public void setDisplayText(String displayText) {
- this.displayText = displayText;
- }
-
-
-
public boolean isEnablePassword() {
return enablePassword;
}
-
-
- public void setEnablePassword(boolean enablePassword) {
- this.enablePassword = enablePassword;
- }
-
-
-
public boolean isDynamicallyScalable() {
return dynamicallyScalable;
}
- public void setDynamicallyScalable(boolean dynamicallyScalable) {
- this.dynamicallyScalable = dynamicallyScalable;
- }
-
-
-
public long getGuestOSId() {
return guestOSId;
}
-
-
- public void setGuestOSId(long guestOSId) {
- this.guestOSId = guestOSId;
- }
-
-
-
public String getGuestOSUuid() {
return guestOSUuid;
}
-
-
- public void setGuestOSUuid(String guestOSUuid) {
- this.guestOSUuid = guestOSUuid;
- }
-
-
-
public String getGuestOSName() {
return guestOSName;
}
-
-
- public void setGuestOSName(String guestOSName) {
- this.guestOSName = guestOSName;
- }
-
-
-
public boolean isBootable() {
return bootable;
}
-
-
- public void setBootable(boolean bootable) {
- this.bootable = bootable;
- }
-
-
-
public boolean isPrepopulate() {
return prepopulate;
}
-
-
- public void setPrepopulate(boolean prepopulate) {
- this.prepopulate = prepopulate;
- }
-
-
-
public boolean isCrossZones() {
return crossZones;
}
-
-
- public void setCrossZones(boolean crossZones) {
- this.crossZones = crossZones;
- }
-
-
-
public HypervisorType getHypervisorType() {
return hypervisorType;
}
-
-
- public void setHypervisorType(HypervisorType hypervisorType) {
- this.hypervisorType = hypervisorType;
- }
-
-
-
public Long getSourceTemplateId() {
return sourceTemplateId;
}
-
-
- public void setSourceTemplateId(Long sourceTemplateId) {
- this.sourceTemplateId = sourceTemplateId;
- }
-
-
-
public String getSourceTemplateUuid() {
return sourceTemplateUuid;
}
-
-
- public void setSourceTemplateUuid(String sourceTemplateUuid) {
- this.sourceTemplateUuid = sourceTemplateUuid;
- }
-
-
-
public String getTemplateTag() {
return templateTag;
}
-
-
- public void setTemplateTag(String templateTag) {
- this.templateTag = templateTag;
- }
-
-
-
public int getSortKey() {
return sortKey;
}
-
-
- public void setSortKey(int sortKey) {
- this.sortKey = sortKey;
- }
-
-
-
public boolean isEnableSshKey() {
return enableSshKey;
}
-
-
- public void setEnableSshKey(boolean enableSshKey) {
- this.enableSshKey = enableSshKey;
- }
-
-
-
public Status getDownloadState() {
return downloadState;
}
-
-
- public void setDownloadState(Status downloadState) {
- this.downloadState = downloadState;
- }
-
-
-
public long getSize() {
return size;
}
-
-
- public void setSize(long size) {
- this.size = size;
- }
-
-
-
public boolean isDestroyed() {
return destroyed;
}
-
-
- public void setDestroyed(boolean destroyed) {
- this.destroyed = destroyed;
- }
-
-
-
public Long getSharedAccountId() {
return sharedAccountId;
}
-
-
- public void setSharedAccountId(Long sharedAccountId) {
- this.sharedAccountId = sharedAccountId;
- }
-
-
-
public String getDetailName() {
return detailName;
}
-
-
- public void setDetailName(String detailName) {
- this.detailName = detailName;
- }
-
-
-
public String getDetailValue() {
return detailValue;
}
-
-
- public void setDetailValue(String detailValue) {
- this.detailValue = detailValue;
- }
-
-
-
public Date getCreatedOnStore() {
return createdOnStore;
}
-
-
- public void setCreatedOnStore(Date createdOnStore) {
- this.createdOnStore = createdOnStore;
- }
-
-
-
public Storage.ImageFormat getFormat() {
return format;
}
-
-
- public void setFormat(Storage.ImageFormat format) {
- this.format = format;
- }
-
-
-
public int getDownloadPercent() {
return downloadPercent;
}
-
-
- public void setDownloadPercent(int downloadPercent) {
- this.downloadPercent = downloadPercent;
- }
-
-
-
public String getErrorString() {
return errorString;
}
-
-
- public void setErrorString(String errorString) {
- this.errorString = errorString;
- }
-
-
-
public Long getDataStoreId() {
return dataStoreId;
}
-
-
- public void setDataStoreId(Long dataStoreId) {
- this.dataStoreId = dataStoreId;
- }
-
-
-
public ObjectInDataStoreStateMachine.State getState() {
return state;
}
-
-
- public void setState(ObjectInDataStoreStateMachine.State state) {
- this.state = state;
- }
-
-
-
public ScopeType getDataStoreScope() {
return dataStoreScope;
}
-
- public void setDataStoreScope(ScopeType dataStoreScope) {
- this.dataStoreScope = dataStoreScope;
- }
-
-
public String getTempZonePair() {
return tempZonePair;
}
-
-
-
- public void setTempZonePair(String tempZonePair) {
- this.tempZonePair = tempZonePair;
- }
-
-
}
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e514da2c/server/src/com/cloud/api/query/vo/UserAccountJoinVO.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/query/vo/UserAccountJoinVO.java b/server/src/com/cloud/api/query/vo/UserAccountJoinVO.java
index c44027b..c020c01 100644
--- a/server/src/com/cloud/api/query/vo/UserAccountJoinVO.java
+++ b/server/src/com/cloud/api/query/vo/UserAccountJoinVO.java
@@ -83,7 +83,6 @@ public class UserAccountJoinVO extends BaseViewVO implements InternalIdentity, I
@Column (name="incorrect_login_attempts")
int loginAttempts;
-
@Column(name="account_id")
private long accountId;
@@ -116,7 +115,7 @@ public class UserAccountJoinVO extends BaseViewVO implements InternalIdentity, I
@Column(name="job_status")
private int jobStatus;
-
+
@Column(name = "default")
boolean isDefault;
@@ -129,232 +128,111 @@ public class UserAccountJoinVO extends BaseViewVO implements InternalIdentity, I
}
@Override
- public void setId(long id) {
- this.id = id;
- }
-
- @Override
public String getUuid() {
return uuid;
}
- public void setUuid(String uuid) {
- this.uuid = uuid;
- }
-
-
public long getAccountId() {
return accountId;
}
- public void setAccountId(long accountId) {
- this.accountId = accountId;
- }
-
public String getAccountUuid() {
return accountUuid;
}
- public void setAccountUuid(String accountUuid) {
- this.accountUuid = accountUuid;
- }
-
public String getAccountName() {
return accountName;
}
- public void setAccountName(String accountName) {
- this.accountName = accountName;
- }
-
-
public short getAccountType() {
return accountType;
}
- public void setAccountType(short accountType) {
- this.accountType = accountType;
- }
-
-
public long getDomainId() {
return domainId;
}
- public void setDomainId(long domainId) {
- this.domainId = domainId;
- }
-
-
public String getDomainUuid() {
return domainUuid;
}
- public void setDomainUuid(String domainUuid) {
- this.domainUuid = domainUuid;
- }
-
-
public String getDomainName() {
return domainName;
}
- public void setDomainName(String domainName) {
- this.domainName = domainName;
- }
-
-
public String getDomainPath() {
return domainPath;
}
- public void setDomainPath(String domainPath) {
- this.domainPath = domainPath;
- }
-
public String getUsername() {
return username;
}
- public void setUsername(String username) {
- this.username = username;
- }
-
public String getPassword() {
return password;
}
- public void setPassword(String password) {
- this.password = password;
- }
-
public String getFirstname() {
return firstname;
}
- public void setFirstname(String firstname) {
- this.firstname = firstname;
- }
-
public String getLastname() {
return lastname;
}
- public void setLastname(String lastname) {
- this.lastname = lastname;
- }
-
public String getEmail() {
return email;
}
- public void setEmail(String email) {
- this.email = email;
- }
-
public String getState() {
return state;
}
- public void setState(String state) {
- this.state = state;
- }
-
public String getApiKey() {
return apiKey;
}
- public void setApiKey(String apiKey) {
- this.apiKey = apiKey;
- }
-
public String getSecretKey() {
return secretKey;
}
- public void setSecretKey(String secretKey) {
- this.secretKey = secretKey;
- }
-
public Date getCreated() {
return created;
}
- public void setCreated(Date created) {
- this.created = created;
- }
-
public Date getRemoved() {
return removed;
}
- public void setRemoved(Date removed) {
- this.removed = removed;
- }
-
public String getTimezone() {
return timezone;
}
- public void setTimezone(String timezone) {
- this.timezone = timezone;
- }
-
public String getRegistrationToken() {
return registrationToken;
}
- public void setRegistrationToken(String registrationToken) {
- this.registrationToken = registrationToken;
- }
-
public boolean isRegistered() {
return registered;
}
- public void setRegistered(boolean registered) {
- this.registered = registered;
- }
-
public int getLoginAttempts() {
return loginAttempts;
}
- public void setLoginAttempts(int loginAttempts) {
- this.loginAttempts = loginAttempts;
- }
-
public Long getJobId() {
return jobId;
}
- public void setJobId(Long jobId) {
- this.jobId = jobId;
- }
-
public String getJobUuid() {
return jobUuid;
}
- public void setJobUuid(String jobUuid) {
- this.jobUuid = jobUuid;
- }
-
public int getJobStatus() {
return jobStatus;
}
- public void setJobStatus(int jobStatus) {
- this.jobStatus = jobStatus;
- }
-
public boolean isDefault() {
return isDefault;
}
-
- public void setDefault(boolean isDefault) {
- this.isDefault = isDefault;
- }
-
-
}
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e514da2c/server/src/com/cloud/api/query/vo/UserVmJoinVO.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/query/vo/UserVmJoinVO.java b/server/src/com/cloud/api/query/vo/UserVmJoinVO.java
index 745db56..c9d5ddc 100644
--- a/server/src/com/cloud/api/query/vo/UserVmJoinVO.java
+++ b/server/src/com/cloud/api/query/vo/UserVmJoinVO.java
@@ -32,8 +32,8 @@ import com.cloud.hypervisor.Hypervisor.HypervisorType;
import com.cloud.network.Network.GuestType;
import com.cloud.network.Networks.TrafficType;
import com.cloud.server.ResourceTag.TaggedResourceType;
-import com.cloud.storage.Volume;
import com.cloud.storage.Storage.StoragePoolType;
+import com.cloud.storage.Volume;
import com.cloud.utils.db.Encrypt;
import com.cloud.utils.db.GenericDao;
import com.cloud.vm.VirtualMachine;
@@ -404,24 +404,10 @@ public class UserVmJoinVO extends BaseViewVO implements ControlledViewEntity {
}
@Override
- public void setId(long id) {
- this.id = id;
- }
-
-
- @Override
public String getUuid() {
return uuid;
}
-
-
-
- public void setUuid(String uuid) {
- this.uuid = uuid;
- }
-
-
public String getPassword() {
return password;
}
@@ -430,839 +416,314 @@ public class UserVmJoinVO extends BaseViewVO implements ControlledViewEntity {
this.password = password;
}
-
public String getName() {
return name;
}
-
- public void setName(String name) {
- this.name = name;
- }
-
-
public String getDisplayName() {
return displayName;
}
-
- public void setDisplayName(String displayName) {
- this.displayName = displayName;
- }
-
-
@Override
public long getAccountId() {
return accountId;
}
-
- public void setAccountId(long accountId) {
- this.accountId = accountId;
- }
-
-
@Override
public String getAccountUuid() {
return accountUuid;
}
-
-
-
- public void setAccountUuid(String accountUuid) {
- this.accountUuid = accountUuid;
- }
-
-
-
-
@Override
public String getAccountName() {
return accountName;
}
-
- public void setAccountName(String accountName) {
- this.accountName = accountName;
- }
-
-
@Override
public short getAccountType() {
return accountType;
}
-
- public void setAccountType(short accountType) {
- this.accountType = accountType;
- }
-
-
@Override
public long getDomainId() {
return domainId;
}
-
- public void setDomainId(long domainId) {
- this.domainId = domainId;
- }
-
-
@Override
public String getDomainUuid() {
return domainUuid;
}
-
-
-
- public void setDomainUuid(String domainUuid) {
- this.domainUuid = domainUuid;
- }
-
-
-
-
@Override
public String getDomainName() {
return domainName;
}
-
- public void setDomainName(String domainName) {
- this.domainName = domainName;
- }
-
-
@Override
public String getDomainPath() {
return domainPath;
}
-
- public void setDomainPath(String domainPath) {
- this.domainPath = domainPath;
- }
-
-
-
-
public long getInstanceGroupId() {
return instanceGroupId;
}
-
- public void setInstanceGroupId(long instanceGroupId) {
- this.instanceGroupId = instanceGroupId;
- }
-
-
public String getInstanceGroupUuid() {
return instanceGroupUuid;
}
-
-
-
- public void setInstanceGroupUuid(String instanceGroupUuid) {
- this.instanceGroupUuid = instanceGroupUuid;
- }
-
-
-
-
public String getInstanceGroupName() {
return instanceGroupName;
}
-
- public void setInstanceGroupName(String instanceGroupName) {
- this.instanceGroupName = instanceGroupName;
- }
-
-
public VirtualMachine.Type getType() {
return type;
}
-
-
-
- public void setType(VirtualMachine.Type type) {
- this.type = type;
- }
-
-
-
-
public State getState() {
return state;
}
-
- public void setState(State state) {
- this.state = state;
- }
-
-
public Date getCreated() {
return created;
}
-
- public void setCreated(Date created) {
- this.created = created;
- }
-
-
public Date getRemoved() {
return removed;
}
-
- public void setRemoved(Date removed) {
- this.removed = removed;
- }
-
-
public String getInstanceName() {
return instanceName;
}
-
- public void setInstanceName(String instanceName) {
- this.instanceName = instanceName;
- }
-
-
public long getGuestOSId() {
return guestOsId;
}
-
- public void setGuestOSId(long guestOSId) {
- this.guestOsId = guestOSId;
- }
-
-
public String getGuestOsUuid() {
return guestOsUuid;
}
-
-
-
- public void setGuestOsUuid(String guestOsUuid) {
- this.guestOsUuid = guestOsUuid;
- }
-
-
-
-
public HypervisorType getHypervisorType() {
return hypervisorType;
}
-
- public void setHypervisorType(HypervisorType hypervisorType) {
- this.hypervisorType = hypervisorType;
- }
-
-
public boolean isHaEnabled() {
return haEnabled;
}
-
- public void setHaEnabled(boolean haEnabled) {
- this.haEnabled = haEnabled;
- }
-
- public void setVncPassword(String vncPassword) {
- this.vncPassword = vncPassword;
- }
-
public String getVncPassword() {
return vncPassword;
}
-
-
-
public String getPrivateIpAddress() {
return privateIpAddress;
}
-
-
-
- public void setPrivateIpAddress(String privateIpAddress) {
- this.privateIpAddress = privateIpAddress;
- }
-
-
-
-
public String getPrivateMacAddress() {
return privateMacAddress;
}
-
-
-
- public void setPrivateMacAddress(String privateMacAddress) {
- this.privateMacAddress = privateMacAddress;
- }
-
-
-
-
public Long getLastHostId() {
return lastHostId;
}
-
-
-
- public void setLastHostId(Long lastHostId) {
- this.lastHostId = lastHostId;
- }
-
-
-
-
-
-
public Long getPodId() {
return podId;
}
-
-
-
- public void setPodId(Long podIdToDeployIn) {
- this.podId = podIdToDeployIn;
- }
-
-
-
-
public String getPodUuid() {
return podUuid;
}
-
-
-
- public void setPodUuid(String podUuid) {
- this.podUuid = podUuid;
- }
-
-
-
-
public long getDataCenterId() {
return dataCenterId;
}
-
-
-
- public void setDataCenterId(long dataCenterIdToDeployIn) {
- this.dataCenterId = dataCenterIdToDeployIn;
- }
-
-
public boolean limitCpuUse() {
return limitCpuUse;
}
- public void setLimitCpuUse(boolean value) {
- limitCpuUse = value;
- }
-
public boolean isDisplayVm() {
return displayVm;
}
- public void setDisplayVm(boolean displayVm) {
- this.displayVm = displayVm;
- }
-
public String getDataCenterUuid() {
return dataCenterUuid;
}
-
-
-
- public void setDataCenterUuid(String zoneUuid) {
- this.dataCenterUuid = zoneUuid;
- }
-
-
-
-
public String getDataCenterName() {
return dataCenterName;
}
-
- public void setDataCenterName(String zoneName) {
- this.dataCenterName = zoneName;
- }
-
-
public boolean isSecurityGroupEnabled() {
return securityGroupEnabled;
}
-
- public void setSecurityGroupEnabled(boolean securityGroupEnabled) {
- this.securityGroupEnabled = securityGroupEnabled;
- }
-
-
public Long getHostId() {
return hostId;
}
-
- public void setHostId(long hostId) {
- this.hostId = hostId;
- }
-
-
public String getHostUuid() {
return hostUuid;
}
-
-
-
- public void setHostUuid(String hostUuid) {
- this.hostUuid = hostUuid;
- }
-
-
-
-
public String getHostName() {
return hostName;
}
-
- public void setHostName(String hostName) {
- this.hostName = hostName;
- }
-
-
public long getTemplateId() {
return templateId;
}
-
- public void setTemplateId(long templateId) {
- this.templateId = templateId;
- }
-
-
-
public String getTemplateUuid() {
return templateUuid;
}
-
-
-
- public void setTemplateUuid(String templateUuid) {
- this.templateUuid = templateUuid;
- }
-
-
-
-
public String getTemplateName() {
return templateName;
}
-
- public void setTemplateName(String templateName) {
- this.templateName = templateName;
- }
-
-
public String getTemplateDisplayText() {
return templateDisplayText;
}
-
- public void setTemplateDisplayText(String templateDisplayText) {
- this.templateDisplayText = templateDisplayText;
- }
-
-
public boolean isPasswordEnabled() {
return passwordEnabled;
}
-
- public void setPasswordEnabled(boolean passwordEnabled) {
- this.passwordEnabled = passwordEnabled;
- }
-
-
public Long getIsoId() {
return isoId;
}
-
- public void setIsoId(long isoId) {
- this.isoId = isoId;
- }
-
-
public String getIsoUuid() {
return isoUuid;
}
-
-
-
- public void setIsoUuid(String isoUuid) {
- this.isoUuid = isoUuid;
- }
-
-
-
-
public String getIsoName() {
return isoName;
}
-
- public void setIsoName(String isoName) {
- this.isoName = isoName;
- }
-
-
public String getIsoDisplayText() {
return isoDisplayText;
}
- public void setIsoDisplayText(String isoDisplayText) {
- this.isoDisplayText = isoDisplayText;
+ public String getServiceOfferingUuid() {
+ return serviceOfferingUuid;
}
-
-
-
- public String getServiceOfferingUuid() {
- return serviceOfferingUuid;
- }
-
-
-
-
- public void setServiceOfferingUuid(String serviceOfferingUuid) {
- this.serviceOfferingUuid = serviceOfferingUuid;
- }
-
-
-
-
public String getServiceOfferingName() {
return serviceOfferingName;
}
-
- public void setServiceOfferingName(String serviceOfferingName) {
- this.serviceOfferingName = serviceOfferingName;
- }
-
-
public int getCpu() {
return cpu;
}
-
- public void setCpu(int cpu) {
- this.cpu = cpu;
- }
-
-
public int getSpeed() {
return speed;
}
-
- public void setSpeed(int speed) {
- this.speed = speed;
- }
-
-
public int getRamSize() {
return ramSize;
}
-
- public void setRamSize(int ramSize) {
- this.ramSize = ramSize;
- }
-
-
public long getPoolId() {
return poolId;
}
-
- public void setPoolId(long poolId) {
- this.poolId = poolId;
- }
-
-
public StoragePoolType getPoolType() {
return poolType;
}
-
- public void setPoolType(StoragePoolType poolType) {
- this.poolType = poolType;
- }
-
-
public long getVolume_id() {
return volume_id;
}
-
- public void setVolume_id(long volume_id) {
- this.volume_id = volume_id;
- }
-
-
public Long getVolumeDeviceId() {
return volumeDeviceId;
}
-
- public void setVolumeDeviceId(Long volumeDeviceId) {
- this.volumeDeviceId = volumeDeviceId;
- }
-
-
public Volume.Type getVolumeType() {
return volumeType;
}
-
- public void setVolumeType(Volume.Type volumeType) {
- this.volumeType = volumeType;
- }
-
-
public long getSecurityGroupId() {
return securityGroupId;
}
-
- public void setSecurityGroupId(long securityGroupId) {
- this.securityGroupId = securityGroupId;
- }
-
-
public String getSecurityGroupName() {
return securityGroupName;
}
-
- public void setSecurityGroupName(String securityGroupName) {
- this.securityGroupName = securityGroupName;
- }
-
-
public String getSecurityGroupDescription() {
return securityGroupDescription;
}
-
- public void setSecurityGroupDescription(String securityGroupDescription) {
- this.securityGroupDescription = securityGroupDescription;
- }
-
-
public long getVpcId() {
return vpcId;
}
-
-
- public void setVpcId(long vpcId) {
- this.vpcId = vpcId;
- }
-
-
-
-
public long getNicId() {
return nicId;
}
-
- public void setNicId(long nicId) {
- this.nicId = nicId;
- }
-
-
public boolean isDefaultNic() {
return isDefaultNic;
}
-
- public void setDefaultNic(boolean isDefaultNic) {
- this.isDefaultNic = isDefaultNic;
- }
-
-
public String getIpAddress() {
return ipAddress;
}
-
- public void setIpAddress(String ipAddress) {
- this.ipAddress = ipAddress;
- }
-
-
public String getGateway() {
return gateway;
}
-
- public void setGateway(String gateway) {
- this.gateway = gateway;
- }
-
-
public String getNetmask() {
return netmask;
}
-
- public void setNetmask(String netmask) {
- this.netmask = netmask;
- }
-
-
public String getMacAddress() {
return macAddress;
}
-
- public void setMacAddress(String macAddress) {
- this.macAddress = macAddress;
- }
-
-
public URI getBroadcastUri() {
return broadcastUri;
}
-
- public void setBroadcastUri(URI broadcastUri) {
- this.broadcastUri = broadcastUri;
- }
-
-
public URI getIsolationUri() {
return isolationUri;
}
-
- public void setIsolationUri(URI isolationUri) {
- this.isolationUri = isolationUri;
- }
-
-
public long getNetworkId() {
return networkId;
}
-
- public void setNetworkId(long networkId) {
- this.networkId = networkId;
- }
-
-
public String getNetworkName() {
return networkName;
}
-
- public void setNetworkName(String networkName) {
- this.networkName = networkName;
- }
-
-
public TrafficType getTrafficType() {
return trafficType;
}
-
- public void setTrafficType(TrafficType trafficType) {
- this.trafficType = trafficType;
- }
-
-
public GuestType getGuestType() {
return guestType;
}
-
- public void setGuestType(GuestType guestType) {
- this.guestType = guestType;
- }
-
-
public long getPublicIpId() {
return publicIpId;
}
-
-
-
- public void setPublicIpId(long publicIpId) {
- this.publicIpId = publicIpId;
- }
-
-
-
-
public String getPublicIpAddress() {
return publicIpAddress;
}
-
- public void setPublicIpAddress(String publicIpAddress) {
- this.publicIpAddress = publicIpAddress;
- }
-
-
-
public long getServiceOfferingId() {
return serviceOfferingId;
}
-
-
-
- public void setServiceOfferingId(long serviceOfferingId) {
- this.serviceOfferingId = serviceOfferingId;
- }
-
-
public Map<String, String> getDetails() {
return details;
}
@@ -1273,382 +734,116 @@ public class UserVmJoinVO extends BaseViewVO implements ControlledViewEntity {
return details != null ? details.get(name) : null;
}
- public void setDetail(String name, String value) {
- assert (details != null) : "Did you forget to load the details?";
-
- details.put(name, value);
- }
-
- public void setDetails(Map<String, String> details) {
- this.details = details;
- }
-
- public void setUserData(String userData) {
- this.userData = userData;
- }
-
public String getUserData() {
return userData;
}
-
-
public long getGuestOsId() {
return guestOsId;
}
-
-
-
- public void setGuestOsId(long guestOsId) {
- this.guestOsId = guestOsId;
- }
-
-
-
-
public long getProjectId() {
return projectId;
}
-
-
-
- public void setProjectId(long projectId) {
- this.projectId = projectId;
- }
-
-
-
-
@Override
public String getProjectUuid() {
return projectUuid;
}
-
-
-
- public void setProjectUuid(String projectUuid) {
- this.projectUuid = projectUuid;
- }
-
-
-
-
@Override
public String getProjectName() {
return projectName;
}
-
-
-
- public void setProjectName(String projectName) {
- this.projectName = projectName;
- }
-
-
-
-
public String getKeypairName() {
return keypairName;
}
-
-
-
- public void setKeypairName(String keypairName) {
- this.keypairName = keypairName;
- }
-
-
-
-
public long getTagId() {
return tagId;
}
-
-
-
- public void setTagId(long tagId) {
- this.tagId = tagId;
- }
-
-
-
-
public String getTagUuid() {
return tagUuid;
}
-
-
-
- public void setTagUuid(String tagUuid) {
- this.tagUuid = tagUuid;
- }
-
-
-
-
public String getTagKey() {
return tagKey;
}
-
-
-
- public void setTagKey(String tagKey) {
- this.tagKey = tagKey;
- }
-
-
-
-
public String getTagValue() {
return tagValue;
}
-
-
-
- public void setTagValue(String tagValue) {
- this.tagValue = tagValue;
- }
-
-
-
-
public long getTagDomainId() {
return tagDomainId;
}
-
-
-
- public void setTagDomainId(long tagDomainId) {
- this.tagDomainId = tagDomainId;
- }
-
-
-
-
public long getTagAccountId() {
return tagAccountId;
}
-
-
-
- public void setTagAccountId(long tagAccountId) {
- this.tagAccountId = tagAccountId;
- }
-
-
-
-
public long getTagResourceId() {
return tagResourceId;
}
-
-
-
- public void setTagResourceId(long tagResourceId) {
- this.tagResourceId = tagResourceId;
- }
-
-
-
-
public String getTagResourceUuid() {
return tagResourceUuid;
}
-
-
-
- public void setTagResourceUuid(String tagResourceUuid) {
- this.tagResourceUuid = tagResourceUuid;
- }
-
-
-
-
public TaggedResourceType getTagResourceType() {
return tagResourceType;
}
-
-
-
- public void setTagResourceType(TaggedResourceType tagResourceType) {
- this.tagResourceType = tagResourceType;
- }
-
-
-
-
public String getTagCustomer() {
return tagCustomer;
}
-
-
-
- public void setTagCustomer(String tagCustomer) {
- this.tagCustomer = tagCustomer;
- }
-
-
-
-
public boolean isLimitCpuUse() {
return limitCpuUse;
}
-
-
public String getPoolUuid() {
return poolUuid;
}
-
-
-
- public void setPoolUuid(String poolUuid) {
- this.poolUuid = poolUuid;
- }
-
-
-
-
public String getVolume_uuid() {
return volume_uuid;
}
-
-
-
- public void setVolume_uuid(String volume_uuid) {
- this.volume_uuid = volume_uuid;
- }
-
-
-
-
public String getSecurityGroupUuid() {
return securityGroupUuid;
}
-
-
-
- public void setSecurityGroupUuid(String securityGroupUuid) {
- this.securityGroupUuid = securityGroupUuid;
- }
-
-
-
-
public String getVpcUuid() {
return vpcUuid;
}
-
-
-
- public void setVpcUuid(String vpcUuid) {
- this.vpcUuid = vpcUuid;
- }
-
-
-
-
public String getNicUuid() {
return nicUuid;
}
-
-
-
- public void setNicUuid(String nicUuid) {
- this.nicUuid = nicUuid;
- }
-
-
-
-
public String getNetworkUuid() {
return networkUuid;
}
-
-
-
- public void setNetworkUuid(String networkUuid) {
- this.networkUuid = networkUuid;
- }
-
-
-
-
public String getPublicIpUuid() {
return publicIpUuid;
}
-
-
-
- public void setPublicIpUuid(String publicIpUuid) {
- this.publicIpUuid = publicIpUuid;
- }
-
-
-
public Long getJobId() {
return jobId;
}
-
-
-
- public void setJobId(Long jobId) {
- this.jobId = jobId;
- }
-
-
-
-
public String getJobUuid() {
return jobUuid;
}
-
-
-
- public void setJobUuid(String jobUuid) {
- this.jobUuid = jobUuid;
- }
-
-
-
-
public int getJobStatus() {
return jobStatus;
}
-
-
-
- public void setJobStatus(int jobStatus) {
- this.jobStatus = jobStatus;
- }
-
-
-
transient String toString;
@Override
public String toString() {
@@ -1658,64 +853,30 @@ public class UserVmJoinVO extends BaseViewVO implements ControlledViewEntity {
return toString;
}
- public String getIp6Address() {
- return ip6Address;
- }
-
-
-
-
- public void setIp6Address(String ip6Address) {
- this.ip6Address = ip6Address;
- }
-
-
-
-
- public String getIp6Gateway() {
- return ip6Gateway;
- }
-
-
-
-
- public void setIp6Gateway(String ip6Gateway) {
- this.ip6Gateway = ip6Gateway;
- }
-
-
-
-
- public String getIp6Cidr() {
- return ip6Cidr;
- }
-
-
-
+ public String getIp6Address() {
+ return ip6Address;
+ }
- public void setIp6Cidr(String ip6Cidr) {
- this.ip6Cidr = ip6Cidr;
- }
+ public String getIp6Gateway() {
+ return ip6Gateway;
+ }
+ public String getIp6Cidr() {
+ return ip6Cidr;
+ }
public long getAffinityGroupId() {
return affinityGroupId;
}
-
-
public String getAffinityGroupUuid() {
return affinityGroupUuid;
}
-
-
public String getAffinityGroupName() {
return affinityGroupName;
}
-
-
public String getAffinityGroupDescription() {
return affinityGroupDescription;
}
@@ -1723,10 +884,4 @@ public class UserVmJoinVO extends BaseViewVO implements ControlledViewEntity {
public Boolean isDynamicallyScalable() {
return isDynamicallyScalable;
}
-
- public void setDynamicallyScalable(boolean isDynamicallyScalable) {
- this.isDynamicallyScalable = isDynamicallyScalable;
- }
-
-
}
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e514da2c/server/src/com/cloud/api/query/vo/VolumeJoinVO.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/query/vo/VolumeJoinVO.java b/server/src/com/cloud/api/query/vo/VolumeJoinVO.java
index 9fe9fd1..066ed94 100644
--- a/server/src/com/cloud/api/query/vo/VolumeJoinVO.java
+++ b/server/src/com/cloud/api/query/vo/VolumeJoinVO.java
@@ -280,134 +280,67 @@ public class VolumeJoinVO extends BaseViewVO implements ControlledViewEntity {
@Override
- public void setId(long id) {
- this.id = id;
- }
-
-
-
- @Override
public String getUuid() {
return uuid;
}
- public void setUuid(String uuid) {
- this.uuid = uuid;
- }
-
-
-
public String getName() {
return name;
}
- public void setName(String name) {
- this.name = name;
- }
-
-
-
public Long getDeviceId() {
return deviceId;
}
- public void setDeviceId(Long deviceId) {
- this.deviceId = deviceId;
- }
-
-
-
public Volume.Type getVolumeType() {
return volumeType;
}
- public void setVolumeType(Volume.Type volumeType) {
- this.volumeType = volumeType;
- }
-
-
-
public long getSize() {
return size;
}
- public void setSize(long size) {
- this.size = size;
- }
-
public Long getMinIops() {
return minIops;
}
- public void setMinIops(Long minIops) {
- this.minIops = minIops;
- }
-
public Long getMaxIops() {
return maxIops;
}
- public void setMaxIops(Long maxIops) {
- this.maxIops = maxIops;
- }
-
public Volume.State getState() {
return state;
}
- public void setState(Volume.State state) {
- this.state = state;
- }
-
-
-
public Date getCreated() {
return created;
}
- public void setCreated(Date created) {
- this.created = created;
- }
-
-
-
public Date getAttached() {
return attached;
}
- public void setAttached(Date attached) {
- this.attached = attached;
- }
-
-
-
public Date getRemoved() {
return removed;
}
- public void setRemoved(Date removed) {
- this.removed = removed;
- }
-
-
-
@Override
public long getAccountId() {
return accountId;
@@ -415,19 +348,10 @@ public class VolumeJoinVO extends BaseViewVO implements ControlledViewEntity {
- public void setAccountId(long accountId) {
- this.accountId = accountId;
- }
-
-
public boolean isDisplayVolume() {
return displayVolume;
}
- public void setDisplayVolume(boolean displayVolume) {
- this.displayVolume = displayVolume;
- }
-
@Override
public String getAccountUuid() {
return accountUuid;
@@ -435,12 +359,6 @@ public class VolumeJoinVO extends BaseViewVO implements ControlledViewEntity {
- public void setAccountUuid(String accountUuid) {
- this.accountUuid = accountUuid;
- }
-
-
-
@Override
public String getAccountName() {
return accountName;
@@ -448,12 +366,6 @@ public class VolumeJoinVO extends BaseViewVO implements ControlledViewEntity {
- public void setAccountName(String accountName) {
- this.accountName = accountName;
- }
-
-
-
@Override
public short getAccountType() {
return accountType;
@@ -461,12 +373,6 @@ public class VolumeJoinVO extends BaseViewVO implements ControlledViewEntity {
- public void setAccountType(short accountType) {
- this.accountType = accountType;
- }
-
-
-
@Override
public long getDomainId() {
return domainId;
@@ -474,12 +380,6 @@ public class VolumeJoinVO extends BaseViewVO implements ControlledViewEntity {
- public void setDomainId(long domainId) {
- this.domainId = domainId;
- }
-
-
-
@Override
public String getDomainUuid() {
return domainUuid;
@@ -487,12 +387,6 @@ public class VolumeJoinVO extends BaseViewVO implements ControlledViewEntity {
- public void setDomainUuid(String domainUuid) {
- this.domainUuid = domainUuid;
- }
-
-
-
@Override
public String getDomainName() {
return domainName;
@@ -500,12 +394,6 @@ public class VolumeJoinVO extends BaseViewVO implements ControlledViewEntity {
- public void setDomainName(String domainName) {
- this.domainName = domainName;
- }
-
-
-
@Override
public String getDomainPath() {
return domainPath;
@@ -513,24 +401,12 @@ public class VolumeJoinVO extends BaseViewVO implements ControlledViewEntity {
- public void setDomainPath(String domainPath) {
- this.domainPath = domainPath;
- }
-
-
-
public long getProjectId() {
return projectId;
}
- public void setProjectId(long projectId) {
- this.projectId = projectId;
- }
-
-
-
@Override
public String getProjectUuid() {
return projectUuid;
@@ -538,12 +414,6 @@ public class VolumeJoinVO extends BaseViewVO implements ControlledViewEntity {
- public void setProjectUuid(String projectUuid) {
- this.projectUuid = projectUuid;
- }
-
-
-
@Override
public String getProjectName() {
return projectName;
@@ -551,245 +421,122 @@ public class VolumeJoinVO extends BaseViewVO implements ControlledViewEntity {
- public void setProjectName(String projectName) {
- this.projectName = projectName;
- }
-
-
-
public long getVmId() {
return vmId;
}
- public void setVmId(long vmId) {
- this.vmId = vmId;
- }
-
-
-
public String getVmUuid() {
return vmUuid;
}
- public void setVmUuid(String vmUuid) {
- this.vmUuid = vmUuid;
- }
-
-
-
public String getVmName() {
return vmName;
}
- public void setVmName(String vmName) {
- this.vmName = vmName;
- }
-
-
-
public String getVmDisplayName() {
return vmDisplayName;
}
- public void setVmDisplayName(String vmDisplayName) {
- this.vmDisplayName = vmDisplayName;
- }
-
-
-
public VirtualMachine.State getVmState() {
return vmState;
}
- public void setVmState(VirtualMachine.State vmState) {
- this.vmState = vmState;
- }
-
-
-
public VirtualMachine.Type getVmType() {
return vmType;
}
- public void setVmType(VirtualMachine.Type vmType) {
- this.vmType = vmType;
- }
-
public long getVolumeStoreSize() {
return volumeStoreSize;
}
- public void setVolumeStoreSize(long volumeStoreSize) {
- this.volumeStoreSize = volumeStoreSize;
- }
-
public Date getCreatedOnStore() {
return createdOnStore;
}
- public void setCreatedOnStore(Date createdOnStore) {
- this.createdOnStore = createdOnStore;
- }
-
public Storage.ImageFormat getFormat() {
return format;
}
- public void setFormat(Storage.ImageFormat format) {
- this.format = format;
- }
-
-
-
public int getDownloadPercent() {
return downloadPercent;
}
- public void setDownloadPercent(int downloadPercent) {
- this.downloadPercent = downloadPercent;
- }
-
-
-
public Status getDownloadState() {
return downloadState;
}
- public void setDownloadState(Status downloadState) {
- this.downloadState = downloadState;
- }
-
-
-
public String getErrorString() {
return errorString;
}
- public void setErrorString(String errorString) {
- this.errorString = errorString;
- }
-
-
-
public HypervisorType getHypervisorType() {
return hypervisorType;
}
- public void setHypervisorType(HypervisorType hypervisorType) {
- this.hypervisorType = hypervisorType;
- }
-
-
-
public long getDiskOfferingId() {
return diskOfferingId;
}
- public void setDiskOfferingId(long diskOfferingId) {
- this.diskOfferingId = diskOfferingId;
- }
-
-
-
public String getDiskOfferingUuid() {
return diskOfferingUuid;
}
- public void setDiskOfferingUuid(String diskOfferingUuid) {
- this.diskOfferingUuid = diskOfferingUuid;
- }
-
-
-
public String getDiskOfferingName() {
return diskOfferingName;
}
- public void setDiskOfferingName(String diskOfferingName) {
- this.diskOfferingName = diskOfferingName;
- }
-
-
-
public String getDiskOfferingDisplayText() {
return diskOfferingDisplayText;
}
- public void setDiskOfferingDisplayText(String diskOfferingDisplayText) {
- this.diskOfferingDisplayText = diskOfferingDisplayText;
- }
-
-
-
public boolean isUseLocalStorage() {
return useLocalStorage;
}
- public void setUseLocalStorage(boolean useLocalStorage) {
- this.useLocalStorage = useLocalStorage;
- }
-
-
- public void setBytesReadRate(Long bytesReadRate) {
- this.bytesReadRate = bytesReadRate;
- }
-
public Long getBytesReadRate() {
return bytesReadRate;
}
- public void setBytesWriteRate(Long bytesWriteRate) {
- this.bytesWriteRate = bytesWriteRate;
- }
-
public Long getBytesWriteRate() {
return bytesWriteRate;
}
- public void setIopsReadRate(Long iopsReadRate) {
- this.iopsReadRate = iopsReadRate;
- }
-
public Long getIopsReadRate() {
return iopsReadRate;
}
- public void setIopsWriteRate(Long iopsWriteRate) {
- this.iopsWriteRate = iopsWriteRate;
- }
-
public Long getIopsWriteRate() {
return iopsWriteRate;
}
@@ -800,306 +547,153 @@ public class VolumeJoinVO extends BaseViewVO implements ControlledViewEntity {
- public void setPoolId(long poolId) {
- this.poolId = poolId;
- }
-
-
-
public String getPoolUuid() {
return poolUuid;
}
- public void setPoolUuid(String poolUuid) {
- this.poolUuid = poolUuid;
- }
-
-
-
public String getPoolName() {
return poolName;
}
- public void setPoolName(String poolName) {
- this.poolName = poolName;
- }
-
-
-
public long getTemplateId() {
return templateId;
}
- public void setTemplateId(long templateId) {
- this.templateId = templateId;
- }
-
-
-
public String getTemplateUuid() {
return templateUuid;
}
- public void setTemplateUuid(String templateUuid) {
- this.templateUuid = templateUuid;
- }
-
-
-
public boolean isExtractable() {
return extractable;
}
- public void setExtractable(boolean extractable) {
- this.extractable = extractable;
- }
-
-
-
public Storage.TemplateType getTemplateType() {
return templateType;
}
- public void setTemplateType(Storage.TemplateType templateType) {
- this.templateType = templateType;
- }
-
-
-
public Long getJobId() {
return jobId;
}
- public void setJobId(Long jobId) {
- this.jobId = jobId;
- }
-
-
-
public String getJobUuid() {
return jobUuid;
}
- public void setJobUuid(String jobUuid) {
- this.jobUuid = jobUuid;
- }
-
-
-
public int getJobStatus() {
return jobStatus;
}
- public void setJobStatus(int jobStatus) {
- this.jobStatus = jobStatus;
- }
-
-
-
public long getTagId() {
return tagId;
}
- public void setTagId(long tagId) {
- this.tagId = tagId;
- }
-
-
-
public String getTagUuid() {
return tagUuid;
}
- public void setTagUuid(String tagUuid) {
- this.tagUuid = tagUuid;
- }
-
-
-
public String getTagKey() {
return tagKey;
}
- public void setTagKey(String tagKey) {
- this.tagKey = tagKey;
- }
-
-
-
public String getTagValue() {
return tagValue;
}
- public void setTagValue(String tagValue) {
- this.tagValue = tagValue;
- }
-
-
-
public long getTagDomainId() {
return tagDomainId;
}
- public void setTagDomainId(long tagDomainId) {
- this.tagDomainId = tagDomainId;
- }
-
-
-
public long getTagAccountId() {
return tagAccountId;
}
- public void setTagAccountId(long tagAccountId) {
- this.tagAccountId = tagAccountId;
- }
-
-
-
public long getTagResourceId() {
return tagResourceId;
}
- public void setTagResourceId(long tagResourceId) {
- this.tagResourceId = tagResourceId;
- }
-
-
-
public String getTagResourceUuid() {
return tagResourceUuid;
}
- public void setTagResourceUuid(String tagResourceUuid) {
- this.tagResourceUuid = tagResourceUuid;
- }
-
-
-
public TaggedResourceType getTagResourceType() {
return tagResourceType;
}
- public void setTagResourceType(TaggedResourceType tagResourceType) {
- this.tagResourceType = tagResourceType;
- }
-
-
-
public String getTagCustomer() {
return tagCustomer;
}
- public void setTagCustomer(String tagCustomer) {
- this.tagCustomer = tagCustomer;
- }
-
-
-
public long getDataCenterId() {
return dataCenterId;
}
- public void setDataCenterId(long dataCenterId) {
- this.dataCenterId = dataCenterId;
- }
-
-
-
public String getDataCenterUuid() {
return dataCenterUuid;
}
- public void setDataCenterUuid(String dataCenterUuid) {
- this.dataCenterUuid = dataCenterUuid;
- }
-
-
-
public String getDataCenterName() {
return dataCenterName;
}
- public void setDataCenterName(String dataCenterName) {
- this.dataCenterName = dataCenterName;
- }
-
-
-
public long getPodId() {
return podId;
}
- public void setPodId(long podId) {
- this.podId = podId;
- }
-
-
-
public boolean isSystemUse() {
return systemUse;
}
- public void setSystemUse(boolean systemUse) {
- this.systemUse = systemUse;
- }
-
-
public String getPath() {
return path;
}
- public void setPath(String path) {
- this.path = path;
- }
-
}