public class AbstractParticipant extends Object implements AboutParticipant
| Modifier and Type | Field and Description |
|---|---|
protected List<AboutContribution> |
contributions |
| Constructor and Description |
|---|
AbstractParticipant(AboutManager manager,
String name,
URL description,
int priority,
URL icon) |
| Modifier and Type | Method and Description |
|---|---|
AboutContribution |
addContribution(String title,
String description,
Date begin,
Date end) |
AboutContribution |
addContribution(String title,
String description,
int begin_year,
int begin_month,
int begin_day,
int end_year,
int end_month,
int end_day) |
void |
addVariables(Map<String,String> vars) |
List<AboutContribution> |
getContributions() |
String |
getContributionsTable() |
protected Date |
getDate(int year,
int month,
int day) |
URL |
getDescription() |
URL |
getIcon() |
String |
getInformationPage() |
AboutManager |
getManager() |
String |
getName() |
int |
getPriority() |
void |
set(String name,
String value) |
String |
toString() |
protected List<AboutContribution> contributions
public AbstractParticipant(AboutManager manager, String name, URL description, int priority, URL icon)
public void addVariables(Map<String,String> vars)
addVariables in interface AboutParticipantpublic void set(String name, String value)
set in interface AboutParticipantpublic String getName()
getName in interface AboutParticipantpublic URL getDescription()
getDescription in interface AboutParticipantpublic int getPriority()
getPriority in interface AboutParticipantpublic URL getIcon()
getIcon in interface AboutParticipantpublic AboutManager getManager()
getManager in interface AboutParticipantprotected Date getDate(int year, int month, int day)
public AboutContribution addContribution(String title, String description, int begin_year, int begin_month, int begin_day, int end_year, int end_month, int end_day)
addContribution in interface AboutParticipantpublic AboutContribution addContribution(String title, String description, Date begin, Date end)
addContribution in interface AboutParticipantpublic List<AboutContribution> getContributions()
getContributions in interface AboutParticipantpublic String getInformationPage()
getInformationPage in interface AboutParticipantpublic String getContributionsTable()
getContributionsTable in interface AboutParticipant