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

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

public class ResourceWithAvailability
extends ResourceMembershipComposite

See Also:
Serialized Form

Constructor Summary
ResourceWithAvailability(Resource resource, AvailabilityType availabilityType)
           
ResourceWithAvailability(Resource resource, AvailabilityType availabilityType, Number explicitCount, Number implicitCount)
           
ResourceWithAvailability(Resource resource, Resource parent, AvailabilityType availabilityType, Number explicitCount, Number implicitCount)
           
 
Method Summary
 AvailabilityType getAvailability()
           
 void setAvailability(AvailabilityType availability)
           
 String toString()
           
 
Methods inherited from class org.rhq.core.domain.resource.composite.ResourceMembershipComposite
getExplicit, getImplicit, getParent, getResource, getResourceFacets, setExplicit, setImplicit, setResource, setResourceFacets
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceWithAvailability

public ResourceWithAvailability(Resource resource,
                                AvailabilityType availabilityType)

ResourceWithAvailability

public ResourceWithAvailability(Resource resource,
                                AvailabilityType availabilityType,
                                Number explicitCount,
                                Number implicitCount)

ResourceWithAvailability

public ResourceWithAvailability(Resource resource,
                                Resource parent,
                                AvailabilityType availabilityType,
                                Number explicitCount,
                                Number implicitCount)
Method Detail

getAvailability

public AvailabilityType getAvailability()

setAvailability

public void setAvailability(AvailabilityType availability)

toString

public String toString()
Overrides:
toString in class ResourceMembershipComposite


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