|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmodel.tournament.TournamentDataModel
model.tournament.TournamentDataModelEditor
model.TournamentInitializer
public class TournamentInitializer
TournamentInitializer is used to create a new Tournament object. When the run-method is called the a new Tournament object is created with the data in the initializer and added to the TournamentManager. A subclass of TournamentDataModelEditor.
Constructor Summary | |
---|---|
TournamentInitializer(ID tournament_id)
Creates a new initializer with the given ID object. |
Method Summary | |
---|---|
protected void |
addDiscount(Discount discount)
An implementation of the abstract method in superclass TournamentDataModel. |
void |
addDiscount(java.lang.String name,
java.lang.String amount,
boolean dominant)
An implementation of the abstract method in superclass TournamentDataModel. |
void |
run()
An implementation of the abstract method in superclass TournamentDataModel. |
Methods inherited from class model.tournament.TournamentDataModelEditor |
---|
setBaseFee, setBaseFee, setDate, setDate, setDefaultCountry, setDefaultCountry, setHtml, setName, setPreregistrationOpen, setTournamentOpen |
Methods inherited from class model.tournament.TournamentDataModel |
---|
getBaseFee, getDate, getDefaultCountry, getDiscounts, getHtml, getId, getName, hasDiscountId, isPreRegistrationOpen, isTournamentOpen, removeDiscount, setDiscounts |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TournamentInitializer(ID tournament_id) throws GoException
GoException
Method Detail |
---|
protected void addDiscount(Discount discount)
addDiscount
in class TournamentDataModel
public void addDiscount(java.lang.String name, java.lang.String amount, boolean dominant)
addDiscount
in class TournamentDataModelEditor
public void run() throws GoException
run
in class TournamentDataModelEditor
GoException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |