Class WorkItemId
- java.lang.Object
-
- com.evolveum.midpoint.schema.util.WorkItemId
-
- All Implemented Interfaces:
Serializable
public class WorkItemId extends Object implements Serializable
Uniquely identifies a work item.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorkItemId(@NotNull String caseOid, long id)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
asString()
static WorkItemId
create(@NotNull String compound)
static WorkItemId
create(@NotNull String caseOid, long id)
static String
createWorkItemId(String caseOid, Long workItemId)
boolean
equals(Object o)
@NotNull String
getCaseOid()
static String
getCaseOidFromWorkItemId(String workItemId)
long
getId()
static long
getIdFromWorkItemId(String workItemId)
int
hashCode()
static WorkItemId
of(@NotNull CaseWorkItemType workItem)
String
toString()
-
-
-
Field Detail
-
caseOid
@NotNull public final @NotNull String caseOid
-
id
public final long id
-
-
Constructor Detail
-
WorkItemId
public WorkItemId(@NotNull @NotNull String caseOid, long id)
-
-
Method Detail
-
create
public static WorkItemId create(@NotNull @NotNull String caseOid, long id)
-
create
public static WorkItemId create(@NotNull @NotNull String compound)
-
getIdFromWorkItemId
public static long getIdFromWorkItemId(String workItemId)
-
of
public static WorkItemId of(@NotNull @NotNull CaseWorkItemType workItem)
-
getCaseOid
@NotNull public @NotNull String getCaseOid()
-
getId
public long getId()
-
asString
public String asString()
-
-