cad.simcad.objectserver.spec.context
Interface Owner

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
DefaultOwner, Gaia, LondonService

public interface Owner
extends java.io.Serializable

Represents a physical owner. A real person or organization. The AgeContext of one Owner can be different from the AgeContext of its Genomable

Version:
1.0
Author:
Charles-Philip Bentley

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
 

Method Detail

getGenomable

public Genomable getGenomable()
Returns the Genomable of this Owner

Pre:
An Owner initialized
Returns:
a Genomable object
Post:
The Genomable associated with the Owner 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

Pre:
An Owner initialized
Returns:
a Color
Post:
The Color associated with the Owner is returned

getAgeContext

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

Pre:
An initialized Owner object
Returns:
an AgeContext object
Post:
The AgeContext of this Owner 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