|
||||||||||
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 Column
public boolean isReadonly()
isReadonly
in interface Input
public boolean isMandatory()
isMandatory
in interface Input
public String getDisplayerName()
getDisplayerName
in interface Input
public String getValue()
getValue
in interface Input
public void setItem(Item item)
setItem
in interface Column
item
- Item to referpublic void setReadonly(boolean readonly)
setReadonly
in interface Input
public void setMandatory(boolean mandatory)
setMandatory
in interface Input
mandatory
- true if item must be filledpublic void setDisplayerName(String displayerName)
setDisplayerName
in interface Input
displayerName
- displayer namepublic void setValue(String value)
setValue
in interface Input
value
- default valuepublic ContextualDesignations getLabels()
Input
getLabels
in interface Input
public String getLabel(String role, String language)
Input
getLabel
in interface Input
role
- role for which the label is
public void addLabel(ContextualDesignation label)
Input
addLabel
in interface Input
public Iterator<ContextualDesignation> iterateLabel()
Input
iterateLabel
in interface Input
public ContextualDesignation createDesignation()
Input
createDesignation
in interface Input
public String getKey()
AbstractReferrableObject
getKey
in interface ReferrableObjectIntf
getKey
in class AbstractReferrableObject
equals
,
hashCode
public void setId(int id)
setId
in interface AbstractDescriptor
public int getId()
getId
in interface AbstractDescriptor
public void setParent(AbstractDescriptor parent)
setParent
in interface AbstractDescriptor
public AbstractDescriptor getParent()
getParent
in interface AbstractDescriptor
public boolean hasId()
hasId
in interface AbstractDescriptor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |