|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Item
Interface describing a representation of the <item> element of a Process Model.
Method Summary | |
---|---|
void |
addDescription(ContextualDesignation description)
Add a description Method needed primarily by Castor |
void |
addLabel(ContextualDesignation label)
Add a label Method needed primarily by Castor |
void |
addParameter(Parameter parameter)
Add a Parameter to the collection |
ContextualDesignation |
createDesignation()
Create an object implementing ContextualDesignation Method needed primarily by Castor |
Parameter |
createParameter()
Create an object implementing Parameter |
String |
getDescription(String role,
String language)
Get description in specific language for the given role |
ContextualDesignations |
getDescriptions()
Get all the descriptions |
String |
getFormula()
Get formula to use if item must be computed |
Hashtable<String,String> |
getKeyValuePairs()
|
String |
getLabel(String role,
String language)
Get label in specific language for the given role |
ContextualDesignations |
getLabels()
Get all the labels |
String |
getMapTo()
Get the full user field name, to which this item is map |
String |
getName()
Get the name of this item |
Parameter |
getParameter(String strName)
Get the parameter specified by name |
String |
getType()
Get the type of this item |
boolean |
isComputed()
Get value of computed attribute |
boolean |
isReadonly()
Get value of readOnly attribute |
Iterator<ContextualDesignation> |
iterateDescription()
Iterate through the descriptions |
Iterator<ContextualDesignation> |
iterateLabel()
Iterate through the Labels |
Iterator<Parameter> |
iterateParameter()
Return an Iterator over the parameters collection |
void |
removeParameter(String strName)
Remove the parameter specified by its name |
void |
setComputed(boolean computed)
Set value of computed attribute |
void |
setFormula(String formula)
Set formula to use if item must be computed |
void |
setMapTo(String mapTo)
Set the full user field name, to which this item is map |
void |
setName(String name)
Set the name of this item |
void |
setReadonly(boolean readonly)
Set value of readOnly attribute |
void |
setType(String type)
Set the type of this item |
Method Detail |
---|
String getName()
void setName(String name)
name
- item 's nameString getDescription(String role, String language)
language
- description's languagerole
- role for which the description is
ContextualDesignations getDescriptions()
Iterator<ContextualDesignation> iterateDescription()
void addDescription(ContextualDesignation description)
description
- String getLabel(String role, String language)
language
- label's languagerole
- role for which the label is
ContextualDesignations getLabels()
Iterator<ContextualDesignation> iterateLabel()
void addLabel(ContextualDesignation label)
label
- ContextualDesignation createDesignation()
boolean isComputed()
void setComputed(boolean computed)
computed
- true if item must be computedString getFormula()
void setFormula(String formula)
formula
- formula of type 'action.Validation.actor'boolean isReadonly()
void setReadonly(boolean readonly)
readonly
- true if item must be readonlyString getType()
void setType(String type)
type
- item 's type (text for text field)String getMapTo()
void setMapTo(String mapTo)
mapTo
- full user field nameParameter getParameter(String strName)
strName
- the parameter name
Parameter createParameter()
void addParameter(Parameter parameter)
parameter
- Iterator<Parameter> iterateParameter()
void removeParameter(String strName) throws WorkflowException
strName
- the name of the parameter
WorkflowException
- when the parameter cannot be foundHashtable<String,String> getKeyValuePairs()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |