@Entity(name="DAY") public class DayJPA extends Object
| Constructor and Description |
|---|
DayJPA()
Empty constructor for JPA
|
DayJPA(CompetitionJPA c) |
DayJPA(Date date,
String place)
Parametrized for JPA
|
DayJPA(int i,
Date date,
String place) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMatch(com.sun.org.apache.xerces.internal.impl.xpath.regex.Match m)
Adds a match to the Linked List of matches of the day
|
String |
getComments()
Gets the comments on this day
|
CompetitionJPA |
getCompetition()
Gets teh competition celebrated this day
|
Date |
getDate()
Gets the day of celebration
|
String |
getDescription()
Gets the description of the day
|
List<com.sun.org.apache.xerces.internal.impl.xpath.regex.Match> |
getMatches()
Gets the Linked List of matches celebrated this day
|
int |
getN()
Gets the day number
|
String |
getPlace()
Gets the place of celebration
|
String |
getStatus()
Gets the status of the day
|
void |
setComments(String c)
Sets the comments on this day
|
void |
setCompetition(CompetitionJPA c)
Sets the competition celebrated this day
|
void |
setDate(Date d)
Sets the date of the day
|
void |
setDescription(String d)
Sets the description of the day
|
void |
setN(int n)
Sets the day number
|
void |
setPlace(String p)
Sets the place of celebration
|
void |
setStatus(String s)
Sets the status of the day
|
public DayJPA(Date date, String place)
date - Date of the dayplace - String with the place of celebrationpublic DayJPA(CompetitionJPA c)
c - Competition celebrated this daypublic DayJPA()
public void setN(int n)
n - Integer with the day numberpublic int getN()
public void setDate(Date d)
d - Date of celebrationpublic Date getDate()
public void setPlace(String p)
p - String with the place of celebrationpublic String getPlace()
public void setComments(String c)
c - String with the comments on this daypublic String getComments()
public void setDescription(String d)
d - String with the description of the daypublic String getDescription()
public void setStatus(String s)
s - String with the status of the daypublic String getStatus()
public void addMatch(com.sun.org.apache.xerces.internal.impl.xpath.regex.Match m)
m - Match celebrated this daypublic List<com.sun.org.apache.xerces.internal.impl.xpath.regex.Match> getMatches()
public void setCompetition(CompetitionJPA c)
c - CompetitionJPA celebrated this dayCompetitionJPApublic CompetitionJPA getCompetition()
CompetitionJPACopyright © 2017. All rights reserved.