org.rhq.core.pc.plugin
Class CanonicalResourceKey

java.lang.Object
  extended by org.rhq.core.pc.plugin.CanonicalResourceKey
All Implemented Interfaces:
Serializable

public class CanonicalResourceKey
extends Object
implements Serializable

This object represents a canonical ID that can uniquely identify a resource within a resource hierarchy.

Author:
John Mazzitelli
See Also:
Serialized Form

Constructor Summary
CanonicalResourceKey(org.rhq.core.domain.resource.Resource resource, org.rhq.core.domain.resource.Resource parent)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getResourceKey()
           
 String getResourcePlugin()
           
 String getResourceTypeName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CanonicalResourceKey

public CanonicalResourceKey(org.rhq.core.domain.resource.Resource resource,
                            org.rhq.core.domain.resource.Resource parent)
                     throws PluginContainerException
Throws:
PluginContainerException
Method Detail

getResourceKey

public String getResourceKey()

getResourceTypeName

public String getResourceTypeName()

getResourcePlugin

public String getResourcePlugin()

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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