com.empireclassic.Remote
Class ParamInfo

java.lang.Object
  extended by com.empireclassic.Remote.ParamInfo

public class ParamInfo
extends java.lang.Object

Provide an abstraction of Empire game meta-data.

Author:
chas

Constructor Summary
ParamInfo(java.lang.String initString)
          Construct a ParamInfo from a server response string
 
Method Summary
 java.lang.Double getDateIncrement()
           
 java.lang.String getDbVersion()
           
 java.lang.Double getGameEndDate()
           
 java.lang.Double getLastPowerDate()
           
 java.lang.Double getNewsmanIncrement()
           
 int getNumIslands()
           
 java.lang.String getSchema()
           
 java.lang.String getServerSource()
           
 java.lang.String getServerVersion()
           
 java.lang.Double getShipDayLength()
           
 EmpireDimension getWorldSize()
           
 void setDateIncrement(java.lang.Double dateIncrement)
           
 void setDbVersion(java.lang.String dbVersion)
           
 void setGameEndDate(java.lang.Double gameEndDate)
           
 void setLastPowerDate(java.lang.Double lastPowerDate)
           
 void setNewsmanIncrement(java.lang.Double newsmanIncrement)
           
 void setNumIslands(int numIslands)
           
 void setSchema(java.lang.String schema)
           
 void setServerSource(java.lang.String serverSource)
           
 void setServerVersion(java.lang.String serverVersion)
           
 void setShipDayLength(java.lang.Double shipDayLength)
           
 void setWorldSize(EmpireDimension worldSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParamInfo

public ParamInfo(java.lang.String initString)
Construct a ParamInfo from a server response string

Parameters:
initString - The string from the server
Method Detail

getDateIncrement

public java.lang.Double getDateIncrement()

setDateIncrement

public void setDateIncrement(java.lang.Double dateIncrement)

getGameEndDate

public java.lang.Double getGameEndDate()

setGameEndDate

public void setGameEndDate(java.lang.Double gameEndDate)

getNewsmanIncrement

public java.lang.Double getNewsmanIncrement()

setNewsmanIncrement

public void setNewsmanIncrement(java.lang.Double newsmanIncrement)

getNumIslands

public int getNumIslands()

setNumIslands

public void setNumIslands(int numIslands)

getSchema

public java.lang.String getSchema()

setSchema

public void setSchema(java.lang.String schema)

getDbVersion

public java.lang.String getDbVersion()

setDbVersion

public void setDbVersion(java.lang.String dbVersion)

getServerSource

public java.lang.String getServerSource()

setServerSource

public void setServerSource(java.lang.String serverSource)

getServerVersion

public java.lang.String getServerVersion()

setServerVersion

public void setServerVersion(java.lang.String serverVersion)

getShipDayLength

public java.lang.Double getShipDayLength()

setShipDayLength

public void setShipDayLength(java.lang.Double shipDayLength)

getWorldSize

public EmpireDimension getWorldSize()

setWorldSize

public void setWorldSize(EmpireDimension worldSize)

getLastPowerDate

public java.lang.Double getLastPowerDate()

setLastPowerDate

public void setLastPowerDate(java.lang.Double lastPowerDate)