|
||||||||||
| 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.RoleImpl
public class RoleImpl
Class implementing the representation of the <role> element of a Process Model.
| Constructor Summary | |
|---|---|
RoleImpl()
Constructor |
|
RoleImpl(String name)
Constructor |
|
| 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 |
ContextualDesignation |
createDesignation()
Create an object implementing ContextualDesignation Method needed primarily by Castor |
String |
getDescription(String role,
String language)
Get description in specific language for the given role |
ContextualDesignations |
getDescriptions()
Get all the descriptions |
int |
getId()
|
String |
getKey()
Get the unique key, used by equals method |
String |
getLabel(String role,
String language)
Get label in specific language for the given role |
ContextualDesignations |
getLabels()
Get all the labels |
String |
getName()
Get the name of the Role |
AbstractDescriptor |
getParent()
|
boolean |
hasId()
|
Iterator<ContextualDesignation> |
iterateDescription()
Iterate through the descriptions |
Iterator<ContextualDesignation> |
iterateLabel()
Iterate through the Labels |
void |
setId(int id)
Implemented methods |
void |
setName(String name)
Set the name of the Role |
void |
setParent(AbstractDescriptor parent)
|
| 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 RoleImpl()
public RoleImpl(String name)
name - role nama| Method Detail |
|---|
public String getName()
getName in interface Rolepublic void setName(String name)
Role
setName in interface Rolepublic ContextualDesignations getLabels()
Role
getLabels in interface Role
public String getLabel(String role,
String language)
Role
getLabel in interface Rolerole - role for which the label is
public void addLabel(ContextualDesignation label)
Role
addLabel in interface Rolepublic Iterator<ContextualDesignation> iterateLabel()
Role
iterateLabel in interface Rolepublic ContextualDesignations getDescriptions()
Role
getDescriptions in interface Role
public String getDescription(String role,
String language)
Role
getDescription in interface Rolerole - role for which the description is
public void addDescription(ContextualDesignation description)
Role
addDescription in interface Rolepublic Iterator<ContextualDesignation> iterateDescription()
Role
iterateDescription in interface Rolepublic ContextualDesignation createDesignation()
Role
createDesignation in interface Rolepublic String getKey()
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 | |||||||||