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