org.davesag.generica.core
Interface DateStamped

All Known Subinterfaces:
Content
All Known Implementing Classes:
AbstractContent, AbstractDateStamped

public interface DateStamped

Objects that implement the DateStamped interface have a created and last modified date.

Since:
Generica 1.0
Version:
CVS Revision $Id: DateStamped.java,v 1.6 2004/03/30 10:12:57 norm Exp $
Author:
Dave Sag http://www.davesag.com

Method Summary
 Date getCreated()
          Get the date that this DateStamped was created.
 Date getLastModified()
          Get the date that this DateStamped was last modified.
 void setCreated(Date date)
          Set this DateStamped's creation date.
 void setLastModified(Date date)
          Set this DateStamped's last modified date.
 

Method Detail

getCreated

public Date getCreated()
Get the date that this DateStamped was created.

Returns:
The Date this DateStamped was created.

setCreated

public void setCreated(Date date)
Set this DateStamped's creation date.

Parameters:
date - The Date that this DateStamped was created.

getLastModified

public Date getLastModified()
Get the date that this DateStamped was last modified.

Returns:
The Date this DateStamped was last modified.

setLastModified

public void setLastModified(Date date)
Set this DateStamped's last modified date.

Parameters:
date - The date this item was last modified.


Dave Sag Generica API version 0.5.9 - (prerelease) Copyright 2003 - 2004 Dave Sag.