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

java.lang.Object
  extended by org.rhq.core.domain.resource.group.composite.AutoGroupComposite

public class AutoGroupComposite
extends Object

Maps a set of child resources or child subcategories as their summary information (counts and availability). Used for child summaries views.


Constructor Summary
AutoGroupComposite(AutoGroupComposite other)
           
AutoGroupComposite(Double availability, ResourceSubCategory subcategory, long memberCount)
           
AutoGroupComposite(Double availability, ResourceType resourceType, long memberCount)
           
 
Method Summary
 Double getAvailability()
           
 int getDepth()
           
 long getMemberCount()
           
 List<Resource> getResources()
           
 ResourceType getResourceType()
           
 ResourceSubCategory getSubcategory()
           
 boolean isMainResource()
           
 void setDepth(int depth)
           
 void setMainResource(boolean mainResource)
           
 void setResources(List<Resource> resources)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AutoGroupComposite

public AutoGroupComposite(AutoGroupComposite other)

AutoGroupComposite

public AutoGroupComposite(Double availability,
                          ResourceType resourceType,
                          long memberCount)

AutoGroupComposite

public AutoGroupComposite(Double availability,
                          ResourceSubCategory subcategory,
                          long memberCount)
Method Detail

getAvailability

public Double getAvailability()

getResourceType

public ResourceType getResourceType()

getMemberCount

public long getMemberCount()

setResources

public void setResources(List<Resource> resources)

getSubcategory

public ResourceSubCategory getSubcategory()

getResources

public List<Resource> getResources()

getDepth

public int getDepth()

setDepth

public void setDepth(int depth)

isMainResource

public boolean isMainResource()

setMainResource

public void setMainResource(boolean mainResource)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008 RHQ Project Advisory Board (Red Hat, Inc. and Hyperic, Inc.). All Rights Reserved.