public class TypeId extends Object implements Comparable<TypeId>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TypeId o) |
boolean |
equals(Object o) |
String |
get() |
static TypeId |
getTypeId(ApplicationType type)
Convenience method for looking up
TypeIds from ApplicationTypes. |
static TypeId |
getTypeId(EntityType type)
Convenience method for looking up
TypeIds from EntityTypes. |
int |
hashCode() |
String |
toString() |
public TypeId(String id)
public String get()
public static TypeId getTypeId(EntityType type)
TypeIds from EntityTypes. The
applinks-entity-type descriptor enforces that all registered EntityTypes implement the
IdentifiableType interface, so the cast in the delegate method is safe.public static TypeId getTypeId(ApplicationType type)
TypeIds from ApplicationTypes. The
applinks-application-type descriptor enforces that all registered ApplicationTypes implement the
IdentifiableType interface, so the cast in the delegate method is safe.public int compareTo(TypeId o)
compareTo in interface Comparable<TypeId>Copyright © 2018 Atlassian. All rights reserved.