java.lang.Object
com.atlassian.gadgets.opensocial.model.AppId

@Immutable public final class AppId extends Object
Representation of the identifier for a particular application, e.g. gadget type such as the Chart Gadget.
Since:
2.0
  • Constructor Details

    • AppId

      public AppId(String id)
      Creates a new AppId that wraps the id passed in
      Parameters:
      id - the String id stored internally
  • Method Details

    • 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
    • valueOf

      public static AppId valueOf(String id)
      Convert the String value to a AppId object.
      Parameters:
      id - String value to use
      Returns:
      AppId with the underlying value of id
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object