org.rhq.core.domain.resource.group.composite
Class ResourceGroupComposite

java.lang.Object
  extended by org.rhq.core.domain.resource.group.composite.ResourceGroupComposite
All Implemented Interfaces:
Serializable

public class ResourceGroupComposite
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
ResourceGroupComposite()
           
ResourceGroupComposite(Long explicitCount, Double explicitAvailability, Long implicitCount, Double implicitAvailability, ResourceGroup resourceGroup)
           
ResourceGroupComposite(Long explicitCount, Double explicitAvailability, Long implicitCount, Double implicitAvailability, ResourceGroup resourceGroup, Number measure, Number inventory, Number control, Number alert, Number event, Number configureRead, Number configureWrite, Number content, Number createChildResources, Number deleteResources, Number drift)
           
ResourceGroupComposite(Long explicitCount, Double explicitAvailability, Long implicitCount, Double implicitAvailability, ResourceGroup resourceGroup, ResourceFacets facets)
           
ResourceGroupComposite(Long explicitCount, Double explicitAvailability, Long implicitCount, Double implicitAvailability, ResourceGroup resourceGroup, ResourceFacets facets, ResourcePermission permissions)
           
ResourceGroupComposite(Long explicitUp, Long explicitDown, Long implicitUp, Long implicitDown, ResourceGroup resourceGroup)
           
 
Method Summary
 GroupCategory getCategory()
           
 Double getExplicitAvail()
           
 long getExplicitDown()
           
 String getExplicitFormatted()
          Deprecated. 
 long getExplicitUp()
           
 String getGroupQueryString()
          Returns a query string snippet that can be passed to group URLs that reference this specific group.
 Double getImplicitAvail()
           
 long getImplicitDown()
           
 String getImplicitFormatted()
          Deprecated. 
 long getImplicitUp()
           
 ResourceFacets getResourceFacets()
           
 ResourceGroup getResourceGroup()
           
 ResourcePermission getResourcePermission()
           
 void setResourceFacets(ResourceFacets facets)
           
 void setResourcePermission(ResourcePermission resourcePermission)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceGroupComposite

public ResourceGroupComposite()

ResourceGroupComposite

public ResourceGroupComposite(Long explicitUp,
                              Long explicitDown,
                              Long implicitUp,
                              Long implicitDown,
                              ResourceGroup resourceGroup)

ResourceGroupComposite

public ResourceGroupComposite(Long explicitCount,
                              Double explicitAvailability,
                              Long implicitCount,
                              Double implicitAvailability,
                              ResourceGroup resourceGroup)

ResourceGroupComposite

public ResourceGroupComposite(Long explicitCount,
                              Double explicitAvailability,
                              Long implicitCount,
                              Double implicitAvailability,
                              ResourceGroup resourceGroup,
                              Number measure,
                              Number inventory,
                              Number control,
                              Number alert,
                              Number event,
                              Number configureRead,
                              Number configureWrite,
                              Number content,
                              Number createChildResources,
                              Number deleteResources,
                              Number drift)

ResourceGroupComposite

public ResourceGroupComposite(Long explicitCount,
                              Double explicitAvailability,
                              Long implicitCount,
                              Double implicitAvailability,
                              ResourceGroup resourceGroup,
                              ResourceFacets facets)

ResourceGroupComposite

public ResourceGroupComposite(Long explicitCount,
                              Double explicitAvailability,
                              Long implicitCount,
                              Double implicitAvailability,
                              ResourceGroup resourceGroup,
                              ResourceFacets facets,
                              ResourcePermission permissions)
Method Detail

getImplicitAvail

public Double getImplicitAvail()

getExplicitAvail

public Double getExplicitAvail()

getResourceGroup

public ResourceGroup getResourceGroup()

getCategory

public GroupCategory getCategory()

getImplicitUp

public long getImplicitUp()

getImplicitDown

public long getImplicitDown()

getExplicitUp

public long getExplicitUp()

getExplicitDown

public long getExplicitDown()

getExplicitFormatted

@Deprecated
public String getExplicitFormatted()
Deprecated. 


getImplicitFormatted

@Deprecated
public String getImplicitFormatted()
Deprecated. 


setResourceFacets

public void setResourceFacets(ResourceFacets facets)

getResourceFacets

public ResourceFacets getResourceFacets()

getResourcePermission

public ResourcePermission getResourcePermission()

setResourcePermission

public void setResourcePermission(ResourcePermission resourcePermission)

getGroupQueryString

public String getGroupQueryString()
Returns a query string snippet that can be passed to group URLs that reference this specific group. Note that the returned string does not include the "?" itself.

Returns:
query string snippet that can appear after the "?" in group URLs.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.