javax.slee
Interface ComponentID

All Known Subinterfaces:
EventTypeID, ProfileSpecificationID, ResourceAdaptorID, ResourceAdaptorTypeID, SbbID, ServiceID

public interface ComponentID

The ComponentID interface is the common base interface for all other component identifier interfaces. All deployable components installed in the SLEE have some component identity, specified as a derivitive interface of ComponentID.


Method Summary
 boolean equals(java.lang.Object obj)
          Compare this component identifier for equality with another object.
 int hashCode()
          Get a hash code value for this component identifier.
 java.lang.String toString()
          Get a string representation for this component identifier.
 

Method Detail

equals

public boolean equals(java.lang.Object obj)
Compare this component identifier for equality with another object.
Overrides:
equals in class java.lang.Object
Parameters:
obj - the object to compare this with.
Returns:
true if obj is a component identifier that has the same component type and identity as this, false otherwise.
See Also:
Object.equals(Object)

hashCode

public int hashCode()
Get a hash code value for this component identifier.
Overrides:
hashCode in class java.lang.Object
Returns:
a hash code value for this identifier.
See Also:
Object.hashCode()

toString

public java.lang.String toString()
Get a string representation for this component identifier.
Overrides:
toString in class java.lang.Object
Returns:
a string representation for this identifier.
See Also:
Object.toString()