com.atlassian.gadgets.spi
Class ExternalGadgetSpecId

java.lang.Object
  extended by com.atlassian.gadgets.spi.ExternalGadgetSpecId
All Implemented Interfaces:
Serializable

@Immutable
public final class ExternalGadgetSpecId
extends Object
implements Serializable

Represents the unique identifier of an ExternalGadgetSpec.

See Also:
Serialized Form

Method Summary
 boolean equals(Object other)
           
 int hashCode()
           
 String toString()
           
 String value()
          Returns the value of this ExternalGadgetSpecId as a String.
static ExternalGadgetSpecId valueOf(String id)
          Converts the specified String into an ExternalGadgetSpecId.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

value

public String value()
Returns the value of this ExternalGadgetSpecId as a String.

Returns:
the value of this ExternalGadgetSpecId as a String

valueOf

public static ExternalGadgetSpecId valueOf(String id)
Converts the specified String into an ExternalGadgetSpecId.

Parameters:
id - the value to use for conversion
Returns:
an ExternalGadgetSpecId for the specified value

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009 Atlassian. All Rights Reserved.