|
Fuego Process API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfuego.papi.VarDefinition
This class contains all the information related with a process variable. Apart from the id, type, mask, and size of the variable, this class can provide the label related to any given location specified (on demand).
| Field Summary | |
static String |
ACTIVITY_DEADLINE_ID
The id of the default variable "Activity Deadline" |
static String |
ACTIVITY_DEADLINE_ID45
|
static String |
ACTIVITY_ID
The id of the default variable "Activity" |
static String |
ACTIVITY_ID45
|
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
|
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
|
static String |
DEADLINE_ID
The id of the default variable "Deadline" |
static String |
DEADLINE_ID45
|
static String |
DESCRIPTION_ID
The id of the default variable "Description" |
static String |
DESCRIPTION_ID45
|
static String |
FILENAME_ID
The id of the default variable "Filename" for an Attachment |
static String |
FILENAME_ID45
|
static String |
HAS_ATTACHMENTS
If the instance has or not attachments |
static String |
HAS_NOTES
If the instance has or not notes |
static String |
LOCKER_ID
The id of the default variable "Locker" for an Attachment |
static String |
LOCKER_ID45
|
static String |
NAME_ID
The id of the default variable "Name" for an Attachment |
static String |
NAME_ID45
|
static String |
PARTICIPANT_ID
The id of the default variable "Participant" |
static String |
PARTICIPANT_ID45
|
static String |
PRIORITY_ID
The id of the default variable "Priority" |
static String |
PRIORITY_ID45
|
static String |
PROCESS_DEADLINE_ID
The id of the default variable "Process Deadline" |
static String |
PROCESS_DEADLINE_ID45
|
static String |
PROCESS_ID
The id of the default variable "Process" |
static String |
PROCESS_ID45
|
static String |
RECEIVED_ID
The id of the default variable "Received" |
static String |
RECEIVED_ID45
|
static String |
SIZE_ID
The id of the default variable "Size" for an Attachment |
static String |
SIZE_ID45
|
static String |
STATUS_ID
The id of the default variable "Status" |
static String |
STATUS_ID45
|
static String |
TASK_ID
The id of the default variable "Task" for an Activity |
static String |
TASK_ID45
|
static String |
VERSION_ID
The id of the default variable "Version" for an Attachment |
static String |
VERSION_ID45
|
| Constructor Summary | |
VarDefinition(String varId,
int varKind,
String varMask,
int varSize,
int varFractionSize,
Map varLabels)
|
|
VarDefinition(String varId,
int varKind,
String varMask,
int varSize,
Map varLabels)
|
|
| Method Summary | |
static VarDefinition[] |
createApplicationDefaults()
This methos returns the default variable definitions for an Application. |
static VarDefinition[] |
createAttachmentDefaults()
This methos returns the default variable definitions for an Attachment. |
static VarDefinition[] |
createInstanceDefaults()
This methos returns the default variable definitions for an Instance. |
static String |
getDatabaseColumnName(String varId)
|
static SortedMap |
getDefaultVarDefinition()
Return all defautl variables definition |
static VarDefinition |
getDefaultVarDefinition(String variableId)
Return a specific VarDefinition (Only for default variables, not incluide external variables). |
int |
getFractionSize()
This method returns the specific size of the instance variable fraction part. |
String |
getId()
This method returns the identificator of this variable. |
int |
getKind()
This method returns the Kind of the variable. |
String |
getLabel(Locale locale)
This method returns the label of the variable for the given location. |
String |
getMask()
This method returns a mask, usefull to print the value of this variable for any given instance. |
int |
getSize()
This method returns the specific size of the instance variable. |
boolean |
isExternal()
External variable or not |
static boolean |
isExternal(String variableId)
Return if the variable identification is external vairable or not. |
void |
setFractionSize(int size)
This method sets the specific size of the instance variable fraction part. |
void |
setSize(int size)
This method sets the specific 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
public static String STATUS_ID45
public static String PRIORITY_ID45
public static String DEADLINE_ID45
public static String RECEIVED_ID45
public static String PROCESS_DEADLINE_ID45
public static String ACTIVITY_DEADLINE_ID45
public static String PROCESS_ID45
public static String ACTIVITY_ID45
public static String PARTICIPANT_ID45
public static String COPY_ID45
public static String TASK_ID45
public static String NAME_ID45
public static String CREATOR_ID45
public static String VERSION_ID45
public static String FILENAME_ID45
public static String LOCKER_ID45
public static String SIZE_ID45
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 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 HAS_NOTES
| Constructor Detail |
public VarDefinition(String varId,
int varKind,
String varMask,
int varSize,
int varFractionSize,
Map varLabels)
public VarDefinition(String varId,
int varKind,
String varMask,
int varSize,
Map varLabels)
| Method Detail |
public static String getDatabaseColumnName(String varId)
public static SortedMap getDefaultVarDefinition()
public static VarDefinition getDefaultVarDefinition(String variableId)
variableId -
public static boolean isExternal(String variableId)
variableId -
public void setFractionSize(int size)
size - The new size of the variable.public int getFractionSize()
public String getId()
public int getKind()
public String getLabel(Locale locale)
locale - The location where to find the label
public String getMask()
public void setSize(int size)
size - The new size of the variable.public int getSize()
public static VarDefinition[] createApplicationDefaults()
public static VarDefinition[] createAttachmentDefaults()
public static VarDefinition[] createInstanceDefaults()
public boolean isExternal()
|
Fuego Process API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||