public class TeamEntry
extends java.lang.Object
TeamDataitem.| Constructor | Description |
|---|---|
TeamEntry() |
Instantiates a new team entry.
|
TeamEntry(java.util.Map<java.lang.String,java.lang.String> dataMap) |
Instantiates a new team entry.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
containsPerson(Person person) |
Contains person.
|
java.lang.String |
getComment(java.lang.String personIdentifier) |
|
java.lang.String |
getLevel() |
Gets the minimum skill-level which is needed to fullfill the team-role.
|
int |
getNeeded() |
Gets the amount of needed persons which take the team-role.
|
java.util.List<java.lang.String> |
getPersonIdentifiers() |
Gets the personIdentifiers of all persons which take the team-role of the
entry.
|
java.util.List<java.lang.String> |
getPersons() |
Gets the persons which hold the team-role as string-representation of
personIdentifiers.
|
java.lang.String |
getRecurrenceRule(java.lang.String personIdentifier) |
Gets the recurrence rule of a person set by personIdentifier.
|
java.lang.String |
getRoleIdentifier() |
Gets the identifier of the role.
|
boolean |
hasComment(java.lang.String personIdentifier) |
|
boolean |
hasRecurrenceRule(java.lang.String personIdentifier) |
Checks for personal recurrence rule.
|
void |
setLevel(java.lang.String level) |
Sets the minimum skill-level between 0-100 percent skill.
|
void |
setNeeded(int needed) |
Sets the amount of needed persons to take the team-role.
|
void |
setNeeded(java.lang.String needed) |
Sets the amount of needed persons to take the team-role.
|
void |
setPersonIdentifiers(java.lang.String personIdentifiers) |
Sets the persons with personIdentifier and their recurrence-rule by
string-representation.
|
void |
setPersonIdentifiers(java.util.List<java.lang.String> personIdentifiers) |
Sets the person identifiers.
|
void |
setRoleIdentifier(java.lang.String roleIdentifier) |
Sets the identifier of the team-role.
|
public TeamEntry()
public TeamEntry(java.util.Map<java.lang.String,java.lang.String> dataMap)
dataMap - the data mappublic java.lang.String getRoleIdentifier()
public void setRoleIdentifier(java.lang.String roleIdentifier)
roleIdentifier - the new role identifierpublic int getNeeded()
public void setNeeded(java.lang.String needed)
needed - the new neededpublic void setNeeded(int needed)
needed - the new neededpublic boolean containsPerson(Person person)
person - the personpublic java.lang.String getLevel()
public void setLevel(java.lang.String level)
level - the new levelpublic java.util.List<java.lang.String> getPersons()
public java.util.List<java.lang.String> getPersonIdentifiers()
personIdentifier [Rx=...]
personIdentifierDefines person which takes team-role. Is similar to fullname of person. This i the only mandatory value.
Rx=CircleadRecurrenceRule as String Representation. Could be Circlead-Standard starting with R= or Google-RecurrenceRule-Pattern starting with RRULE=
public java.lang.String getComment(java.lang.String personIdentifier)
public boolean hasComment(java.lang.String personIdentifier)
public java.lang.String getRecurrenceRule(java.lang.String personIdentifier)
personIdentifier - the person identifierpublic boolean hasRecurrenceRule(java.lang.String personIdentifier)
personIdentifier - the person identifierpublic void setPersonIdentifiers(java.util.List<java.lang.String> personIdentifiers)
personIdentifiers - the new person identifierspublic void setPersonIdentifiers(java.lang.String personIdentifiers)
personIdentifiers - the new personIdentifiers and optional
personal-recurrence rule.