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 AboutParticipant
public void set(String name, String value)
set
in interface AboutParticipant
public String getName()
getName
in interface AboutParticipant
public URL getDescription()
getDescription
in interface AboutParticipant
public int getPriority()
getPriority
in interface AboutParticipant
public URL getIcon()
getIcon
in interface AboutParticipant
public AboutManager getManager()
getManager
in interface AboutParticipant
protected 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 AboutParticipant
public AboutContribution addContribution(String title, String description, Date begin, Date end)
addContribution
in interface AboutParticipant
public List<AboutContribution> getContributions()
getContributions
in interface AboutParticipant
public String getInformationPage()
getInformationPage
in interface AboutParticipant
public String getContributionsTable()
getContributionsTable
in interface AboutParticipant