|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.freecol.common.model.FreeColObject
net.sf.freecol.common.model.HighScore
public class HighScore
Nested Class Summary | |
---|---|
static class |
HighScore.Level
On retirement, an object will be named in honour of the player. |
Field Summary |
---|
Fields inherited from class net.sf.freecol.common.model.FreeColObject |
---|
ID_ATTRIBUTE_TAG |
Constructor Summary | |
---|---|
HighScore(org.w3c.dom.Element element)
|
|
HighScore(Player player,
java.util.Date theDate)
|
|
HighScore(javax.xml.stream.XMLStreamReader in)
|
Method Summary | |
---|---|
int |
getColonies()
Get the Colonies value. |
java.util.Date |
getDate()
Get the Date value. |
java.lang.String |
getDifficulty()
Get the Difficulty value. |
int |
getIndependenceTurn()
Get the IndependenceTurn value. |
HighScore.Level |
getLevel()
Get the Level value. |
java.lang.String |
getNationID()
Get the NationID value. |
java.lang.String |
getNationName()
Get the NationName value. |
java.lang.String |
getNationTypeID()
Get the NationTypeID value. |
java.lang.String |
getNewLandName()
Get the NewLandName value. |
java.lang.String |
getOldNationName()
Get the Nation's localized name. |
java.lang.String |
getPlayerName()
Get the PlayerName value. |
int |
getRetirementTurn()
Get the RetirementTurn value. |
int |
getScore()
Get the Score value. |
int |
getUnits()
Get the Units value. |
static java.lang.String |
getXMLElementTagName()
Returns the tag name of the root element representing this object. |
void |
setColonies(int newColonies)
Set the Colonies value. |
void |
setDate(java.util.Date newDate)
Set the Date value. |
void |
setDifficulty(java.lang.String newDifficulty)
Set the Difficulty value. |
void |
setIndependenceTurn(int newIndependenceTurn)
Set the IndependenceTurn value. |
void |
setLevel(HighScore.Level newLevel)
Set the Level value. |
void |
setNationID(java.lang.String newNationID)
Set the NationID value. |
void |
setNationName(java.lang.String newNationName)
Set the NationName value. |
void |
setNationTypeID(java.lang.String newNationTypeID)
Set the NationTypeID value. |
void |
setNewLandName(java.lang.String newNewLandName)
Set the NewLandName value. |
void |
setPlayerName(java.lang.String newPlayerName)
Set the PlayerName value. |
void |
setRetirementTurn(int newRetirementTurn)
Set the RetirementTurn value. |
void |
setScore(int newScore)
Set the Score value. |
void |
setUnits(int newUnits)
Set the Units value. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HighScore(Player player, java.util.Date theDate)
public HighScore(javax.xml.stream.XMLStreamReader in) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public HighScore(org.w3c.dom.Element element) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
Method Detail |
---|
public final int getIndependenceTurn()
IndependenceTurn
value.
int
valuepublic final void setIndependenceTurn(int newIndependenceTurn)
IndependenceTurn
value.
newIndependenceTurn
- The new IndependenceTurn value.public final int getRetirementTurn()
RetirementTurn
value.
int
valuepublic final void setRetirementTurn(int newRetirementTurn)
RetirementTurn
value.
newRetirementTurn
- The new RetirementTurn value.public final java.lang.String getPlayerName()
PlayerName
value.
String
valuepublic final void setPlayerName(java.lang.String newPlayerName)
PlayerName
value.
newPlayerName
- The new PlayerName value.public final java.lang.String getNationID()
NationID
value.
String
valuepublic final void setNationID(java.lang.String newNationID)
NationID
value.
newNationID
- The new NationID value.public final java.lang.String getNationTypeID()
NationTypeID
value.
String
valuepublic final void setNationTypeID(java.lang.String newNationTypeID)
NationTypeID
value.
newNationTypeID
- The new NationTypeID value.public final int getScore()
Score
value.
int
valuepublic final void setScore(int newScore)
Score
value.
newScore
- The new Score value.public final HighScore.Level getLevel()
Level
value.
Level
valuepublic final void setLevel(HighScore.Level newLevel)
Level
value.
newLevel
- The new Level value.public final java.lang.String getOldNationName()
Nation's
localized name.
String
valuepublic final java.lang.String getNationName()
NationName
value.
String
valuepublic final void setNationName(java.lang.String newNationName)
NationName
value.
newNationName
- The new NationName value.public final java.lang.String getNewLandName()
NewLandName
value.
String
valuepublic final void setNewLandName(java.lang.String newNewLandName)
NewLandName
value.
newNewLandName
- The new NewLandName value.public final java.lang.String getDifficulty()
Difficulty
value.
String
valuepublic final void setDifficulty(java.lang.String newDifficulty)
Difficulty
value.
newDifficulty
- The new Difficulty value.public final int getUnits()
Units
value.
int
valuepublic final void setUnits(int newUnits)
Units
value.
newUnits
- The new Units value.public final int getColonies()
Colonies
value.
int
valuepublic final void setColonies(int newColonies)
Colonies
value.
newColonies
- The new Colonies value.public final java.util.Date getDate()
Date
value.
Date
valuepublic final void setDate(java.util.Date newDate)
Date
value.
newDate
- The new Date value.public static java.lang.String getXMLElementTagName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |