cad.simcad.objectserver.spec.context
Interface Genomable

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
DefaultGenome, GaiaGenome, LondonGenome

public interface Genomable
extends java.io.Serializable

Interface for specifying race features This interface will tell a SimObject which kind of genone context is present. This is for modelling different kinds variations of a same object

Version:
1.0
Author:
Charles-Philip Bentley

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
 void setAgeContext(AgeContext ac)
          Set the AgeContext for this Genomable
 

Method Detail

getName

public java.lang.String getName()
Returns the name for this Genomable

Pre:
-
Returns:
a String
Post:
-

getId

public int getId()
Returns the id for this Genomable

Pre:
-
Returns:
a int, the Id of that Genomable, as an integer
Post:
-

getAgeContext

public AgeContext getAgeContext()
Returns the age id for this 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

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