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(String caseOid, long id)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
asString()
static WorkItemId
create(String compound)
static WorkItemId
create(String caseOid, long id)
static String
createWorkItemId(String caseOid, Long workItemId)
boolean
equals(Object o)
String
getCaseOid()
static String
getCaseOidFromWorkItemId(String workItemId)
long
getId()
static long
getIdFromWorkItemId(String workItemId)
int
hashCode()
static WorkItemId
of(CaseWorkItemType workItem)
String
toString()
-
-
-
Field Detail
-
caseOid
@NotNull public final String caseOid
-
id
public final long id
-
-
Constructor Detail
-
WorkItemId
public WorkItemId(@NotNull String caseOid, long id)
-
-
Method Detail
-
create
public static WorkItemId create(@NotNull String caseOid, long id)
-
create
public static WorkItemId create(@NotNull String compound)
-
getIdFromWorkItemId
public static long getIdFromWorkItemId(String workItemId)
-
of
public static WorkItemId of(@NotNull CaseWorkItemType workItem)
-
getCaseOid
@NotNull public String getCaseOid()
-
getId
public long getId()
-
asString
public String asString()
-
-