public class Participant extends Lookup implements java.lang.Comparable<java.lang.Object>, java.io.Serializable
code, description, number, subDescription
Modifier and Type | Method and Description |
---|---|
static boolean |
contains(java.lang.String participant)
Given a participant code it will return true or false depending if the participant exists
|
static java.util.List<Participant> |
getAllParticipants()
Getting the participant list based on the sendToAnyParticipant
|
java.lang.String |
getDirectory() |
java.sql.Date |
getEndDate() |
static java.util.List<Participant> |
getList()
The static classes are used to define and retrieve enumerations from the database.
|
static java.util.List<Participant> |
getList(java.lang.String transactionDesc,
java.lang.String np) |
java.lang.String |
getName() |
static Participant |
getParticipant(java.lang.String participant)
Given a participant code it will return the participant object representing the code
|
java.lang.String |
getShortName() |
java.sql.Date |
getStartDate() |
java.lang.String |
toString() |
checkResult
compareTo, contains, equals, getCode, getDescription, getEnumeration, getNumber, getSubDescription
public static java.util.List<Participant> getList() throws UnableToLookupResourceException
UnableToLookupResourceException
- if the database is not accessiblepublic static Participant getParticipant(java.lang.String participant) throws UnableToLookupResourceException
participant
- the participant to look upUnableToLookupResourceException
- if the database is not accessiblepublic static boolean contains(java.lang.String participant) throws UnableToLookupResourceException
participant
- the participant to look upUnableToLookupResourceException
- if the database is not accessiblepublic java.lang.String getShortName()
public java.lang.String getName()
public java.sql.Date getStartDate()
public java.sql.Date getEndDate()
public java.lang.String getDirectory()
public java.lang.String toString()
toString
in class Enumeration
public static java.util.List<Participant> getList(java.lang.String transactionDesc, java.lang.String np)
public static java.util.List<Participant> getAllParticipants() throws UnableToLookupResourceException
UnableToLookupResourceException
- if the database is not accessible