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

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

public class ResourceMembershipComposite
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
ResourceMembershipComposite(Resource resource, Number explicitCount, Number implicitCount)
           
ResourceMembershipComposite(Resource resource, Resource parent, Number explicitCount, Number implicitCount)
           
 
Method Summary
 boolean getExplicit()
           
 boolean getImplicit()
           
 Resource getParent()
           
 Resource getResource()
           
 ResourceFacets getResourceFacets()
           
 void setExplicit(boolean isExplicit)
           
 void setImplicit(boolean isImplicit)
           
 void setResource(Resource resource)
           
 void setResourceFacets(ResourceFacets facets)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceMembershipComposite

public ResourceMembershipComposite(Resource resource,
                                   Number explicitCount,
                                   Number implicitCount)

ResourceMembershipComposite

public ResourceMembershipComposite(Resource resource,
                                   Resource parent,
                                   Number explicitCount,
                                   Number implicitCount)
Method Detail

getResource

public Resource getResource()

getParent

public Resource getParent()

getResourceFacets

public ResourceFacets getResourceFacets()

setResourceFacets

public void setResourceFacets(ResourceFacets facets)

setResource

public void setResource(Resource resource)

getExplicit

public boolean getExplicit()

setExplicit

public void setExplicit(boolean isExplicit)

getImplicit

public boolean getImplicit()

setImplicit

public void setImplicit(boolean isImplicit)

toString

public String toString()
Overrides:
toString in class Object


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