com.atlassian.gadgets.dashboard
Class DashboardId

java.lang.Object
  extended by com.atlassian.gadgets.dashboard.DashboardId
All Implemented Interfaces:
Serializable

@Immutable
public final class DashboardId
extends Object
implements Serializable

Representation of the identifier for a particular dashboard.

See Also:
Serialized Form

Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 String toString()
           
 String value()
          Returns the value of the identifier as a String.
static DashboardId valueOf(String id)
          Convert the String value to a DashboardId object.
 
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 the identifier as a String.

Returns:
the value of the identifier as a String

toString

public String toString()
Overrides:
toString in class Object

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

valueOf

public static DashboardId valueOf(String id)
Convert the String value to a DashboardId object.

Parameters:
id - String value to use
Returns:
{code DashboardId} with the underlying value of id


Copyright © 2010 Atlassian. All Rights Reserved.