Juan Hernandez has uploaded a new change for review. Change subject: sdk: Sort class members alphabetically ......................................................................
sdk: Sort class members alphabetically This patch is the result of regenerating the SDK after the change to the generator to have class members sorted alphabetically. Change-Id: Ie3f34aaa47ed1624bfd5fd1283bc08237a8e44e6 Signed-off-by: Juan Hernandez <[email protected]> --- M ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/Api.java M ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Cluster.java M ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/DataCenter.java M ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/DataCenterCluster.java M ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/DataCenterNetwork.java M ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Group.java M ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Host.java M ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/InstanceType.java M ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Network.java M ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/SchedulingPolicy.java M ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/StorageDomain.java M ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/StorageDomainDisk.java M ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Template.java M ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/User.java M ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/VM.java M ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/VMSnapshot.java 16 files changed, 863 insertions(+), 863 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine-sdk-java refs/changes/71/37771/1 diff --git a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/Api.java b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/Api.java index 001e618..63fa833 100644 --- a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/Api.java +++ b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/Api.java @@ -47,34 +47,34 @@ private volatile API entryPoint = null; private final Object LOCK = new Object(); - private volatile Users users; - private volatile Jobs jobs; - private volatile Events events; - private volatile Domains domains; - private volatile VnicProfiles vnicProfiles; private volatile Bookmarks bookmarks; + private volatile Capabilities capabilities; + private volatile Clusters clusters; + private volatile CpuProfiles cpuProfiles; private volatile DataCenters dataCenters; - private volatile Hosts hosts; - private volatile Permissions permissions; - private volatile VMs vMs; - private volatile StorageDomains storageDomains; + private volatile DiskProfiles diskProfiles; + private volatile Disks disks; + private volatile Domains domains; + private volatile Events events; private volatile Groups groups; + private volatile Hosts hosts; private volatile InstanceTypes instanceTypes; + private volatile Jobs jobs; + private volatile MacPools macPools; private volatile Networks networks; + private volatile OperatingSystemInfos operatingSystemInfos; + private volatile Permissions permissions; + private volatile Roles roles; + private volatile SchedulingPolicies schedulingPolicies; + private volatile SchedulingPolicyUnits schedulingPolicyUnits; + private volatile StorageConnections storageConnections; + private volatile StorageDomains storageDomains; private volatile Tags tags; private volatile Templates templates; - private volatile SchedulingPolicyUnits schedulingPolicyUnits; - private volatile SchedulingPolicies schedulingPolicies; - private volatile OperatingSystemInfos operatingSystemInfos; - private volatile Disks disks; - private volatile Clusters clusters; - private volatile Roles roles; - private volatile MacPools macPools; - private volatile StorageConnections storageConnections; + private volatile Users users; private volatile VmPools vmPools; - private volatile DiskProfiles diskProfiles; - private volatile Capabilities capabilities; - private volatile CpuProfiles cpuProfiles; + private volatile VMs vMs; + private volatile VnicProfiles vnicProfiles; /** @@ -738,91 +738,6 @@ } /** - * Gets the value of the Users property. - * - * @return - * {@link Users } - * - */ - public Users getUsers() { - if (this.users == null) { - synchronized (this.LOCK) { - if (this.users == null) { - this.users = new Users(proxy); - } - } - } - return users; - } - /** - * Gets the value of the Jobs property. - * - * @return - * {@link Jobs } - * - */ - public Jobs getJobs() { - if (this.jobs == null) { - synchronized (this.LOCK) { - if (this.jobs == null) { - this.jobs = new Jobs(proxy); - } - } - } - return jobs; - } - /** - * Gets the value of the Events property. - * - * @return - * {@link Events } - * - */ - public Events getEvents() { - if (this.events == null) { - synchronized (this.LOCK) { - if (this.events == null) { - this.events = new Events(proxy); - } - } - } - return events; - } - /** - * Gets the value of the Domains property. - * - * @return - * {@link Domains } - * - */ - public Domains getDomains() { - if (this.domains == null) { - synchronized (this.LOCK) { - if (this.domains == null) { - this.domains = new Domains(proxy); - } - } - } - return domains; - } - /** - * Gets the value of the VnicProfiles property. - * - * @return - * {@link VnicProfiles } - * - */ - public VnicProfiles getVnicProfiles() { - if (this.vnicProfiles == null) { - synchronized (this.LOCK) { - if (this.vnicProfiles == null) { - this.vnicProfiles = new VnicProfiles(proxy); - } - } - } - return vnicProfiles; - } - /** * Gets the value of the Bookmarks property. * * @return @@ -838,6 +753,57 @@ } } return bookmarks; + } + /** + * Gets the value of the Capabilities property. + * + * @return + * {@link Capabilities } + * + */ + public Capabilities getCapabilities() { + if (this.capabilities == null) { + synchronized (this.LOCK) { + if (this.capabilities == null) { + this.capabilities = new Capabilities(proxy); + } + } + } + return capabilities; + } + /** + * Gets the value of the Clusters property. + * + * @return + * {@link Clusters } + * + */ + public Clusters getClusters() { + if (this.clusters == null) { + synchronized (this.LOCK) { + if (this.clusters == null) { + this.clusters = new Clusters(proxy); + } + } + } + return clusters; + } + /** + * Gets the value of the CpuProfiles property. + * + * @return + * {@link CpuProfiles } + * + */ + public CpuProfiles getCpuProfiles() { + if (this.cpuProfiles == null) { + synchronized (this.LOCK) { + if (this.cpuProfiles == null) { + this.cpuProfiles = new CpuProfiles(proxy); + } + } + } + return cpuProfiles; } /** * Gets the value of the DataCenters property. @@ -857,72 +823,72 @@ return dataCenters; } /** - * Gets the value of the Hosts property. + * Gets the value of the DiskProfiles property. * * @return - * {@link Hosts } + * {@link DiskProfiles } * */ - public Hosts getHosts() { - if (this.hosts == null) { + public DiskProfiles getDiskProfiles() { + if (this.diskProfiles == null) { synchronized (this.LOCK) { - if (this.hosts == null) { - this.hosts = new Hosts(proxy); + if (this.diskProfiles == null) { + this.diskProfiles = new DiskProfiles(proxy); } } } - return hosts; + return diskProfiles; } /** - * Gets the value of the Permissions property. + * Gets the value of the Disks property. * * @return - * {@link Permissions } + * {@link Disks } * */ - public Permissions getPermissions() { - if (this.permissions == null) { + public Disks getDisks() { + if (this.disks == null) { synchronized (this.LOCK) { - if (this.permissions == null) { - this.permissions = new Permissions(proxy); + if (this.disks == null) { + this.disks = new Disks(proxy); } } } - return permissions; + return disks; } /** - * Gets the value of the VMs property. + * Gets the value of the Domains property. * * @return - * {@link VMs } + * {@link Domains } * */ - public VMs getVMs() { - if (this.vMs == null) { + public Domains getDomains() { + if (this.domains == null) { synchronized (this.LOCK) { - if (this.vMs == null) { - this.vMs = new VMs(proxy); + if (this.domains == null) { + this.domains = new Domains(proxy); } } } - return vMs; + return domains; } /** - * Gets the value of the StorageDomains property. + * Gets the value of the Events property. * * @return - * {@link StorageDomains } + * {@link Events } * */ - public StorageDomains getStorageDomains() { - if (this.storageDomains == null) { + public Events getEvents() { + if (this.events == null) { synchronized (this.LOCK) { - if (this.storageDomains == null) { - this.storageDomains = new StorageDomains(proxy); + if (this.events == null) { + this.events = new Events(proxy); } } } - return storageDomains; + return events; } /** * Gets the value of the Groups property. @@ -942,6 +908,23 @@ return groups; } /** + * Gets the value of the Hosts property. + * + * @return + * {@link Hosts } + * + */ + public Hosts getHosts() { + if (this.hosts == null) { + synchronized (this.LOCK) { + if (this.hosts == null) { + this.hosts = new Hosts(proxy); + } + } + } + return hosts; + } + /** * Gets the value of the InstanceTypes property. * * @return @@ -959,6 +942,40 @@ return instanceTypes; } /** + * Gets the value of the Jobs property. + * + * @return + * {@link Jobs } + * + */ + public Jobs getJobs() { + if (this.jobs == null) { + synchronized (this.LOCK) { + if (this.jobs == null) { + this.jobs = new Jobs(proxy); + } + } + } + return jobs; + } + /** + * Gets the value of the MacPools property. + * + * @return + * {@link MacPools } + * + */ + public MacPools getMacPools() { + if (this.macPools == null) { + synchronized (this.LOCK) { + if (this.macPools == null) { + this.macPools = new MacPools(proxy); + } + } + } + return macPools; + } + /** * Gets the value of the Networks property. * * @return @@ -974,6 +991,125 @@ } } return networks; + } + /** + * Gets the value of the OperatingSystemInfos property. + * + * @return + * {@link OperatingSystemInfos } + * + */ + public OperatingSystemInfos getOperatingSystemInfos() { + if (this.operatingSystemInfos == null) { + synchronized (this.LOCK) { + if (this.operatingSystemInfos == null) { + this.operatingSystemInfos = new OperatingSystemInfos(proxy); + } + } + } + return operatingSystemInfos; + } + /** + * Gets the value of the Permissions property. + * + * @return + * {@link Permissions } + * + */ + public Permissions getPermissions() { + if (this.permissions == null) { + synchronized (this.LOCK) { + if (this.permissions == null) { + this.permissions = new Permissions(proxy); + } + } + } + return permissions; + } + /** + * Gets the value of the Roles property. + * + * @return + * {@link Roles } + * + */ + public Roles getRoles() { + if (this.roles == null) { + synchronized (this.LOCK) { + if (this.roles == null) { + this.roles = new Roles(proxy); + } + } + } + return roles; + } + /** + * Gets the value of the SchedulingPolicies property. + * + * @return + * {@link SchedulingPolicies } + * + */ + public SchedulingPolicies getSchedulingPolicies() { + if (this.schedulingPolicies == null) { + synchronized (this.LOCK) { + if (this.schedulingPolicies == null) { + this.schedulingPolicies = new SchedulingPolicies(proxy); + } + } + } + return schedulingPolicies; + } + /** + * Gets the value of the SchedulingPolicyUnits property. + * + * @return + * {@link SchedulingPolicyUnits } + * + */ + public SchedulingPolicyUnits getSchedulingPolicyUnits() { + if (this.schedulingPolicyUnits == null) { + synchronized (this.LOCK) { + if (this.schedulingPolicyUnits == null) { + this.schedulingPolicyUnits = new SchedulingPolicyUnits(proxy); + } + } + } + return schedulingPolicyUnits; + } + /** + * Gets the value of the StorageConnections property. + * + * @return + * {@link StorageConnections } + * + */ + public StorageConnections getStorageConnections() { + if (this.storageConnections == null) { + synchronized (this.LOCK) { + if (this.storageConnections == null) { + this.storageConnections = new StorageConnections(proxy); + } + } + } + return storageConnections; + } + /** + * Gets the value of the StorageDomains property. + * + * @return + * {@link StorageDomains } + * + */ + public StorageDomains getStorageDomains() { + if (this.storageDomains == null) { + synchronized (this.LOCK) { + if (this.storageDomains == null) { + this.storageDomains = new StorageDomains(proxy); + } + } + } + return storageDomains; } /** * Gets the value of the Tags property. @@ -1010,140 +1146,21 @@ return templates; } /** - * Gets the value of the SchedulingPolicyUnits property. + * Gets the value of the Users property. * * @return - * {@link SchedulingPolicyUnits } + * {@link Users } * */ - public SchedulingPolicyUnits getSchedulingPolicyUnits() { - if (this.schedulingPolicyUnits == null) { + public Users getUsers() { + if (this.users == null) { synchronized (this.LOCK) { - if (this.schedulingPolicyUnits == null) { - this.schedulingPolicyUnits = new SchedulingPolicyUnits(proxy); + if (this.users == null) { + this.users = new Users(proxy); } } } - return schedulingPolicyUnits; - } - /** - * Gets the value of the SchedulingPolicies property. - * - * @return - * {@link SchedulingPolicies } - * - */ - public SchedulingPolicies getSchedulingPolicies() { - if (this.schedulingPolicies == null) { - synchronized (this.LOCK) { - if (this.schedulingPolicies == null) { - this.schedulingPolicies = new SchedulingPolicies(proxy); - } - } - } - return schedulingPolicies; - } - /** - * Gets the value of the OperatingSystemInfos property. - * - * @return - * {@link OperatingSystemInfos } - * - */ - public OperatingSystemInfos getOperatingSystemInfos() { - if (this.operatingSystemInfos == null) { - synchronized (this.LOCK) { - if (this.operatingSystemInfos == null) { - this.operatingSystemInfos = new OperatingSystemInfos(proxy); - } - } - } - return operatingSystemInfos; - } - /** - * Gets the value of the Disks property. - * - * @return - * {@link Disks } - * - */ - public Disks getDisks() { - if (this.disks == null) { - synchronized (this.LOCK) { - if (this.disks == null) { - this.disks = new Disks(proxy); - } - } - } - return disks; - } - /** - * Gets the value of the Clusters property. - * - * @return - * {@link Clusters } - * - */ - public Clusters getClusters() { - if (this.clusters == null) { - synchronized (this.LOCK) { - if (this.clusters == null) { - this.clusters = new Clusters(proxy); - } - } - } - return clusters; - } - /** - * Gets the value of the Roles property. - * - * @return - * {@link Roles } - * - */ - public Roles getRoles() { - if (this.roles == null) { - synchronized (this.LOCK) { - if (this.roles == null) { - this.roles = new Roles(proxy); - } - } - } - return roles; - } - /** - * Gets the value of the MacPools property. - * - * @return - * {@link MacPools } - * - */ - public MacPools getMacPools() { - if (this.macPools == null) { - synchronized (this.LOCK) { - if (this.macPools == null) { - this.macPools = new MacPools(proxy); - } - } - } - return macPools; - } - /** - * Gets the value of the StorageConnections property. - * - * @return - * {@link StorageConnections } - * - */ - public StorageConnections getStorageConnections() { - if (this.storageConnections == null) { - synchronized (this.LOCK) { - if (this.storageConnections == null) { - this.storageConnections = new StorageConnections(proxy); - } - } - } - return storageConnections; + return users; } /** * Gets the value of the VmPools property. @@ -1163,58 +1180,83 @@ return vmPools; } /** - * Gets the value of the DiskProfiles property. + * Gets the value of the VMs property. * * @return - * {@link DiskProfiles } + * {@link VMs } * */ - public DiskProfiles getDiskProfiles() { - if (this.diskProfiles == null) { + public VMs getVMs() { + if (this.vMs == null) { synchronized (this.LOCK) { - if (this.diskProfiles == null) { - this.diskProfiles = new DiskProfiles(proxy); + if (this.vMs == null) { + this.vMs = new VMs(proxy); } } } - return diskProfiles; + return vMs; } /** - * Gets the value of the Capabilities property. + * Gets the value of the VnicProfiles property. * * @return - * {@link Capabilities } + * {@link VnicProfiles } * */ - public Capabilities getCapabilities() { - if (this.capabilities == null) { + public VnicProfiles getVnicProfiles() { + if (this.vnicProfiles == null) { synchronized (this.LOCK) { - if (this.capabilities == null) { - this.capabilities = new Capabilities(proxy); + if (this.vnicProfiles == null) { + this.vnicProfiles = new VnicProfiles(proxy); } } } - return capabilities; - } - /** - * Gets the value of the CpuProfiles property. - * - * @return - * {@link CpuProfiles } - * - */ - public CpuProfiles getCpuProfiles() { - if (this.cpuProfiles == null) { - synchronized (this.LOCK) { - if (this.cpuProfiles == null) { - this.cpuProfiles = new CpuProfiles(proxy); - } - } - } - return cpuProfiles; + return vnicProfiles; } + /** + * Gets the value of the Comment property. + * + * @return {@link java.lang.String } + * + * @throws ClientProtocolException + * Signals that HTTP/S protocol error has occurred. + * @throws ServerException + * Signals that an oVirt api error has occurred. + * @throws IOException + * Signals that an I/O exception of some sort has occurred. + * @throws UnsecuredConnectionAttemptError + * Signals that attempt of connecting to SSL secured site using HTTP protocol has occurred. + */ + public java.lang.String getComment() throws ClientProtocolException, ServerException, + UnsecuredConnectionAttemptError, IOException { + return getEntryPoint().getComment(); + } + /** + * Gets the value of the ProductInfo property. + * + * @return {@link org.ovirt.engine.sdk.entities.ProductInfo } + * + */ + public org.ovirt.engine.sdk.entities.ProductInfo getProductInfo() { + if (this.entryPoint != null) { + return this.entryPoint.getProductInfo(); + } + return null; + } + /** + * Gets the value of the SpecialObjects property. + * + * @return {@link org.ovirt.engine.sdk.entities.SpecialObjects } + * + */ + public org.ovirt.engine.sdk.entities.SpecialObjects getSpecialObjects() { + if (this.entryPoint != null) { + return this.entryPoint.getSpecialObjects(); + } + return null; + } /** * Gets the value of the Summary property. * @@ -1234,30 +1276,6 @@ return getEntryPoint().getSummary(); } /** - * Gets the value of the SpecialObjects property. - * - * @return {@link org.ovirt.engine.sdk.entities.SpecialObjects } - * - */ - public org.ovirt.engine.sdk.entities.SpecialObjects getSpecialObjects() { - if (this.entryPoint != null) { - return this.entryPoint.getSpecialObjects(); - } - return null; - } - /** - * Gets the value of the ProductInfo property. - * - * @return {@link org.ovirt.engine.sdk.entities.ProductInfo } - * - */ - public org.ovirt.engine.sdk.entities.ProductInfo getProductInfo() { - if (this.entryPoint != null) { - return this.entryPoint.getProductInfo(); - } - return null; - } - /** * Gets the value of the Time property. * * @return {@link javax.xml.datatype.XMLGregorianCalendar } @@ -1274,24 +1292,6 @@ public javax.xml.datatype.XMLGregorianCalendar getTime() throws ClientProtocolException, ServerException, UnsecuredConnectionAttemptError, IOException { return getEntryPoint().getTime(); - } - /** - * Gets the value of the Comment property. - * - * @return {@link java.lang.String } - * - * @throws ClientProtocolException - * Signals that HTTP/S protocol error has occurred. - * @throws ServerException - * Signals that an oVirt api error has occurred. - * @throws IOException - * Signals that an I/O exception of some sort has occurred. - * @throws UnsecuredConnectionAttemptError - * Signals that attempt of connecting to SSL secured site using HTTP protocol has occurred. - */ - public java.lang.String getComment() throws ClientProtocolException, ServerException, - UnsecuredConnectionAttemptError, IOException { - return getEntryPoint().getComment(); } } diff --git a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Cluster.java b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Cluster.java index 37c22b4..ef58183 100644 --- a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Cluster.java +++ b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Cluster.java @@ -45,11 +45,11 @@ private HttpProxyBroker proxy; private final Object LOCK = new Object(); - private volatile ClusterGlusterHooks clusterGlusterHooks; private volatile ClusterAffinityGroups clusterAffinityGroups; + private volatile ClusterCpuProfiles clusterCpuProfiles; + private volatile ClusterGlusterHooks clusterGlusterHooks; private volatile ClusterGlusterVolumes clusterGlusterVolumes; private volatile ClusterNetworks clusterNetworks; - private volatile ClusterCpuProfiles clusterCpuProfiles; private volatile ClusterPermissions clusterPermissions; @@ -68,22 +68,6 @@ } /** - * Gets the value of the ClusterGlusterHooks property. - * - * @return - * {@link ClusterGlusterHooks } - */ - public ClusterGlusterHooks getGlusterHooks() { - if (this.clusterGlusterHooks == null) { - synchronized (this.LOCK) { - if (this.clusterGlusterHooks == null) { - this.clusterGlusterHooks = new ClusterGlusterHooks(proxy, this); - } - } - } - return clusterGlusterHooks; - } - /** * Gets the value of the ClusterAffinityGroups property. * * @return @@ -98,6 +82,38 @@ } } return clusterAffinityGroups; + } + /** + * Gets the value of the ClusterCpuProfiles property. + * + * @return + * {@link ClusterCpuProfiles } + */ + public ClusterCpuProfiles getCpuProfiles() { + if (this.clusterCpuProfiles == null) { + synchronized (this.LOCK) { + if (this.clusterCpuProfiles == null) { + this.clusterCpuProfiles = new ClusterCpuProfiles(proxy, this); + } + } + } + return clusterCpuProfiles; + } + /** + * Gets the value of the ClusterGlusterHooks property. + * + * @return + * {@link ClusterGlusterHooks } + */ + public ClusterGlusterHooks getGlusterHooks() { + if (this.clusterGlusterHooks == null) { + synchronized (this.LOCK) { + if (this.clusterGlusterHooks == null) { + this.clusterGlusterHooks = new ClusterGlusterHooks(proxy, this); + } + } + } + return clusterGlusterHooks; } /** * Gets the value of the ClusterGlusterVolumes property. @@ -130,22 +146,6 @@ } } return clusterNetworks; - } - /** - * Gets the value of the ClusterCpuProfiles property. - * - * @return - * {@link ClusterCpuProfiles } - */ - public ClusterCpuProfiles getCpuProfiles() { - if (this.clusterCpuProfiles == null) { - synchronized (this.LOCK) { - if (this.clusterCpuProfiles == null) { - this.clusterCpuProfiles = new ClusterCpuProfiles(proxy, this); - } - } - } - return clusterCpuProfiles; } /** * Gets the value of the ClusterPermissions property. diff --git a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/DataCenter.java b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/DataCenter.java index a2be216..105c456 100644 --- a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/DataCenter.java +++ b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/DataCenter.java @@ -46,12 +46,12 @@ private final Object LOCK = new Object(); private volatile DataCenterClusters dataCenterClusters; + private volatile DataCenterIscsiBonds dataCenterIscsiBonds; + private volatile DataCenterNetworks dataCenterNetworks; private volatile DataCenterPermissions dataCenterPermissions; private volatile DataCenterQoSs dataCenterQoSs; - private volatile DataCenterNetworks dataCenterNetworks; - private volatile DataCenterIscsiBonds dataCenterIscsiBonds; - private volatile DataCenterStorageDomains dataCenterStorageDomains; private volatile DataCenterQuotas dataCenterQuotas; + private volatile DataCenterStorageDomains dataCenterStorageDomains; /** @@ -83,6 +83,38 @@ } } return dataCenterClusters; + } + /** + * Gets the value of the DataCenterIscsiBonds property. + * + * @return + * {@link DataCenterIscsiBonds } + */ + public DataCenterIscsiBonds getIscsiBonds() { + if (this.dataCenterIscsiBonds == null) { + synchronized (this.LOCK) { + if (this.dataCenterIscsiBonds == null) { + this.dataCenterIscsiBonds = new DataCenterIscsiBonds(proxy, this); + } + } + } + return dataCenterIscsiBonds; + } + /** + * Gets the value of the DataCenterNetworks property. + * + * @return + * {@link DataCenterNetworks } + */ + public DataCenterNetworks getNetworks() { + if (this.dataCenterNetworks == null) { + synchronized (this.LOCK) { + if (this.dataCenterNetworks == null) { + this.dataCenterNetworks = new DataCenterNetworks(proxy, this); + } + } + } + return dataCenterNetworks; } /** * Gets the value of the DataCenterPermissions property. @@ -117,36 +149,20 @@ return dataCenterQoSs; } /** - * Gets the value of the DataCenterNetworks property. + * Gets the value of the DataCenterQuotas property. * * @return - * {@link DataCenterNetworks } + * {@link DataCenterQuotas } */ - public DataCenterNetworks getNetworks() { - if (this.dataCenterNetworks == null) { + public DataCenterQuotas getQuotas() { + if (this.dataCenterQuotas == null) { synchronized (this.LOCK) { - if (this.dataCenterNetworks == null) { - this.dataCenterNetworks = new DataCenterNetworks(proxy, this); + if (this.dataCenterQuotas == null) { + this.dataCenterQuotas = new DataCenterQuotas(proxy, this); } } } - return dataCenterNetworks; - } - /** - * Gets the value of the DataCenterIscsiBonds property. - * - * @return - * {@link DataCenterIscsiBonds } - */ - public DataCenterIscsiBonds getIscsiBonds() { - if (this.dataCenterIscsiBonds == null) { - synchronized (this.LOCK) { - if (this.dataCenterIscsiBonds == null) { - this.dataCenterIscsiBonds = new DataCenterIscsiBonds(proxy, this); - } - } - } - return dataCenterIscsiBonds; + return dataCenterQuotas; } /** * Gets the value of the DataCenterStorageDomains property. @@ -163,22 +179,6 @@ } } return dataCenterStorageDomains; - } - /** - * Gets the value of the DataCenterQuotas property. - * - * @return - * {@link DataCenterQuotas } - */ - public DataCenterQuotas getQuotas() { - if (this.dataCenterQuotas == null) { - synchronized (this.LOCK) { - if (this.dataCenterQuotas == null) { - this.dataCenterQuotas = new DataCenterQuotas(proxy, this); - } - } - } - return dataCenterQuotas; } diff --git a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/DataCenterCluster.java b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/DataCenterCluster.java index 0ef15c4..332e662 100644 --- a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/DataCenterCluster.java +++ b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/DataCenterCluster.java @@ -45,12 +45,12 @@ private HttpProxyBroker proxy; private final Object LOCK = new Object(); - private volatile DataCenterClusterPermissions dataCenterClusterPermissions; - private volatile DataCenterClusterGlusterHooks dataCenterClusterGlusterHooks; private volatile DataCenterClusterAffinityGroups dataCenterClusterAffinityGroups; - private volatile DataCenterClusterGlusterVolumes dataCenterClusterGlusterVolumes; private volatile DataCenterClusterCpuProfiles dataCenterClusterCpuProfiles; + private volatile DataCenterClusterGlusterHooks dataCenterClusterGlusterHooks; + private volatile DataCenterClusterGlusterVolumes dataCenterClusterGlusterVolumes; private volatile DataCenterClusterNetworks dataCenterClusterNetworks; + private volatile DataCenterClusterPermissions dataCenterClusterPermissions; /** @@ -68,38 +68,6 @@ } /** - * Gets the value of the DataCenterClusterPermissions property. - * - * @return - * {@link DataCenterClusterPermissions } - */ - public DataCenterClusterPermissions getPermissions() { - if (this.dataCenterClusterPermissions == null) { - synchronized (this.LOCK) { - if (this.dataCenterClusterPermissions == null) { - this.dataCenterClusterPermissions = new DataCenterClusterPermissions(proxy, this); - } - } - } - return dataCenterClusterPermissions; - } - /** - * Gets the value of the DataCenterClusterGlusterHooks property. - * - * @return - * {@link DataCenterClusterGlusterHooks } - */ - public DataCenterClusterGlusterHooks getGlusterHooks() { - if (this.dataCenterClusterGlusterHooks == null) { - synchronized (this.LOCK) { - if (this.dataCenterClusterGlusterHooks == null) { - this.dataCenterClusterGlusterHooks = new DataCenterClusterGlusterHooks(proxy, this); - } - } - } - return dataCenterClusterGlusterHooks; - } - /** * Gets the value of the DataCenterClusterAffinityGroups property. * * @return @@ -114,22 +82,6 @@ } } return dataCenterClusterAffinityGroups; - } - /** - * Gets the value of the DataCenterClusterGlusterVolumes property. - * - * @return - * {@link DataCenterClusterGlusterVolumes } - */ - public DataCenterClusterGlusterVolumes getGlusterVolumes() { - if (this.dataCenterClusterGlusterVolumes == null) { - synchronized (this.LOCK) { - if (this.dataCenterClusterGlusterVolumes == null) { - this.dataCenterClusterGlusterVolumes = new DataCenterClusterGlusterVolumes(proxy, this); - } - } - } - return dataCenterClusterGlusterVolumes; } /** * Gets the value of the DataCenterClusterCpuProfiles property. @@ -148,6 +100,38 @@ return dataCenterClusterCpuProfiles; } /** + * Gets the value of the DataCenterClusterGlusterHooks property. + * + * @return + * {@link DataCenterClusterGlusterHooks } + */ + public DataCenterClusterGlusterHooks getGlusterHooks() { + if (this.dataCenterClusterGlusterHooks == null) { + synchronized (this.LOCK) { + if (this.dataCenterClusterGlusterHooks == null) { + this.dataCenterClusterGlusterHooks = new DataCenterClusterGlusterHooks(proxy, this); + } + } + } + return dataCenterClusterGlusterHooks; + } + /** + * Gets the value of the DataCenterClusterGlusterVolumes property. + * + * @return + * {@link DataCenterClusterGlusterVolumes } + */ + public DataCenterClusterGlusterVolumes getGlusterVolumes() { + if (this.dataCenterClusterGlusterVolumes == null) { + synchronized (this.LOCK) { + if (this.dataCenterClusterGlusterVolumes == null) { + this.dataCenterClusterGlusterVolumes = new DataCenterClusterGlusterVolumes(proxy, this); + } + } + } + return dataCenterClusterGlusterVolumes; + } + /** * Gets the value of the DataCenterClusterNetworks property. * * @return @@ -163,6 +147,22 @@ } return dataCenterClusterNetworks; } + /** + * Gets the value of the DataCenterClusterPermissions property. + * + * @return + * {@link DataCenterClusterPermissions } + */ + public DataCenterClusterPermissions getPermissions() { + if (this.dataCenterClusterPermissions == null) { + synchronized (this.LOCK) { + if (this.dataCenterClusterPermissions == null) { + this.dataCenterClusterPermissions = new DataCenterClusterPermissions(proxy, this); + } + } + } + return dataCenterClusterPermissions; + } /** diff --git a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/DataCenterNetwork.java b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/DataCenterNetwork.java index dd38e9a..b7c1ace 100644 --- a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/DataCenterNetwork.java +++ b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/DataCenterNetwork.java @@ -45,9 +45,9 @@ private HttpProxyBroker proxy; private final Object LOCK = new Object(); + private volatile DataCenterNetworkLabels dataCenterNetworkLabels; private volatile DataCenterNetworkPermissions dataCenterNetworkPermissions; private volatile DataCenterNetworkVnicProfiles dataCenterNetworkVnicProfiles; - private volatile DataCenterNetworkLabels dataCenterNetworkLabels; /** @@ -64,6 +64,22 @@ return proxy; } + /** + * Gets the value of the DataCenterNetworkLabels property. + * + * @return + * {@link DataCenterNetworkLabels } + */ + public DataCenterNetworkLabels getLabels() { + if (this.dataCenterNetworkLabels == null) { + synchronized (this.LOCK) { + if (this.dataCenterNetworkLabels == null) { + this.dataCenterNetworkLabels = new DataCenterNetworkLabels(proxy, this); + } + } + } + return dataCenterNetworkLabels; + } /** * Gets the value of the DataCenterNetworkPermissions property. * @@ -95,22 +111,6 @@ } } return dataCenterNetworkVnicProfiles; - } - /** - * Gets the value of the DataCenterNetworkLabels property. - * - * @return - * {@link DataCenterNetworkLabels } - */ - public DataCenterNetworkLabels getLabels() { - if (this.dataCenterNetworkLabels == null) { - synchronized (this.LOCK) { - if (this.dataCenterNetworkLabels == null) { - this.dataCenterNetworkLabels = new DataCenterNetworkLabels(proxy, this); - } - } - } - return dataCenterNetworkLabels; } diff --git a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Group.java b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Group.java index c8a5fe2..73f4c36 100644 --- a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Group.java +++ b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Group.java @@ -45,8 +45,8 @@ private HttpProxyBroker proxy; private final Object LOCK = new Object(); - private volatile GroupRoles groupRoles; private volatile GroupPermissions groupPermissions; + private volatile GroupRoles groupRoles; private volatile GroupTags groupTags; @@ -65,22 +65,6 @@ } /** - * Gets the value of the GroupRoles property. - * - * @return - * {@link GroupRoles } - */ - public GroupRoles getRoles() { - if (this.groupRoles == null) { - synchronized (this.LOCK) { - if (this.groupRoles == null) { - this.groupRoles = new GroupRoles(proxy, this); - } - } - } - return groupRoles; - } - /** * Gets the value of the GroupPermissions property. * * @return @@ -97,6 +81,22 @@ return groupPermissions; } /** + * Gets the value of the GroupRoles property. + * + * @return + * {@link GroupRoles } + */ + public GroupRoles getRoles() { + if (this.groupRoles == null) { + synchronized (this.LOCK) { + if (this.groupRoles == null) { + this.groupRoles = new GroupRoles(proxy, this); + } + } + } + return groupRoles; + } + /** * Gets the value of the GroupTags property. * * @return diff --git a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Host.java b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Host.java index dbaed62..10a77b0 100644 --- a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Host.java +++ b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Host.java @@ -47,10 +47,10 @@ private volatile HostHooks hostHooks; private volatile HostNICs hostNICs; - private volatile HostTags hostTags; + private volatile HostNumaNodes hostNumaNodes; private volatile HostPermissions hostPermissions; private volatile HostStatistics hostStatistics; - private volatile HostNumaNodes hostNumaNodes; + private volatile HostTags hostTags; /** @@ -100,20 +100,20 @@ return hostNICs; } /** - * Gets the value of the HostTags property. + * Gets the value of the HostNumaNodes property. * * @return - * {@link HostTags } + * {@link HostNumaNodes } */ - public HostTags getTags() { - if (this.hostTags == null) { + public HostNumaNodes getNumaNodes() { + if (this.hostNumaNodes == null) { synchronized (this.LOCK) { - if (this.hostTags == null) { - this.hostTags = new HostTags(proxy, this); + if (this.hostNumaNodes == null) { + this.hostNumaNodes = new HostNumaNodes(proxy, this); } } } - return hostTags; + return hostNumaNodes; } /** * Gets the value of the HostPermissions property. @@ -148,20 +148,20 @@ return hostStatistics; } /** - * Gets the value of the HostNumaNodes property. + * Gets the value of the HostTags property. * * @return - * {@link HostNumaNodes } + * {@link HostTags } */ - public HostNumaNodes getNumaNodes() { - if (this.hostNumaNodes == null) { + public HostTags getTags() { + if (this.hostTags == null) { synchronized (this.LOCK) { - if (this.hostNumaNodes == null) { - this.hostNumaNodes = new HostNumaNodes(proxy, this); + if (this.hostTags == null) { + this.hostTags = new HostTags(proxy, this); } } } - return hostNumaNodes; + return hostTags; } diff --git a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/InstanceType.java b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/InstanceType.java index 0e781e0..309c206 100644 --- a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/InstanceType.java +++ b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/InstanceType.java @@ -45,8 +45,8 @@ private HttpProxyBroker proxy; private final Object LOCK = new Object(); - private volatile InstanceTypeWatchDogs instanceTypeWatchDogs; private volatile InstanceTypeNICs instanceTypeNICs; + private volatile InstanceTypeWatchDogs instanceTypeWatchDogs; /** @@ -64,22 +64,6 @@ } /** - * Gets the value of the InstanceTypeWatchDogs property. - * - * @return - * {@link InstanceTypeWatchDogs } - */ - public InstanceTypeWatchDogs getWatchDogs() { - if (this.instanceTypeWatchDogs == null) { - synchronized (this.LOCK) { - if (this.instanceTypeWatchDogs == null) { - this.instanceTypeWatchDogs = new InstanceTypeWatchDogs(proxy, this); - } - } - } - return instanceTypeWatchDogs; - } - /** * Gets the value of the InstanceTypeNICs property. * * @return @@ -95,6 +79,22 @@ } return instanceTypeNICs; } + /** + * Gets the value of the InstanceTypeWatchDogs property. + * + * @return + * {@link InstanceTypeWatchDogs } + */ + public InstanceTypeWatchDogs getWatchDogs() { + if (this.instanceTypeWatchDogs == null) { + synchronized (this.LOCK) { + if (this.instanceTypeWatchDogs == null) { + this.instanceTypeWatchDogs = new InstanceTypeWatchDogs(proxy, this); + } + } + } + return instanceTypeWatchDogs; + } /** diff --git a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Network.java b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Network.java index 50b9068..6684369 100644 --- a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Network.java +++ b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Network.java @@ -45,8 +45,8 @@ private HttpProxyBroker proxy; private final Object LOCK = new Object(); - private volatile NetworkPermissions networkPermissions; private volatile NetworkLabels networkLabels; + private volatile NetworkPermissions networkPermissions; private volatile NetworkVnicProfiles networkVnicProfiles; @@ -65,22 +65,6 @@ } /** - * Gets the value of the NetworkPermissions property. - * - * @return - * {@link NetworkPermissions } - */ - public NetworkPermissions getPermissions() { - if (this.networkPermissions == null) { - synchronized (this.LOCK) { - if (this.networkPermissions == null) { - this.networkPermissions = new NetworkPermissions(proxy, this); - } - } - } - return networkPermissions; - } - /** * Gets the value of the NetworkLabels property. * * @return @@ -97,6 +81,22 @@ return networkLabels; } /** + * Gets the value of the NetworkPermissions property. + * + * @return + * {@link NetworkPermissions } + */ + public NetworkPermissions getPermissions() { + if (this.networkPermissions == null) { + synchronized (this.LOCK) { + if (this.networkPermissions == null) { + this.networkPermissions = new NetworkPermissions(proxy, this); + } + } + } + return networkPermissions; + } + /** * Gets the value of the NetworkVnicProfiles property. * * @return diff --git a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/SchedulingPolicy.java b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/SchedulingPolicy.java index ed155e7..2a61ec7 100644 --- a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/SchedulingPolicy.java +++ b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/SchedulingPolicy.java @@ -45,9 +45,9 @@ private HttpProxyBroker proxy; private final Object LOCK = new Object(); - private volatile SchedulingPolicyWeights schedulingPolicyWeights; private volatile SchedulingPolicyBalances schedulingPolicyBalances; private volatile SchedulingPolicyFilters schedulingPolicyFilters; + private volatile SchedulingPolicyWeights schedulingPolicyWeights; /** @@ -64,22 +64,6 @@ return proxy; } - /** - * Gets the value of the SchedulingPolicyWeights property. - * - * @return - * {@link SchedulingPolicyWeights } - */ - public SchedulingPolicyWeights getWeights() { - if (this.schedulingPolicyWeights == null) { - synchronized (this.LOCK) { - if (this.schedulingPolicyWeights == null) { - this.schedulingPolicyWeights = new SchedulingPolicyWeights(proxy, this); - } - } - } - return schedulingPolicyWeights; - } /** * Gets the value of the SchedulingPolicyBalances property. * @@ -112,6 +96,22 @@ } return schedulingPolicyFilters; } + /** + * Gets the value of the SchedulingPolicyWeights property. + * + * @return + * {@link SchedulingPolicyWeights } + */ + public SchedulingPolicyWeights getWeights() { + if (this.schedulingPolicyWeights == null) { + synchronized (this.LOCK) { + if (this.schedulingPolicyWeights == null) { + this.schedulingPolicyWeights = new SchedulingPolicyWeights(proxy, this); + } + } + } + return schedulingPolicyWeights; + } /** diff --git a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/StorageDomain.java b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/StorageDomain.java index 9a16408..6b10484 100644 --- a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/StorageDomain.java +++ b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/StorageDomain.java @@ -45,15 +45,15 @@ private HttpProxyBroker proxy; private final Object LOCK = new Object(); - private volatile StorageDomainPermissions storageDomainPermissions; - private volatile StorageDomainVMs storageDomainVMs; - private volatile StorageDomainTemplates storageDomainTemplates; - private volatile StorageDomainStorageConnections storageDomainStorageConnections; - private volatile StorageDomainDiskSnapshots storageDomainDiskSnapshots; - private volatile StorageDomainDisks storageDomainDisks; - private volatile StorageDomainImages storageDomainImages; - private volatile StorageDomainFiles storageDomainFiles; private volatile StorageDomainDiskProfiles storageDomainDiskProfiles; + private volatile StorageDomainDisks storageDomainDisks; + private volatile StorageDomainDiskSnapshots storageDomainDiskSnapshots; + private volatile StorageDomainFiles storageDomainFiles; + private volatile StorageDomainImages storageDomainImages; + private volatile StorageDomainPermissions storageDomainPermissions; + private volatile StorageDomainStorageConnections storageDomainStorageConnections; + private volatile StorageDomainTemplates storageDomainTemplates; + private volatile StorageDomainVMs storageDomainVMs; /** @@ -71,84 +71,20 @@ } /** - * Gets the value of the StorageDomainPermissions property. + * Gets the value of the StorageDomainDiskProfiles property. * * @return - * {@link StorageDomainPermissions } + * {@link StorageDomainDiskProfiles } */ - public StorageDomainPermissions getPermissions() { - if (this.storageDomainPermissions == null) { + public StorageDomainDiskProfiles getDiskProfiles() { + if (this.storageDomainDiskProfiles == null) { synchronized (this.LOCK) { - if (this.storageDomainPermissions == null) { - this.storageDomainPermissions = new StorageDomainPermissions(proxy, this); + if (this.storageDomainDiskProfiles == null) { + this.storageDomainDiskProfiles = new StorageDomainDiskProfiles(proxy, this); } } } - return storageDomainPermissions; - } - /** - * Gets the value of the StorageDomainVMs property. - * - * @return - * {@link StorageDomainVMs } - */ - public StorageDomainVMs getVMs() { - if (this.storageDomainVMs == null) { - synchronized (this.LOCK) { - if (this.storageDomainVMs == null) { - this.storageDomainVMs = new StorageDomainVMs(proxy, this); - } - } - } - return storageDomainVMs; - } - /** - * Gets the value of the StorageDomainTemplates property. - * - * @return - * {@link StorageDomainTemplates } - */ - public StorageDomainTemplates getTemplates() { - if (this.storageDomainTemplates == null) { - synchronized (this.LOCK) { - if (this.storageDomainTemplates == null) { - this.storageDomainTemplates = new StorageDomainTemplates(proxy, this); - } - } - } - return storageDomainTemplates; - } - /** - * Gets the value of the StorageDomainStorageConnections property. - * - * @return - * {@link StorageDomainStorageConnections } - */ - public StorageDomainStorageConnections getStorageConnections() { - if (this.storageDomainStorageConnections == null) { - synchronized (this.LOCK) { - if (this.storageDomainStorageConnections == null) { - this.storageDomainStorageConnections = new StorageDomainStorageConnections(proxy, this); - } - } - } - return storageDomainStorageConnections; - } - /** - * Gets the value of the StorageDomainDiskSnapshots property. - * - * @return - * {@link StorageDomainDiskSnapshots } - */ - public StorageDomainDiskSnapshots getDiskSnapshots() { - if (this.storageDomainDiskSnapshots == null) { - synchronized (this.LOCK) { - if (this.storageDomainDiskSnapshots == null) { - this.storageDomainDiskSnapshots = new StorageDomainDiskSnapshots(proxy, this); - } - } - } - return storageDomainDiskSnapshots; + return storageDomainDiskProfiles; } /** * Gets the value of the StorageDomainDisks property. @@ -167,20 +103,20 @@ return storageDomainDisks; } /** - * Gets the value of the StorageDomainImages property. + * Gets the value of the StorageDomainDiskSnapshots property. * * @return - * {@link StorageDomainImages } + * {@link StorageDomainDiskSnapshots } */ - public StorageDomainImages getImages() { - if (this.storageDomainImages == null) { + public StorageDomainDiskSnapshots getDiskSnapshots() { + if (this.storageDomainDiskSnapshots == null) { synchronized (this.LOCK) { - if (this.storageDomainImages == null) { - this.storageDomainImages = new StorageDomainImages(proxy, this); + if (this.storageDomainDiskSnapshots == null) { + this.storageDomainDiskSnapshots = new StorageDomainDiskSnapshots(proxy, this); } } } - return storageDomainImages; + return storageDomainDiskSnapshots; } /** * Gets the value of the StorageDomainFiles property. @@ -199,20 +135,84 @@ return storageDomainFiles; } /** - * Gets the value of the StorageDomainDiskProfiles property. + * Gets the value of the StorageDomainImages property. * * @return - * {@link StorageDomainDiskProfiles } + * {@link StorageDomainImages } */ - public StorageDomainDiskProfiles getDiskProfiles() { - if (this.storageDomainDiskProfiles == null) { + public StorageDomainImages getImages() { + if (this.storageDomainImages == null) { synchronized (this.LOCK) { - if (this.storageDomainDiskProfiles == null) { - this.storageDomainDiskProfiles = new StorageDomainDiskProfiles(proxy, this); + if (this.storageDomainImages == null) { + this.storageDomainImages = new StorageDomainImages(proxy, this); } } } - return storageDomainDiskProfiles; + return storageDomainImages; + } + /** + * Gets the value of the StorageDomainPermissions property. + * + * @return + * {@link StorageDomainPermissions } + */ + public StorageDomainPermissions getPermissions() { + if (this.storageDomainPermissions == null) { + synchronized (this.LOCK) { + if (this.storageDomainPermissions == null) { + this.storageDomainPermissions = new StorageDomainPermissions(proxy, this); + } + } + } + return storageDomainPermissions; + } + /** + * Gets the value of the StorageDomainStorageConnections property. + * + * @return + * {@link StorageDomainStorageConnections } + */ + public StorageDomainStorageConnections getStorageConnections() { + if (this.storageDomainStorageConnections == null) { + synchronized (this.LOCK) { + if (this.storageDomainStorageConnections == null) { + this.storageDomainStorageConnections = new StorageDomainStorageConnections(proxy, this); + } + } + } + return storageDomainStorageConnections; + } + /** + * Gets the value of the StorageDomainTemplates property. + * + * @return + * {@link StorageDomainTemplates } + */ + public StorageDomainTemplates getTemplates() { + if (this.storageDomainTemplates == null) { + synchronized (this.LOCK) { + if (this.storageDomainTemplates == null) { + this.storageDomainTemplates = new StorageDomainTemplates(proxy, this); + } + } + } + return storageDomainTemplates; + } + /** + * Gets the value of the StorageDomainVMs property. + * + * @return + * {@link StorageDomainVMs } + */ + public StorageDomainVMs getVMs() { + if (this.storageDomainVMs == null) { + synchronized (this.LOCK) { + if (this.storageDomainVMs == null) { + this.storageDomainVMs = new StorageDomainVMs(proxy, this); + } + } + } + return storageDomainVMs; } diff --git a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/StorageDomainDisk.java b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/StorageDomainDisk.java index e98b06b..9a9940d 100644 --- a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/StorageDomainDisk.java +++ b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/StorageDomainDisk.java @@ -45,8 +45,8 @@ private HttpProxyBroker proxy; private final Object LOCK = new Object(); - private volatile StorageDomainDiskStatistics storageDomainDiskStatistics; private volatile StorageDomainDiskPermissions storageDomainDiskPermissions; + private volatile StorageDomainDiskStatistics storageDomainDiskStatistics; /** @@ -64,22 +64,6 @@ } /** - * Gets the value of the StorageDomainDiskStatistics property. - * - * @return - * {@link StorageDomainDiskStatistics } - */ - public StorageDomainDiskStatistics getStatistics() { - if (this.storageDomainDiskStatistics == null) { - synchronized (this.LOCK) { - if (this.storageDomainDiskStatistics == null) { - this.storageDomainDiskStatistics = new StorageDomainDiskStatistics(proxy, this); - } - } - } - return storageDomainDiskStatistics; - } - /** * Gets the value of the StorageDomainDiskPermissions property. * * @return @@ -95,6 +79,22 @@ } return storageDomainDiskPermissions; } + /** + * Gets the value of the StorageDomainDiskStatistics property. + * + * @return + * {@link StorageDomainDiskStatistics } + */ + public StorageDomainDiskStatistics getStatistics() { + if (this.storageDomainDiskStatistics == null) { + synchronized (this.LOCK) { + if (this.storageDomainDiskStatistics == null) { + this.storageDomainDiskStatistics = new StorageDomainDiskStatistics(proxy, this); + } + } + } + return storageDomainDiskStatistics; + } /** diff --git a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Template.java b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Template.java index b73efe3..20e406f 100644 --- a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Template.java +++ b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Template.java @@ -45,12 +45,12 @@ private HttpProxyBroker proxy; private final Object LOCK = new Object(); - private volatile TemplateWatchDogs templateWatchDogs; - private volatile TemplateTags templateTags; private volatile TemplateCdRoms templateCdRoms; + private volatile TemplateDisks templateDisks; private volatile TemplateNICs templateNICs; private volatile TemplatePermissions templatePermissions; - private volatile TemplateDisks templateDisks; + private volatile TemplateTags templateTags; + private volatile TemplateWatchDogs templateWatchDogs; /** @@ -68,38 +68,6 @@ } /** - * Gets the value of the TemplateWatchDogs property. - * - * @return - * {@link TemplateWatchDogs } - */ - public TemplateWatchDogs getWatchDogs() { - if (this.templateWatchDogs == null) { - synchronized (this.LOCK) { - if (this.templateWatchDogs == null) { - this.templateWatchDogs = new TemplateWatchDogs(proxy, this); - } - } - } - return templateWatchDogs; - } - /** - * Gets the value of the TemplateTags property. - * - * @return - * {@link TemplateTags } - */ - public TemplateTags getTags() { - if (this.templateTags == null) { - synchronized (this.LOCK) { - if (this.templateTags == null) { - this.templateTags = new TemplateTags(proxy, this); - } - } - } - return templateTags; - } - /** * Gets the value of the TemplateCdRoms property. * * @return @@ -114,6 +82,22 @@ } } return templateCdRoms; + } + /** + * Gets the value of the TemplateDisks property. + * + * @return + * {@link TemplateDisks } + */ + public TemplateDisks getDisks() { + if (this.templateDisks == null) { + synchronized (this.LOCK) { + if (this.templateDisks == null) { + this.templateDisks = new TemplateDisks(proxy, this); + } + } + } + return templateDisks; } /** * Gets the value of the TemplateNICs property. @@ -148,20 +132,36 @@ return templatePermissions; } /** - * Gets the value of the TemplateDisks property. + * Gets the value of the TemplateTags property. * * @return - * {@link TemplateDisks } + * {@link TemplateTags } */ - public TemplateDisks getDisks() { - if (this.templateDisks == null) { + public TemplateTags getTags() { + if (this.templateTags == null) { synchronized (this.LOCK) { - if (this.templateDisks == null) { - this.templateDisks = new TemplateDisks(proxy, this); + if (this.templateTags == null) { + this.templateTags = new TemplateTags(proxy, this); } } } - return templateDisks; + return templateTags; + } + /** + * Gets the value of the TemplateWatchDogs property. + * + * @return + * {@link TemplateWatchDogs } + */ + public TemplateWatchDogs getWatchDogs() { + if (this.templateWatchDogs == null) { + synchronized (this.LOCK) { + if (this.templateWatchDogs == null) { + this.templateWatchDogs = new TemplateWatchDogs(proxy, this); + } + } + } + return templateWatchDogs; } diff --git a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/User.java b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/User.java index 062ace9..896bedf 100644 --- a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/User.java +++ b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/User.java @@ -45,9 +45,9 @@ private HttpProxyBroker proxy; private final Object LOCK = new Object(); + private volatile UserPermissions userPermissions; private volatile UserRoles userRoles; private volatile UserTags userTags; - private volatile UserPermissions userPermissions; /** @@ -64,6 +64,22 @@ return proxy; } + /** + * Gets the value of the UserPermissions property. + * + * @return + * {@link UserPermissions } + */ + public UserPermissions getPermissions() { + if (this.userPermissions == null) { + synchronized (this.LOCK) { + if (this.userPermissions == null) { + this.userPermissions = new UserPermissions(proxy, this); + } + } + } + return userPermissions; + } /** * Gets the value of the UserRoles property. * @@ -95,22 +111,6 @@ } } return userTags; - } - /** - * Gets the value of the UserPermissions property. - * - * @return - * {@link UserPermissions } - */ - public UserPermissions getPermissions() { - if (this.userPermissions == null) { - synchronized (this.LOCK) { - if (this.userPermissions == null) { - this.userPermissions = new UserPermissions(proxy, this); - } - } - } - return userPermissions; } diff --git a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/VM.java b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/VM.java index 21ea053..ad79d96 100644 --- a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/VM.java +++ b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/VM.java @@ -45,18 +45,18 @@ private HttpProxyBroker proxy; private final Object LOCK = new Object(); - private volatile VMPermissions vMPermissions; - private volatile VMReportedDevices vMReportedDevices; - private volatile VMVirtualNumaNodes vMVirtualNumaNodes; - private volatile VMTags vMTags; - private volatile VMSnapshots vMSnapshots; - private volatile VMStatistics vMStatistics; private volatile VMApplications vMApplications; - private volatile VMWatchDogs vMWatchDogs; + private volatile VMCdRoms vMCdRoms; private volatile VMDisks vMDisks; private volatile VMNICs vMNICs; + private volatile VMPermissions vMPermissions; + private volatile VMReportedDevices vMReportedDevices; private volatile VMSessions vMSessions; - private volatile VMCdRoms vMCdRoms; + private volatile VMSnapshots vMSnapshots; + private volatile VMStatistics vMStatistics; + private volatile VMTags vMTags; + private volatile VMVirtualNumaNodes vMVirtualNumaNodes; + private volatile VMWatchDogs vMWatchDogs; /** @@ -74,102 +74,6 @@ } /** - * Gets the value of the VMPermissions property. - * - * @return - * {@link VMPermissions } - */ - public VMPermissions getPermissions() { - if (this.vMPermissions == null) { - synchronized (this.LOCK) { - if (this.vMPermissions == null) { - this.vMPermissions = new VMPermissions(proxy, this); - } - } - } - return vMPermissions; - } - /** - * Gets the value of the VMReportedDevices property. - * - * @return - * {@link VMReportedDevices } - */ - public VMReportedDevices getReportedDevices() { - if (this.vMReportedDevices == null) { - synchronized (this.LOCK) { - if (this.vMReportedDevices == null) { - this.vMReportedDevices = new VMReportedDevices(proxy, this); - } - } - } - return vMReportedDevices; - } - /** - * Gets the value of the VMVirtualNumaNodes property. - * - * @return - * {@link VMVirtualNumaNodes } - */ - public VMVirtualNumaNodes getVirtualNumaNodes() { - if (this.vMVirtualNumaNodes == null) { - synchronized (this.LOCK) { - if (this.vMVirtualNumaNodes == null) { - this.vMVirtualNumaNodes = new VMVirtualNumaNodes(proxy, this); - } - } - } - return vMVirtualNumaNodes; - } - /** - * Gets the value of the VMTags property. - * - * @return - * {@link VMTags } - */ - public VMTags getTags() { - if (this.vMTags == null) { - synchronized (this.LOCK) { - if (this.vMTags == null) { - this.vMTags = new VMTags(proxy, this); - } - } - } - return vMTags; - } - /** - * Gets the value of the VMSnapshots property. - * - * @return - * {@link VMSnapshots } - */ - public VMSnapshots getSnapshots() { - if (this.vMSnapshots == null) { - synchronized (this.LOCK) { - if (this.vMSnapshots == null) { - this.vMSnapshots = new VMSnapshots(proxy, this); - } - } - } - return vMSnapshots; - } - /** - * Gets the value of the VMStatistics property. - * - * @return - * {@link VMStatistics } - */ - public VMStatistics getStatistics() { - if (this.vMStatistics == null) { - synchronized (this.LOCK) { - if (this.vMStatistics == null) { - this.vMStatistics = new VMStatistics(proxy, this); - } - } - } - return vMStatistics; - } - /** * Gets the value of the VMApplications property. * * @return @@ -186,20 +90,20 @@ return vMApplications; } /** - * Gets the value of the VMWatchDogs property. + * Gets the value of the VMCdRoms property. * * @return - * {@link VMWatchDogs } + * {@link VMCdRoms } */ - public VMWatchDogs getWatchDogs() { - if (this.vMWatchDogs == null) { + public VMCdRoms getCdRoms() { + if (this.vMCdRoms == null) { synchronized (this.LOCK) { - if (this.vMWatchDogs == null) { - this.vMWatchDogs = new VMWatchDogs(proxy, this); + if (this.vMCdRoms == null) { + this.vMCdRoms = new VMCdRoms(proxy, this); } } } - return vMWatchDogs; + return vMCdRoms; } /** * Gets the value of the VMDisks property. @@ -234,6 +138,38 @@ return vMNICs; } /** + * Gets the value of the VMPermissions property. + * + * @return + * {@link VMPermissions } + */ + public VMPermissions getPermissions() { + if (this.vMPermissions == null) { + synchronized (this.LOCK) { + if (this.vMPermissions == null) { + this.vMPermissions = new VMPermissions(proxy, this); + } + } + } + return vMPermissions; + } + /** + * Gets the value of the VMReportedDevices property. + * + * @return + * {@link VMReportedDevices } + */ + public VMReportedDevices getReportedDevices() { + if (this.vMReportedDevices == null) { + synchronized (this.LOCK) { + if (this.vMReportedDevices == null) { + this.vMReportedDevices = new VMReportedDevices(proxy, this); + } + } + } + return vMReportedDevices; + } + /** * Gets the value of the VMSessions property. * * @return @@ -250,20 +186,84 @@ return vMSessions; } /** - * Gets the value of the VMCdRoms property. + * Gets the value of the VMSnapshots property. * * @return - * {@link VMCdRoms } + * {@link VMSnapshots } */ - public VMCdRoms getCdRoms() { - if (this.vMCdRoms == null) { + public VMSnapshots getSnapshots() { + if (this.vMSnapshots == null) { synchronized (this.LOCK) { - if (this.vMCdRoms == null) { - this.vMCdRoms = new VMCdRoms(proxy, this); + if (this.vMSnapshots == null) { + this.vMSnapshots = new VMSnapshots(proxy, this); } } } - return vMCdRoms; + return vMSnapshots; + } + /** + * Gets the value of the VMStatistics property. + * + * @return + * {@link VMStatistics } + */ + public VMStatistics getStatistics() { + if (this.vMStatistics == null) { + synchronized (this.LOCK) { + if (this.vMStatistics == null) { + this.vMStatistics = new VMStatistics(proxy, this); + } + } + } + return vMStatistics; + } + /** + * Gets the value of the VMTags property. + * + * @return + * {@link VMTags } + */ + public VMTags getTags() { + if (this.vMTags == null) { + synchronized (this.LOCK) { + if (this.vMTags == null) { + this.vMTags = new VMTags(proxy, this); + } + } + } + return vMTags; + } + /** + * Gets the value of the VMVirtualNumaNodes property. + * + * @return + * {@link VMVirtualNumaNodes } + */ + public VMVirtualNumaNodes getVirtualNumaNodes() { + if (this.vMVirtualNumaNodes == null) { + synchronized (this.LOCK) { + if (this.vMVirtualNumaNodes == null) { + this.vMVirtualNumaNodes = new VMVirtualNumaNodes(proxy, this); + } + } + } + return vMVirtualNumaNodes; + } + /** + * Gets the value of the VMWatchDogs property. + * + * @return + * {@link VMWatchDogs } + */ + public VMWatchDogs getWatchDogs() { + if (this.vMWatchDogs == null) { + synchronized (this.LOCK) { + if (this.vMWatchDogs == null) { + this.vMWatchDogs = new VMWatchDogs(proxy, this); + } + } + } + return vMWatchDogs; } diff --git a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/VMSnapshot.java b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/VMSnapshot.java index 3d50b85..e75de3d 100644 --- a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/VMSnapshot.java +++ b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/VMSnapshot.java @@ -45,9 +45,9 @@ private HttpProxyBroker proxy; private final Object LOCK = new Object(); - private volatile VMSnapshotNics vMSnapshotNics; - private volatile VMSnapshotDisks vMSnapshotDisks; private volatile VMSnapshotCdRoms vMSnapshotCdRoms; + private volatile VMSnapshotDisks vMSnapshotDisks; + private volatile VMSnapshotNics vMSnapshotNics; /** @@ -65,20 +65,20 @@ } /** - * Gets the value of the VMSnapshotNics property. + * Gets the value of the VMSnapshotCdRoms property. * * @return - * {@link VMSnapshotNics } + * {@link VMSnapshotCdRoms } */ - public VMSnapshotNics getNics() { - if (this.vMSnapshotNics == null) { + public VMSnapshotCdRoms getCdRoms() { + if (this.vMSnapshotCdRoms == null) { synchronized (this.LOCK) { - if (this.vMSnapshotNics == null) { - this.vMSnapshotNics = new VMSnapshotNics(proxy, this); + if (this.vMSnapshotCdRoms == null) { + this.vMSnapshotCdRoms = new VMSnapshotCdRoms(proxy, this); } } } - return vMSnapshotNics; + return vMSnapshotCdRoms; } /** * Gets the value of the VMSnapshotDisks property. @@ -97,20 +97,20 @@ return vMSnapshotDisks; } /** - * Gets the value of the VMSnapshotCdRoms property. + * Gets the value of the VMSnapshotNics property. * * @return - * {@link VMSnapshotCdRoms } + * {@link VMSnapshotNics } */ - public VMSnapshotCdRoms getCdRoms() { - if (this.vMSnapshotCdRoms == null) { + public VMSnapshotNics getNics() { + if (this.vMSnapshotNics == null) { synchronized (this.LOCK) { - if (this.vMSnapshotCdRoms == null) { - this.vMSnapshotCdRoms = new VMSnapshotCdRoms(proxy, this); + if (this.vMSnapshotNics == null) { + this.vMSnapshotNics = new VMSnapshotNics(proxy, this); } } } - return vMSnapshotCdRoms; + return vMSnapshotNics; } -- To view, visit http://gerrit.ovirt.org/37771 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie3f34aaa47ed1624bfd5fd1283bc08237a8e44e6 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine-sdk-java Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
