|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Role
Interface describing a representation of the <role> 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 |
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 |
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 |
Iterator<ContextualDesignation> |
iterateDescription()
Iterate through the descriptions |
Iterator<ContextualDesignation> |
iterateLabel()
Iterate through the Labels |
void |
setName(String name)
Set the name of the Role |
| Method Detail |
|---|
String getName()
void setName(String name)
role - 's name
String getLabel(String role,
String language)
lang - label's languagerole - role for which the label is
ContextualDesignations getLabels()
Iterator<ContextualDesignation> iterateLabel()
void addLabel(ContextualDesignation label)
ContextualDesignation createDesignation()
String getDescription(String role,
String language)
lang - description's languagerole - role for which the description is
ContextualDesignations getDescriptions()
Iterator<ContextualDesignation> iterateDescription()
void addDescription(ContextualDesignation description)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||