org.gscg.singleuser.interactionlayer.dataobjects
Class CurrentRowOrColumnData

java.lang.Object
  extended byorg.gscg.singleuser.interactionlayer.dataobjects.CurrentRowOrColumnData
All Implemented Interfaces:
DataInterface, java.io.Serializable

public class CurrentRowOrColumnData
extends java.lang.Object
implements java.io.Serializable, DataInterface

The CurrentRowOrColumnData reflects a data object meant for client side. It includes the up-to-date values for the day, month and year in a game.

Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl . The source code and binary code of this software is proprietary information of Delft University of Technology.

Since:
1.0.0
Version:
$Revision: 1.1 $ $Date: 2005/06/16 12:33:59 $
Author:
Stijn-Pieter van Houten
See Also:
Serialized Form

Field Summary
static java.lang.String UPDATE_CURRENT_DAY
          fired when the current row or column must be updated according to the simulation time
static java.lang.String UPDATE_CURRENT_MONTH
          fired when the current row or column must be updated according to the simulation time
static java.lang.String UPDATE_CURRENT_YEAR
          fired when the current row or column must be updated according to the simulation time
 
Constructor Summary
CurrentRowOrColumnData(int day, int month, int year)
          constructs a new CurrentRowOrColumnData
 
Method Summary
 java.lang.String getData(java.lang.String key)
          Method getData.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UPDATE_CURRENT_DAY

public static final java.lang.String UPDATE_CURRENT_DAY
fired when the current row or column must be updated according to the simulation time

See Also:
Constant Field Values

UPDATE_CURRENT_MONTH

public static final java.lang.String UPDATE_CURRENT_MONTH
fired when the current row or column must be updated according to the simulation time

See Also:
Constant Field Values

UPDATE_CURRENT_YEAR

public static final java.lang.String UPDATE_CURRENT_YEAR
fired when the current row or column must be updated according to the simulation time

See Also:
Constant Field Values
Constructor Detail

CurrentRowOrColumnData

public CurrentRowOrColumnData(int day,
                              int month,
                              int year)
constructs a new CurrentRowOrColumnData

Parameters:
day - the day
month - the month
year - the year
Method Detail

getData

public java.lang.String getData(java.lang.String key)
Description copied from interface: DataInterface
Method getData.

Specified by:
getData in interface DataInterface
Parameters:
key - the key for the data
Returns:
returns a String based on the key, or null if the key is unknown
See Also:
DataInterface.getData(java.lang.String)


Copyright © 2002-2005 Delft University of Technology, the Netherlands. All Rights Reserved.