java.lang.Comparable<DefaultWorkitem>, IValidator, IDataRow, IWorkitem, IWorkitemRendererpublic class Role extends DefaultWorkitem implements IWorkitemRenderer, IValidator, IDataRow
| Constructor | Description |
|---|---|
Role() |
Instantiates a new emtpy role.
|
Role(IDataitem dataitem) |
Instantiates a new role from a RoleDataitem.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getAbbreviation() |
Gets the abbreviation.
|
java.util.List<java.lang.String> |
getActivities() |
Gets the activities.
|
java.util.List<java.lang.String> |
getCompetences() |
Gets the competences.
|
RoleDataitem |
getDataitem() |
Gets the dataitem.
|
java.util.Map<Parameter,java.lang.Object> |
getDataRow() |
Gets the data row.
|
java.util.List<java.lang.String> |
getGuidelines() |
Gets the guidelines.
|
java.util.List<java.lang.String> |
getOpportunities() |
Gets the opportunities.
|
int |
getOrganisationalSkillLevel() |
Deprecated.
|
java.lang.String |
getOrganisationIdentifier() |
Gets the organisation identifier.
|
java.lang.String |
getParentIdentifier() |
Gets the parent identifier.
|
java.util.List<java.lang.String> |
getPersonIdentifiers() |
Gets the person identifiers.
|
java.lang.String |
getPurpose() |
Gets the purpose.
|
java.lang.String |
getRecurrenceRule(java.lang.String personIdentifier) |
Gets the recurrence rule.
|
java.lang.String |
getRecurrenceRule(Person person) |
Gets the recurrence rule.
|
double |
getRedundance() |
Gets the redundance.
|
double |
getRedundanceOrganisation() |
Gets the redundance organisation.
|
double |
getRedundanceTeam() |
Gets the redundance team.
|
java.util.List<IWorkitem> |
getReferencedItems() |
Gets the referenced items.
|
java.util.List<java.lang.String> |
getResponsibilities() |
Gets the responsibilities.
|
java.lang.String |
getRolegroupIdentifier() |
Gets the rolegroup identifier.
|
java.util.List<java.lang.String> |
getSynonyms() |
Gets the synonyms.
|
boolean |
hasAbbreviation() |
Checks for abbreviation.
|
boolean |
hasOrganisationIdentifier() |
Checks for organisation identifier.
|
boolean |
hasRolegroupIdentifier() |
Checks for rolegroup identifier.
|
boolean |
hasTitle() |
Checks for title.
|
boolean |
isSituational() |
Checks if is situational.
|
org.jsoup.nodes.Element |
render(ISynchronizer synchronizer) |
Render method.
|
void |
setAbbreviation(java.lang.String abbreviation) |
Sets the abbreviation.
|
void |
setActivities(java.lang.String activities) |
Sets the activities.
|
void |
setActivities(java.util.List<java.lang.String> activities) |
Sets the activities.
|
void |
setActivities(ListParserElement element) |
Sets the activities from html-parsed-list
|
void |
setCompetences(java.lang.String competences) |
Sets the competences from single string.
|
void |
setCompetences(java.util.List<java.lang.String> competences) |
Sets the competences from list.
|
void |
setCompetences(ListParserElement element) |
Sets the competences from list-html-parser.
|
void |
setGuidelines(java.lang.String guidelines) |
Sets the guidelines from single string.
|
void |
setGuidelines(java.util.List<java.lang.String> guidelines) |
Sets the guidelines from list.
|
void |
setGuidelines(ListParserElement element) |
Sets the guidelines from list-html-parser.
|
void |
setOpportunities(java.lang.String opportunities) |
Sets the opportunities from single string.
|
void |
setOpportunities(java.util.List<java.lang.String> opportunities) |
Sets the opportunities from list.
|
void |
setOpportunities(ListParserElement element) |
Sets the opportunities from list-html-parser.
|
void |
setOrganisationIdentifier(java.lang.String organisation) |
Sets the organisation identifier.
|
void |
setParent(java.lang.String parentRole) |
Sets the parent.
|
void |
setPersonIdentifiers(java.lang.String persons) |
Sets the person identifiers from single string.
|
void |
setPersonIdentifiers(ListParserElement element) |
Sets the person identifiers from html-parser.
|
void |
setPersons(java.util.List<java.lang.String> persons) |
Sets the persons.
|
void |
setPurpose(java.lang.String purpose) |
Sets the purpose.
|
void |
setResponsibilities(java.lang.String responsibilities) |
Sets the responsibilities from single string.
|
void |
setResponsibilities(java.util.List<java.lang.String> responsibilities) |
Sets the responsibilities from list.
|
void |
setResponsibilities(ListParserElement element) |
Sets the responsibilities from list-html-parser.
|
void |
setRolegroupIdentifier(java.lang.String rolegroup) |
Sets the rolegroup identifier.
|
void |
setSituational(boolean situational) |
Sets the situational.
|
void |
setSynonyms(java.lang.String synonyms) |
Sets the synonyms.
|
void |
setSynonyms(java.util.List<java.lang.String> synonyms) |
Sets the synonyms.
|
void |
setVersion(java.lang.String version) |
Sets the version.
|
java.lang.String |
toString() |
|
java.util.List<ValidationMessage> |
validate() |
Validation method.
|
compareTo, containsId, equals, getCreated, getId, getId, getModified, getStatus, getTitle, getType, getUpdateable, getVersion, hashCode, isSpecialized, removeId, removeId, setCreated, setCreated, setId, setId, setIds, setModified, setModified, setStatus, setTitle, setUpdateablepublic Role()
public Role(IDataitem dataitem)
dataitem - the dataitem of the role of class
RoleDataitempublic java.lang.String getOrganisationIdentifier()
public void setOrganisationIdentifier(java.lang.String organisation)
organisation - the new organisation identifierpublic void setRolegroupIdentifier(java.lang.String rolegroup)
rolegroup - the new rolegroup identifierpublic java.lang.String getAbbreviation()
public void setPersonIdentifiers(ListParserElement element)
element - the new person identifierspublic void setPersonIdentifiers(java.lang.String persons)
persons - the new person identifierspublic void setPersons(java.util.List<java.lang.String> persons)
persons - the new personspublic void setCompetences(ListParserElement element)
element - the new competencespublic void setCompetences(java.lang.String competences)
competences - the new competencespublic void setCompetences(java.util.List<java.lang.String> competences)
competences - the new competencespublic void setGuidelines(ListParserElement element)
element - the new guidelinespublic void setGuidelines(java.lang.String guidelines)
guidelines - the new guidelinespublic void setGuidelines(java.util.List<java.lang.String> guidelines)
guidelines - the new guidelinespublic void setOpportunities(ListParserElement element)
element - the new opportunitiespublic void setOpportunities(java.lang.String opportunities)
opportunities - the new opportunitiespublic void setOpportunities(java.util.List<java.lang.String> opportunities)
opportunities - the new opportunitiespublic void setResponsibilities(ListParserElement element)
element - the new responsibilitiespublic void setVersion(java.lang.String version)
IWorkitemsetVersion in interface IWorkitemsetVersion in class DefaultWorkitemversion - the new versionpublic void setResponsibilities(java.lang.String responsibilities)
responsibilities - the new responsibilitiespublic java.lang.String getRolegroupIdentifier()
public void setResponsibilities(java.util.List<java.lang.String> responsibilities)
responsibilities - the new responsibilities@Deprecated public int getOrganisationalSkillLevel()
public java.util.List<java.lang.String> getCompetences()
public java.util.List<java.lang.String> getSynonyms()
public java.util.List<java.lang.String> getResponsibilities()
public java.util.List<java.lang.String> getPersonIdentifiers()
public java.util.List<java.lang.String> getOpportunities()
public java.util.List<java.lang.String> getGuidelines()
public boolean isSituational()
public void setSituational(boolean situational)
situational - the new situationalpublic java.util.List<java.lang.String> getActivities()
public void setActivities(ListParserElement element)
element - the new activitiespublic void setActivities(java.lang.String activities)
activities - the new activitiespublic void setActivities(java.util.List<java.lang.String> activities)
activities - the new activitiespublic void setSynonyms(java.lang.String synonyms)
synonyms - the new synonymspublic void setSynonyms(java.util.List<java.lang.String> synonyms)
synonyms - the new synonymspublic RoleDataitem getDataitem()
DefaultWorkitemgetDataitem in class DefaultWorkitempublic void setParent(java.lang.String parentRole)
parentRole - the new parentpublic void setAbbreviation(java.lang.String abbreviation)
abbreviation - the new abbreviationpublic java.lang.String getParentIdentifier()
public java.lang.String toString()
toString in class DefaultWorkitempublic java.lang.String getRecurrenceRule(java.lang.String personIdentifier)
personIdentifier - the person identifierpublic java.lang.String getRecurrenceRule(Person person)
person - the personpublic java.util.List<IWorkitem> getReferencedItems()
IWorkitemgetReferencedItems in interface IWorkitemgetReferencedItems in class DefaultWorkitempublic org.jsoup.nodes.Element render(ISynchronizer synchronizer)
IWorkitemRendererrender in interface IWorkitemRenderersynchronizer - the synchronizerpublic double getRedundanceTeam()
public double getRedundance()
public double getRedundanceOrganisation()
public void setPurpose(java.lang.String purpose)
purpose - the new purposepublic java.lang.String getPurpose()
public boolean hasTitle()
public boolean hasAbbreviation()
public boolean hasOrganisationIdentifier()
public boolean hasRolegroupIdentifier()
public java.util.List<ValidationMessage> validate()
IValidatorvalidate in interface IValidatorpublic java.util.Map<Parameter,java.lang.Object> getDataRow()
IDataRowgetDataRow in interface IDataRow