com.atlassian.applinks.spi.application
Class TypeId
java.lang.Object
com.atlassian.applinks.spi.application.TypeId
- All Implemented Interfaces:
- java.lang.Comparable<TypeId>
public class TypeId
- extends java.lang.Object
- implements java.lang.Comparable<TypeId>
- Since:
- 3.0
Constructor Summary |
TypeId(java.lang.String id)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
TypeId
public TypeId(java.lang.String id)
get
public java.lang.String get()
getTypeId
public static TypeId getTypeId(EntityType type)
- Convenience method for looking up
TypeId
s from EntityType
s. The
applinks-entity-type
descriptor enforces that all registered EntityType
s implement the
IdentifiableType
interface, so the cast in the delegate method is safe.
getTypeId
public static TypeId getTypeId(ApplicationType type)
- Convenience method for looking up
TypeId
s from ApplicationType
s. The
applinks-application-type
descriptor enforces that all registered ApplicationType
s implement the
IdentifiableType
interface, so the cast in the delegate method is safe.
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
compareTo
public int compareTo(TypeId o)
- Specified by:
compareTo
in interface java.lang.Comparable<TypeId>
Copyright © 2011 Atlassian. All Rights Reserved.