com.metamatrix.platform.admin.api.runtime
Class ComponentData

java.lang.Object
  extended by com.metamatrix.platform.admin.api.runtime.ComponentData
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
HostData, ProcessData, PSCData, ServiceData

public class ComponentData
extends java.lang.Object
implements java.io.Serializable

This class is a container for VMRegistryBinding objects for a specific host. Created and maintained by the Registry.

See Also:
Serialized Form

Field Summary
protected  boolean deployed
          indicates if component is in operational configuration
protected  int hashCode
           
protected  boolean registered
          indicated if component exists in registry
 
Constructor Summary
ComponentData(java.lang.String name, boolean deployed, boolean registered)
          Construct an instance for the given name
 
Method Summary
 boolean equals(java.lang.Object obj)
          Returns true if the specified object is semantically equal to this instance.
 java.lang.String getName()
          Return name
 int hashCode()
          Returns the hash code value for this object.
 boolean isDeployed()
           
 boolean isRegistered()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

deployed

protected boolean deployed
indicates if component is in operational configuration


registered

protected boolean registered
indicated if component exists in registry


hashCode

protected int hashCode
Constructor Detail

ComponentData

public ComponentData(java.lang.String name,
                     boolean deployed,
                     boolean registered)
Construct an instance for the given name

Parameters:
Name -
Method Detail

getName

public java.lang.String getName()
Return name

Returns:
name

isDeployed

public boolean isDeployed()

isRegistered

public boolean isRegistered()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public final int hashCode()
Returns the hash code value for this object.

Overrides:
hashCode in class java.lang.Object
Returns:
a hash code value for this object.

equals

public boolean equals(java.lang.Object obj)
Returns true if the specified object is semantically equal to this instance.

Overrides:
equals in class java.lang.Object
Parameters:
obj - the object that this instance is to be compared to.
Returns:
whether the object is equal to this object.


Copyright © 2009. All Rights Reserved.