|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.workflow.engine.AbstractReferrableObject
com.silverpeas.workflow.engine.model.ItemRef
public class ItemRef
Class implementing the representation of the <input> element of a Process Model.
| Constructor Summary | |
|---|---|
ItemRef()
Constructor |
|
| Method Summary | |
|---|---|
void |
addLabel(ContextualDesignation label)
Add a label Method needed primarily by Castor |
ContextualDesignation |
createDesignation()
Create an object implementing ContextualDesignation Method needed primarily by Castor |
String |
getDisplayerName()
Get name of displayer used to show the item |
int |
getId()
|
Item |
getItem()
Get the referred item |
String |
getKey()
This method has to be implemented by the referrable object it has to compute the unique key |
String |
getLabel(String role,
String language)
Get label in specific language for the given role |
ContextualDesignations |
getLabels()
Get all the labels |
AbstractDescriptor |
getParent()
|
String |
getValue()
Get default value |
boolean |
hasId()
|
boolean |
isMandatory()
Get value of mandatory attribute |
boolean |
isReadonly()
Get value of readOnly attribute |
Iterator<ContextualDesignation> |
iterateLabel()
Iterate through the Labels |
void |
setDisplayerName(String displayerName)
Set name of displayer used to show the item |
void |
setId(int id)
Implemented methods |
void |
setItem(Item item)
Set the referred item |
void |
setMandatory(boolean mandatory)
Set value of mandatory attribute |
void |
setParent(AbstractDescriptor parent)
|
void |
setReadonly(boolean readonly)
Set the readonly attribute |
void |
setValue(String value)
Set default value |
| Methods inherited from class com.silverpeas.workflow.engine.AbstractReferrableObject |
|---|
equals, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ItemRef()
| Method Detail |
|---|
public Item getItem()
getItem in interface Columnpublic boolean isReadonly()
isReadonly in interface Inputpublic boolean isMandatory()
isMandatory in interface Inputpublic String getDisplayerName()
getDisplayerName in interface Inputpublic String getValue()
getValue in interface Inputpublic void setItem(Item item)
setItem in interface Columnitem - Item to referpublic void setReadonly(boolean readonly)
setReadonly in interface Inputpublic void setMandatory(boolean mandatory)
setMandatory in interface Inputmandatory - true if item must be filledpublic void setDisplayerName(String displayerName)
setDisplayerName in interface InputdisplayerName - displayer namepublic void setValue(String value)
setValue in interface Inputvalue - default valuepublic ContextualDesignations getLabels()
Input
getLabels in interface Input
public String getLabel(String role,
String language)
Input
getLabel in interface Inputrole - role for which the label is
public void addLabel(ContextualDesignation label)
Input
addLabel in interface Inputpublic Iterator<ContextualDesignation> iterateLabel()
Input
iterateLabel in interface Inputpublic ContextualDesignation createDesignation()
Input
createDesignation in interface Inputpublic String getKey()
AbstractReferrableObject
getKey in interface ReferrableObjectIntfgetKey in class AbstractReferrableObjectequals,
hashCodepublic void setId(int id)
setId in interface AbstractDescriptorpublic int getId()
getId in interface AbstractDescriptorpublic void setParent(AbstractDescriptor parent)
setParent in interface AbstractDescriptorpublic AbstractDescriptor getParent()
getParent in interface AbstractDescriptorpublic boolean hasId()
hasId in interface AbstractDescriptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||