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