public class Competition extends Object implements Comparable<Competition>
| Type | Property and Description |
|---|---|
javafx.beans.property.ObjectProperty<Boolean> |
active
Obtain the active property.
|
javafx.beans.property.ObjectProperty<String> |
name
Obtain the name property.
|
javafx.beans.property.ObjectProperty<Integer> |
playerCount
Obtain the player count property.
|
javafx.beans.property.ObjectProperty<LocalDate> |
startDate
Obtain the startDate property.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Competition.CompetitionComparator
Comparator class.
|
static class |
Competition.CompetitionField
Competition fields.
|
| Constructor and Description |
|---|
Competition()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
javafx.beans.property.ObjectProperty<Boolean> |
activeProperty()
Obtain the active property.
|
int |
compareTo(Competition pThat) |
boolean |
equals(Object pThat) |
FixtureList |
getFixtureList()
Obtain fixture list.
|
FixtureSet |
getFixtureSet(Integer pWeek)
Obtain the numbered fixtureSet.
|
CompetitionMatrix |
getMatrix()
Obtain matrix.
|
String |
getName()
Obtain the name.
|
Integer |
getNumWeeks()
Obtain the number of FixtureSets.
|
javafx.collections.ObservableList<Fixture> |
getOutstandingFixtures(LocalDate pBase)
Obtain the outstanding fixtures as of base date.
|
PlayerList |
getParticipants()
Obtain participants.
|
Integer |
getPlayerCount()
Obtain the player count.
|
PoolStatus |
getStatus()
Obtain the status.
|
CompetitionStandings |
getTable()
Obtain table.
|
int |
hashCode() |
Boolean |
isActive()
Is the player active?
|
javafx.beans.property.ObjectProperty<String> |
nameProperty()
Obtain the name property.
|
javafx.beans.property.ObjectProperty<Integer> |
playerCountProperty()
Obtain the player count property.
|
void |
processFixtures()
process the fixtures.
|
void |
setName(String pName)
Set the name.
|
void |
setStartDate(LocalDate pDate)
Set the startDate.
|
javafx.beans.property.ObjectProperty<LocalDate> |
startDateProperty()
Obtain the startDate property.
|
String |
toString() |
void |
updateDates()
update dates.
|
public javafx.beans.property.ObjectProperty<String> nameProperty
getName(),
setName(String)public javafx.beans.property.ObjectProperty<LocalDate> startDateProperty
setStartDate(LocalDate)public javafx.beans.property.ObjectProperty<Integer> playerCountProperty
getPlayerCount()public javafx.beans.property.ObjectProperty<Boolean> activeProperty
public javafx.beans.property.ObjectProperty<String> nameProperty()
getName(),
setName(String)public javafx.beans.property.ObjectProperty<LocalDate> startDateProperty()
setStartDate(LocalDate)public javafx.beans.property.ObjectProperty<Integer> playerCountProperty()
getPlayerCount()public javafx.beans.property.ObjectProperty<Boolean> activeProperty()
public String getName()
public Boolean isActive()
public PlayerList getParticipants()
public FixtureList getFixtureList()
public Integer getNumWeeks()
public Integer getPlayerCount()
public FixtureSet getFixtureSet(Integer pWeek)
pWeek - the week #public CompetitionStandings getTable()
public CompetitionMatrix getMatrix()
public PoolStatus getStatus()
public void setName(String pName)
pName - the name.public void setStartDate(LocalDate pDate)
pDate - the date.public void updateDates()
public int compareTo(Competition pThat)
compareTo in interface Comparable<Competition>public javafx.collections.ObservableList<Fixture> getOutstandingFixtures(LocalDate pBase)
pBase - the base datepublic void processFixtures()
Copyright © 2015. All rights reserved.