2004.04.29


com.jdc.rdb.tbl.dto
Class DataTransferObject

java.lang.Object
  |
  +--com.jdc.lang.Object
        |
        +--com.jdc.rdb.tbl.dto.DataTransferObject
Direct Known Subclasses:
ApplicationTableDTO, ReferenceTableDTO

public abstract class DataTransferObject
extends Object

DataTransferObject represents a data tranfer object, i. e.  a row from a database table. All data transfer object classes should subclass this DataTransferObject class or one of its subclasses.

Version:
1.0
Author:
Jay Damon
See Also:
DataAccessObject

Field Summary
 
Fields inherited from class com.jdc.lang.Object
string
 
Constructor Summary
protected DataTransferObject(boolean isFound)
          Constructs a new DataTransferObject object for the specified database table row status.
 
Method Summary
 boolean isFound()
          Returns true if the database table row is found.
 void setFound(boolean isFound)
          Sets the the database table row status.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataTransferObject

protected DataTransferObject(boolean isFound)
Constructs a new DataTransferObject object for the specified database table row status.

Method Detail

isFound

public boolean isFound()
Returns true if the database table row is found.

Returns:
True if the database table row is found.
False if the database table row is not found.

setFound

public void setFound(boolean isFound)
Sets the the database table row status.


2004.04.29



Copyright © 2004 J. Damon & Co.; All Rights Reserved WorldWide.