public final class Handle extends Object implements Serializable
ValueHolder
s.Modifier and Type | Field and Description |
---|---|
static String |
EXTERNAL
Identificator for external value in string representation
|
static String |
INTERNAL
Identificator for internal value in string representation
|
static String |
SEPARATOR
Separator in string representation
|
Modifier | Constructor and Description |
---|---|
protected |
Handle()
Creates new instance.(
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static Handle |
forSharedRecord(String type,
Long modelInstanceId,
Long processInstanceId,
String primaryKeyString)
Creates new instance for shared record.
|
static Handle |
forValueHolder(String type,
Long modelInstanceId,
String evaluationLevel,
Long baseLevelValueid)
Creates new value for non-shared value.
|
static Handle |
fromString(String handleString)
Creates instance from a string representation.
|
Long |
getBaseLevelValueid()
Returns base level value id.
|
String |
getEvaluationLevel()
Returns evaluation level.
|
String |
getId()
Returns id of the handle.
|
Long |
getModelInstanceId()
Returns model instance id.
|
String |
getPrimaryKeyString()
Returns primary key string.
|
Long |
getProcessInstanceId()
Returns process instance id.
|
String |
getType()
Returns the type.
|
int |
hashCode() |
String |
toString() |
public static final String SEPARATOR
public static final String EXTERNAL
public static final String INTERNAL
public static Handle forSharedRecord(String type, Long modelInstanceId, Long processInstanceId, String primaryKeyString)
type
- not nullmodelInstanceId
- not nullprocessInstanceId
- may be nullprimaryKeyString
- not nullpublic static Handle forValueHolder(String type, Long modelInstanceId, String evaluationLevel, Long baseLevelValueid)
type
- not nullmodelInstanceId
- not nullevaluationLevel
- not nullbaseLevelValueid
- not nullpublic static Handle fromString(String handleString)
handleString
- public String getType()
public Long getModelInstanceId()
public Long getProcessInstanceId()
public Long getBaseLevelValueid()
public String getPrimaryKeyString()
public String getEvaluationLevel()
public String getId()
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.