cad.simcad.worldsimulator.world
Class Gaia

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

public class Gaia
extends java.lang.Object
implements Owner

Author:
Administrator
See Also:
Serialized Form

Constructor Summary
Gaia()
          Creates a new instance of Gaia
 
Method Summary
 AgeContext getAgeContext()
          Returns the age id for this Owner
 java.awt.Color getColor()
          Returns the Color for this Owner This method is here to show that the Owner can be usefull on the top of Genomables
 Genomable getGenomable()
          Returns the Genomable of this Owner
 void setAgeContext(AgeContext ac)
          Set the AgeContext for this Genomable
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Gaia

public Gaia()
Creates a new instance of Gaia

Method Detail

getAgeContext

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

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

getColor

public java.awt.Color getColor()
Returns the Color for this Owner This method is here to show that the Owner can be usefull on the top of Genomables

Specified by:
getColor in interface Owner
Pre:
An Owner initialized
Returns:
a Color
Post:
The Color associated with the Owner is returned

getGenomable

public Genomable getGenomable()
Returns the Genomable of this Owner

Specified by:
getGenomable in interface Owner
Pre:
An Owner initialized
Returns:
a Genomable object
Post:
The Genomable associated with the Owner is returned

setAgeContext

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

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Logo

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