cad.simcad.worldsimulator.world
Class GaiaGenome

java.lang.Object
  |
  +--cad.simcad.worldsimulator.world.GaiaGenome
All Implemented Interfaces:
Genomable, java.io.Serializable

public class GaiaGenome
extends java.lang.Object
implements Genomable

Author:
Administrator
See Also:
Serialized Form

Constructor Summary
GaiaGenome()
          Creates a new instance of GaiaGenome
 
Method Summary
 AgeContext getAgeContext()
          Returns the age id for this Genomable
 int getId()
          Returns the id for this Genomable
 java.lang.String getName()
          Returns the name for this Genomable
 int getTimeId()
           
 void setAgeContext(AgeContext ac)
          Set the AgeContext for this Genomable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GaiaGenome

public GaiaGenome()
Creates a new instance of GaiaGenome

Method Detail

getId

public int getId()
Description copied from interface: Genomable
Returns the id for this Genomable

Specified by:
getId in interface Genomable
Returns:
a int, the Id of that Genomable, as an integer

getTimeId

public int getTimeId()

getName

public java.lang.String getName()
Description copied from interface: Genomable
Returns the name for this Genomable

Specified by:
getName in interface Genomable
Returns:
a String

getAgeContext

public AgeContext getAgeContext()
Returns the age id for this Genomable

Specified by:
getAgeContext in interface Genomable
Pre:
An initialized Genomable object
Returns:
an AgeContext object
Post:
The AgeContext of this Genomable object is returned

setAgeContext

public void setAgeContext(AgeContext ac)
Set the AgeContext for this Genomable

Specified by:
setAgeContext in interface Genomable
Parameters:
ac - the new AgeContext
Pre:
-
Post:
The Owner own AgeContext field is updated

Logo

With the help of www.sourceforge.net and www.info.ucl.ac.be