net.java.dev.vcc.spi
Class AbstractDatacenterResourceGroup

java.lang.Object
  extended by net.java.dev.vcc.spi.AbstractManagedObject<DatacenterResourceGroup>
      extended by net.java.dev.vcc.spi.AbstractDatacenterResourceGroup
All Implemented Interfaces:
DatacenterResourceGroup, ManagedObject<DatacenterResourceGroup>

public abstract class AbstractDatacenterResourceGroup
extends AbstractManagedObject<DatacenterResourceGroup>
implements DatacenterResourceGroup

The base class from which all Service Provider Implementations map a resource group from.


Constructor Summary
protected AbstractDatacenterResourceGroup(ManagedObjectId<DatacenterResourceGroup> resourceGroupManagedObjectId)
           
 
Method Summary
 java.util.Set<Computer> getAllComputers()
          Gets all the virtual computers that are contained in this container including children.
 java.util.Set<ComputerTemplate> getAllComputerTemplates()
          Gets all the computer templates that are contained in this container including children.
 java.util.Set<DatacenterResourceGroup> getAllDatacenterResourceGroups()
          Gets all the DatacenterResourceGroups that are contained in this container including children.
 java.util.Set<HostResourceGroup> getAllHostResourceGroups()
          Gets all the HostResourceGroups that are contained in this container including children.
 java.util.Set<Host> getAllHosts()
          Gets all the hosts available for running virtual computers that are contained in this container including children.
 java.util.Set<ComputerTemplate> getComputerTemplates()
          Gets all the computer templates that are contained in this container.
 java.util.Set<DatacenterResourceGroup> getDatacenterResourceGroups()
          Gets alll the DatacenterResourceGroups that are contained in this container.
 java.util.Set<Host> getHosts()
          Gets all the hosts available for running virtual computers that are contained in this container.
 
Methods inherited from class net.java.dev.vcc.spi.AbstractManagedObject
equals, getDescription, getId, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.java.dev.vcc.api.ManagedObject
execute, getCommands, getDescription, getId, getName
 

Constructor Detail

AbstractDatacenterResourceGroup

protected AbstractDatacenterResourceGroup(ManagedObjectId<DatacenterResourceGroup> resourceGroupManagedObjectId)
Method Detail

getComputerTemplates

public java.util.Set<ComputerTemplate> getComputerTemplates()
Gets all the computer templates that are contained in this container.

Returns:
the computer templates that are contained in this container.

getHosts

public java.util.Set<Host> getHosts()
Gets all the hosts available for running virtual computers that are contained in this container.

Returns:
the hosts available for running virtual computers that are contained in this container.

getDatacenterResourceGroups

public java.util.Set<DatacenterResourceGroup> getDatacenterResourceGroups()
Gets alll the DatacenterResourceGroups that are contained in this container.

Returns:
the DatacenterResourceGroups that are contained in this container.

getAllComputers

public java.util.Set<Computer> getAllComputers()
Gets all the virtual computers that are contained in this container including children.

Returns:
the virtual computers that are contained in this container including children.

getAllComputerTemplates

public java.util.Set<ComputerTemplate> getAllComputerTemplates()
Gets all the computer templates that are contained in this container including children.

Returns:
the computer templates that are contained in this container including children.

getAllHosts

public java.util.Set<Host> getAllHosts()
Gets all the hosts available for running virtual computers that are contained in this container including children.

Returns:
the hosts available for running virtual computers that are contained in this container including children.

getAllHostResourceGroups

public java.util.Set<HostResourceGroup> getAllHostResourceGroups()
Gets all the HostResourceGroups that are contained in this container including children.

Returns:
the HostResourceGroups that are contained in this container including children.

getAllDatacenterResourceGroups

public java.util.Set<DatacenterResourceGroup> getAllDatacenterResourceGroups()
Gets all the DatacenterResourceGroups that are contained in this container including children.

Returns:
the DatacenterResourceGroups that are contained in this container including children.


Copyright © 2009. All Rights Reserved.