|
ALBPM Process API (PAPI) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfuego.papi.VarDefinition
VarDefinition contains all information related to a process variable.
In addition to the ID, type, mask, and size of the variable, this class can provide the label for a selected location (on demand).
| Field Summary | |
static String |
ACTIVITY_DEADLINE_ID
The ID of the default variable "Activity Deadline". |
static String |
ACTIVITY_DEADLINE_ID45
Deprecated. use ACTIVITY_DEADLINE_ID instead |
static String |
ACTIVITY_ID
The ID of the default variable "Activity". |
static String |
ACTIVITY_ID45
Deprecated. use ACTIVITY_ID instead |
static String |
AUTHOR_DISPLAYNAME
The Display Name of the default variable "Author" for an instance. |
static String |
AUTHOR_ID
The ID of the default variable "Author" for an instance. |
static String |
COPY_ID
The ID of the default variable "Copy". |
static String |
COPY_ID45
Deprecated. use COPY_ID instead |
static String |
CREATION_TIME_ID
The ID of the default variable "Creation Time" for an instance. |
static String |
CREATOR_ID
The ID of the default variable "Creator" for an attachment. |
static String |
CREATOR_ID45
Deprecated. use CREATOR_ID instead |
static String |
DEADLINE_ID
The ID of the default variable "Deadline". |
static String |
DEADLINE_ID45
Deprecated. use DEADLINE_ID instead |
static String |
DESCRIPTION_ID
The ID of the default variable "Description". |
static String |
DESCRIPTION_ID45
Deprecated. use DESCRIPTION_ID instead |
static String |
FILENAME_ID
The ID of the default variable "Filename" for an attachment. |
static String |
FILENAME_ID45
Deprecated. use FILENAME_ID instead |
static String |
HAS_ATTACHMENTS
Indicates whether or not the instance has attachments. |
static String |
HAS_NOTES
Indicates whether or not the instance has notes. |
static String |
INSTANCE_NUMBER
The ID of the default variable "Instance Number". |
static String |
LOCKER_ID
The ID of the default variable "Locker" for an attachment. |
static String |
LOCKER_ID45
Deprecated. use LOCKER_ID instead |
static String |
MAIN_TASK_PARTICIPANT_ID
The ID of the participant who has selected main task for an instance. |
static String |
NAME_ID
The ID of the default variable "Name" for an attachment. |
static String |
NAME_ID45
Deprecated. use NAME_ID instead |
static String |
PARTICIPANT_ID
The ID of the default variable "Participant". |
static String |
PARTICIPANT_ID45
Deprecated. use PARTICIPANT_ID instead |
static String |
PRIORITY_ID
The ID of the default variable "Priority". |
static String |
PRIORITY_ID45
Deprecated. use PRIORITY_ID instead |
static String |
PROCESS_DEADLINE_ID
The ID of the default variable "Process Deadline". |
static String |
PROCESS_DEADLINE_ID45
Deprecated. use PROCESS_DEADLINE_ID instead |
static String |
PROCESS_ID
The ID of the default variable "Process". |
static String |
PROCESS_ID45
Deprecated. use PROCESS_ID instead |
static String |
RECEIVED_ID
The ID of the default variable "Received". |
static String |
RECEIVED_ID45
Deprecated. use RECEIVED_ID instead |
static String |
SIZE_ID
The ID of the default variable "Size" for an attachment. |
static String |
SIZE_ID45
Deprecated. use SIZE_ID instead |
static String |
STATUS_ID
The ID of the default variable "Status". |
static String |
STATUS_ID45
Deprecated. use STATUS_ID instead |
static String |
TASK_ID
The ID of the default variable "Task" for an activity. |
static String |
TASK_ID45
Deprecated. use TASK_ID instead |
static String |
VERSION_ID
The ID of the default variable "Version" for an attachment. |
static String |
VERSION_ID45
Deprecated. use VERSION_ID instead |
| Constructor Summary | |
VarDefinition(String varId,
int varKind,
String varMask,
int varSize,
int varFractionSize,
Map varLabels)
Creates a new VarDefinition object with a decimal part. |
|
VarDefinition(String varId,
int varKind,
String varMask,
int varSize,
Map varLabels)
Creates a new VarDefinition object. |
|
| Method Summary | |
static VarDefinition[] |
createApplicationDefaults()
Creates the default variable definitions for an application. |
static VarDefinition[] |
createAttachmentDefaults()
Creates the default variable definitions for an attachment. |
static VarDefinition[] |
createInstanceDefaults()
Creates the default variable definitions for an instance. |
static String |
getDatabaseColumnName(String varId)
Gets the database column name of the variable. |
static SortedMap |
getDefaultVarDefinition()
Gets all default variable definitions. |
static VarDefinition |
getDefaultVarDefinition(String variableId)
Gets a specific VarDefinition for default variables. |
int |
getFractionSize()
Gets the size of the fractional part of the instance variable. |
String |
getId()
Gets the identifier for this variable. |
int |
getKind()
Gets the kind of the variable. |
String |
getLabel(Locale locale)
Gets the label of the variable for the given location. |
String |
getMask()
Gets a mask, which is useful for printing the value of this variable for any given instance. |
int |
getSize()
Gets the specific size of the instance variable. |
boolean |
isExternal()
Returns true if the variable is an external variable. |
static boolean |
isExternal(String variableId)
Returns true if the variable identification is an external variable. |
void |
setFractionSize(int size)
Sets the size of the fractional part of the instance variable. |
void |
setSize(int size)
Sets the size of the instance variable. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static String DESCRIPTION_ID45
DESCRIPTION_ID instead
public static String STATUS_ID45
STATUS_ID instead
public static String PRIORITY_ID45
PRIORITY_ID instead
public static String DEADLINE_ID45
DEADLINE_ID instead
public static String RECEIVED_ID45
RECEIVED_ID instead
public static String PROCESS_DEADLINE_ID45
PROCESS_DEADLINE_ID instead
public static String ACTIVITY_DEADLINE_ID45
ACTIVITY_DEADLINE_ID instead
public static String PROCESS_ID45
PROCESS_ID instead
public static String ACTIVITY_ID45
ACTIVITY_ID instead
public static String PARTICIPANT_ID45
PARTICIPANT_ID instead
public static String COPY_ID45
COPY_ID instead
public static String TASK_ID45
TASK_ID instead
public static String NAME_ID45
NAME_ID instead
public static String CREATOR_ID45
CREATOR_ID instead
public static String VERSION_ID45
VERSION_ID instead
public static String FILENAME_ID45
FILENAME_ID instead
public static String LOCKER_ID45
LOCKER_ID instead
public static String SIZE_ID45
SIZE_ID instead
public static String DESCRIPTION_ID
public static String STATUS_ID
public static String PRIORITY_ID
public static String DEADLINE_ID
public static String RECEIVED_ID
public static String PROCESS_DEADLINE_ID
public static String ACTIVITY_DEADLINE_ID
public static String PROCESS_ID
public static String ACTIVITY_ID
public static String PARTICIPANT_ID
public static String COPY_ID
public static String TASK_ID
public static String AUTHOR_ID
public static String AUTHOR_DISPLAYNAME
public static String CREATION_TIME_ID
public static String NAME_ID
public static String CREATOR_ID
public static String VERSION_ID
public static String FILENAME_ID
public static String LOCKER_ID
public static String SIZE_ID
public static String HAS_ATTACHMENTS
public static String INSTANCE_NUMBER
public static String MAIN_TASK_PARTICIPANT_ID
public static String HAS_NOTES
| Constructor Detail |
public VarDefinition(String varId,
int varKind,
String varMask,
int varSize,
Map varLabels)
varId - ID of the variablevarKind - kind of the variable (see fuego.lang.Kind)varMask - mask of the variablevarSize - size of the variablevarLabels - map with the labels of the variable, where the key is the language and the value
is the label for that language
public VarDefinition(String varId,
int varKind,
String varMask,
int varSize,
int varFractionSize,
Map varLabels)
varId - ID of the variablevarKind - kind of the variable (see fuego.lang.Kind)varMask - mask of the variablevarSize - size of the variablevarFractionSize - fraction size of the variablevarLabels - map with the labels of the variable, where the key is the language and the value
is the label for that language| Method Detail |
public static String getDatabaseColumnName(String varId)
varId - the variable ID used to obtain the database column name
public static SortedMap getDefaultVarDefinition()
public static VarDefinition getDefaultVarDefinition(String variableId)
ProcessServiceNESession#getVar().
variableId - ID of the variable to obtain
public static boolean isExternal(String variableId)
true if the variable identification is an external variable.
variableId - ID of the variable to check
true if it is externalpublic static VarDefinition[] createApplicationDefaults()
public static VarDefinition[] createAttachmentDefaults()
public static VarDefinition[] createInstanceDefaults()
public boolean isExternal()
true if the variable is an external variable.
true if the variable is an external variablepublic void setFractionSize(int size)
size - the new size of the variablepublic int getFractionSize()
public String getId()
public int getKind()
public String getLabel(Locale locale)
getId().
locale - the desired locale
public String getMask()
public void setSize(int size)
getFractionSize().
size - new size of the variablepublic int getSize()
getFractionSize().
|
ALBPM Process API (PAPI) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||