@ExperimentalApi public final class IconOwningObjectId extends Object
Constructor and Description |
---|
IconOwningObjectId(String id) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static IconOwningObjectId |
from(long id)
Creates an IconOwningObjectId from the given numeric ID.
|
static IconOwningObjectId |
from(WithId withId)
Creates an IconOwningObjectId from the given entity.
|
String |
getId()
Returns the ID of the owner object.
|
int |
hashCode() |
String |
toString() |
@Nonnull public String getId()
eg for Project this will be the String representation of the Project ID, for User this will be the user key.
@Nonnull public static IconOwningObjectId from(long id)
id
- the numeric ID@Nonnull public static IconOwningObjectId from(@Nonnull WithId withId)
withId
- the numeric IDCopyright © 2002-2019 Atlassian. All Rights Reserved.