com.rubecula.darwin.domain.helper
Interface Census

All Known Subinterfaces:
SinkCensus
All Known Implementing Classes:
Census_, Census_Darwinian, Census_Detail, Census_Log, Census_Sink, Census_Standard, Census_TS, Census_WingColor

public interface Census

Author:
Robin Hillyard

Method Summary
 void census(Censusible individual, int depth, java.lang.Object context)
          Collect and process census information about the individual specified.
 void present(java.lang.String string, java.lang.Object context)
          Append the string to the current census.
 

Method Detail

census

void census(Censusible individual,
            int depth,
            java.lang.Object context)
Collect and process census information about the individual specified.

Parameters:
individual - the object to be censused.
depth - the number of levels of depth which shall be censused below this object.
context - an arbitrary object which defines the context in which this census is happening.

present

void present(java.lang.String string,
             java.lang.Object context)
Append the string to the current census.

Parameters:
string - the string value of the census
context - an arbitrary object which defines the context in which this census is happening.


Copyright © 2010 Rubecula Software, LLC. All Rights Reserved.