Class Country

java.lang.Object
  |
  +--Country
Direct Known Subclasses:
SimCountry

public class Country
extends java.lang.Object

This objects keeps the state of Country objects for HelloWorld simulation.


Field Summary
protected  double currentTime
           
protected  java.lang.String myCountryName
           
protected  double myPopulation
           
protected  int ObjectID
           
 
Constructor Summary
Country()
           
Country(int _ObjectID)
           
Country(java.lang.String _name, double _initialPopulation, int _ObjectID)
           
 
Method Summary
 double getCurrentTime()
           
 java.lang.String getName()
           
 int getObjectID()
           
 double getPopulation()
           
 void setCurrentTime(double _time)
           
 void setName(java.lang.String _newName)
           
 void setObjectID(int _ObjectID)
           
 void setPopulation(double _population)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

myPopulation

protected double myPopulation

myCountryName

protected java.lang.String myCountryName

ObjectID

protected int ObjectID

currentTime

protected double currentTime
Constructor Detail

Country

public Country()

Country

public Country(int _ObjectID)

Country

public Country(java.lang.String _name,
               double _initialPopulation,
               int _ObjectID)
Method Detail

setName

public void setName(java.lang.String _newName)

setPopulation

public void setPopulation(double _population)

setObjectID

public void setObjectID(int _ObjectID)

setCurrentTime

public void setCurrentTime(double _time)

getPopulation

public double getPopulation()

getName

public java.lang.String getName()

getObjectID

public int getObjectID()

getCurrentTime

public double getCurrentTime()