org.strutsme.wishlist.persistence.dto.impl
Class BaseDtoImpl

java.lang.Object
  extended by org.strutsme.wishlist.persistence.dto.impl.BaseDtoImpl
All Implemented Interfaces:
java.io.Serializable, BaseDto
Direct Known Subclasses:
UserDtoImpl, WishDtoImpl

public class BaseDtoImpl
extends java.lang.Object
implements java.io.Serializable, BaseDto

Implementation of base class for DTOs.

Author:
lbusmann
See Also:
Serialized Form

Constructor Summary
BaseDtoImpl()
           
 
Method Summary
 java.util.Date getCreatedAt()
          
 java.lang.String getId()
          The Id of object.
 void setCreatedAt(java.util.Date createdAt)
          
 void setId(java.lang.String id)
          Sets the id of object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseDtoImpl

public BaseDtoImpl()
Method Detail

getId

public final java.lang.String getId()
The Id of object.

Specified by:
getId in interface BaseDto
Returns:
the id

setId

public final void setId(java.lang.String id)
Sets the id of object.

Specified by:
setId in interface BaseDto
Parameters:
id - the id.

getCreatedAt

public final java.util.Date getCreatedAt()

Specified by:
getCreatedAt in interface BaseDto
Returns:
the createdAt

setCreatedAt

public final void setCreatedAt(java.util.Date createdAt)

Specified by:
setCreatedAt in interface BaseDto
Parameters:
createdAt - the createdAt to set