@Entity public class Fixture extends Object
| Constructor and Description |
|---|
Fixture()
Constructor for JPA Fixture which is empty
|
Fixture(int number,
Date date,
String place)
Constructor for JPA Fixture which gets some necessary parameters to create a fixture
|
| Modifier and Type | Method and Description |
|---|---|
String |
getComments()
Get the comments of the fixture
|
Competition |
getCompetition()
Get the competition which belongs to fixture
|
Date |
getDate()
Get the date of the fixture
|
Date |
getDeleted()
Get the deleted date of the fixture if the fixture is deleted
|
String |
getDescription()
Get the description of the fixture
|
int |
getId()
Get the id of the fixture
|
int |
getNumber()
Get the number of the fixture
|
String |
getPlace()
Get the place of the fixture
|
String |
getStatus()
Get the status of the fixture.
|
void |
setComments(String comments)
Set the comments of the fixture
|
void |
setCompetition(Competition competition)
Set the competition which belongs to fixture
|
void |
setDate(Date date)
Set the date of the fixture
|
void |
setDeleted(Date deleted)
Set the deleted date of the fixture.
|
void |
setDescription(String description)
Set the description of the fixture
|
void |
setNumber(int number)
Set the number of the fixture
|
void |
setPlace(String place)
Set the place of the fixture
|
void |
setStatus(String status)
Set the status of the fixture
|
public int getNumber()
public void setNumber(int number)
number - Set the new number of the fixturepublic Date getDate()
public void setDate(Date date)
date - The new date of the fixturepublic String getPlace()
public void setPlace(String place)
place - The new place of the fixturepublic String getStatus()
public void setStatus(String status)
status - The new status of the fixturepublic String getDescription()
public void setDescription(String description)
description - The new description of the fixturepublic String getComments()
public void setComments(String comments)
comments - The new comments of the fixturepublic Date getDeleted()
public void setDeleted(Date deleted)
deleted - The deleted day of the fixturepublic int getId()
public Competition getCompetition()
Competitionpublic void setCompetition(Competition competition)
competition - The competition which belongs to fixtureCopyright © 2017. All rights reserved.