java.lang.Comparable<DefaultWorkitem>, IValidator, IDataRow, IWorkitem, IWorkitemRendererpublic class Team extends DefaultWorkitem implements IWorkitemRenderer, IValidator, IDataRow
| Constructor | Description |
|---|---|
Team() |
Instantiates a new team.
|
Team(IDataitem dataitem) |
Instantiates a new team.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
addTeamEnty(TeamEntry teamEntry) |
Adds the team enty.
|
java.util.List<Timeslice> |
getAllokationSlices(org.dmfs.rfc5545.recur.Freq freq) |
Gets the allokation slices.
|
java.util.List<Timeslice> |
getAllokationSlices(Person person,
org.dmfs.rfc5545.recur.Freq freq) |
Gets the allokation slices.
|
double |
getAverageAllokation(Person person,
org.dmfs.rfc5545.recur.Freq freq) |
Gets the average allokation.
|
java.lang.String |
getCategory() |
Gets the category.
|
CircleadRecurrenceRule |
getCircleadRecurrenceRule() |
Gets the circlead recurrence rule.
|
int |
getCRRDuration() |
Gets the CRR duration.
|
java.lang.Integer |
getCRRHour() |
Gets the CRR hour.
|
java.lang.String |
getCRRWeekday() |
Gets the CRR weekday.
|
int |
getCRRWeekdayNo() |
Gets the CRR weekday no.
|
TeamDataitem |
getDataitem() |
Gets the dataitem.
|
java.util.Map<Parameter,java.lang.Object> |
getDataRow() |
Gets the data row.
|
java.lang.String |
getDescription() |
Gets the description.
|
int |
getDuration() |
Gets the duration between the start and end-date in days.
|
java.lang.String |
getEnd() |
Gets the end date of the team-event.
|
java.util.Date |
getEndDate() |
Gets the end date.
|
java.lang.String |
getReadableRule() |
Gets the readable rule.
|
java.lang.String |
getRecurrenceRule() |
Gets the recurrence rule.
|
double |
getRedundance() |
Gets the team redundance.
|
java.util.List<IWorkitem> |
getReferencedItems() |
Gets the referenced items.
|
java.util.List<java.lang.String> |
getRoles(Person person) |
Gets the roles.
|
java.lang.String |
getStart() |
Gets the start date of the team-event.
|
java.util.Date |
getStartDate() |
Gets the start date.
|
java.util.List<TeamEntry> |
getTeamEntries() |
Gets the team entries.
|
java.util.List<java.lang.String> |
getTeamMembers() |
Count the number of team members.
|
java.util.List<java.lang.String> |
getTeamMembers(Role role) |
Gets the team members which take a named role.
|
java.util.Map<java.lang.String,java.lang.Integer> |
getTeamroleMatch() |
Gets the teamrole match.
|
int |
getTeamSize() |
Gets the team size.
|
java.lang.String |
getTeamSubtype() |
Gets the team subtype.
|
java.lang.String |
getTeamType() |
Gets the team type.
|
org.jsoup.nodes.Element |
render(ISynchronizer synchronizer) |
Render.
|
void |
setCategory(java.lang.String category) |
Sets the category.
|
void |
setDescription(java.lang.String description) |
Sets the description.
|
void |
setEnd(java.lang.String end) |
Sets the end date of the team-event.
|
void |
setRecurrenceRule(java.lang.String recurrenceRule) |
Sets the recurrence rule.
|
void |
setStart(java.lang.String start) |
Sets the start date of the team-event.
|
void |
setTeamSubtype(java.lang.String subtype) |
Sets the team subtype.
|
void |
setTeamTable(HeaderTableParserElement table) |
Sets the team-entries from html-table-parser.
|
void |
setTeamType(java.lang.String type) |
Sets the team type.
|
java.lang.String |
toString() |
|
java.util.List<ValidationMessage> |
validate() |
Validate.
|
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, setUpdateable, setVersionpublic Team()
public Team(IDataitem dataitem)
dataitem - the dataitem of the team of class
TeamDataitempublic void setRecurrenceRule(java.lang.String recurrenceRule)
recurrenceRule - the new recurrence rulepublic void setTeamType(java.lang.String type)
type - the new team typepublic java.lang.String getTeamType()
public void setTeamSubtype(java.lang.String subtype)
subtype - the new team subtypepublic java.lang.String getTeamSubtype()
public void setEnd(java.lang.String end)
end - the new endpublic java.lang.String getEnd()
public java.util.List<IWorkitem> getReferencedItems()
IWorkitemgetReferencedItems in interface IWorkitemgetReferencedItems in class DefaultWorkitempublic void setStart(java.lang.String start)
start - the new startpublic java.lang.String getStart()
public int getDuration()
public java.lang.Integer getCRRHour()
public int getCRRWeekdayNo()
public java.lang.String getCRRWeekday()
public int getCRRDuration()
public java.util.Date getEndDate()
public java.util.Date getStartDate()
public void setCategory(java.lang.String category)
category - the new categorypublic java.lang.String getCategory()
public CircleadRecurrenceRule getCircleadRecurrenceRule()
public java.lang.String getRecurrenceRule()
public java.util.Map<Parameter,java.lang.Object> getDataRow()
getDataRow in interface IDataRowpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - the new descriptionpublic void setTeamTable(HeaderTableParserElement table)
table - the new team tablepublic void addTeamEnty(TeamEntry teamEntry)
teamEntry - the team entrypublic java.util.List<TeamEntry> getTeamEntries()
public TeamDataitem getDataitem()
DefaultWorkitemgetDataitem in class DefaultWorkitempublic java.lang.String toString()
toString in class DefaultWorkitempublic int getTeamSize()
public double getRedundance()
public java.util.List<java.lang.String> getTeamMembers(Role role)
role - the rolepublic java.lang.String getReadableRule()
public java.util.List<java.lang.String> getRoles(Person person)
person - the personpublic java.util.List<java.lang.String> getTeamMembers()
public org.jsoup.nodes.Element render(ISynchronizer synchronizer)
render in interface IWorkitemRenderersynchronizer - the synchronizerpublic java.util.Map<java.lang.String,java.lang.Integer> getTeamroleMatch()
public java.util.List<ValidationMessage> validate()
validate in interface IValidatorpublic java.util.List<Timeslice> getAllokationSlices(org.dmfs.rfc5545.recur.Freq freq)
freq - the freqpublic java.util.List<Timeslice> getAllokationSlices(Person person, org.dmfs.rfc5545.recur.Freq freq)
person - the personfreq - the freqpublic double getAverageAllokation(Person person, org.dmfs.rfc5545.recur.Freq freq)
person - the personfreq - the freq