org.rhq.core.domain.resource.composite
Class ResourceIdWithAvailabilityComposite

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

public class ResourceIdWithAvailabilityComposite
extends Object
implements Serializable

This object is meant as part of a query that returns all resources and their availabilities, so it needs to have a very small footprint. We only need the resource IDs and the availabilities.

See Also:
Serialized Form

Constructor Summary
ResourceIdWithAvailabilityComposite(int resourceId, Availability avail)
           
 
Method Summary
 Availability getAvailability()
           
 int getResourceId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceIdWithAvailabilityComposite

public ResourceIdWithAvailabilityComposite(int resourceId,
                                           Availability avail)
Method Detail

getResourceId

public int getResourceId()

getAvailability

public Availability getAvailability()


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