com.bankframe.ejb.extension
Class Populator

java.lang.Object
  extended bycom.bankframe.ejb.extension.Populator

public abstract class Populator
extends java.lang.Object

Populator superclass, used by all Entity Populators.


Constructor Summary
Populator()
           
 
Method Summary
abstract  java.util.Enumeration generatePrimaryKeys(java.util.Vector data)
          This mehtod generates the primary keys for a vector of data
abstract  void populate(java.lang.Object item, DataPacket data)
          This method populates a given item with data
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Populator

public Populator()
Method Detail

generatePrimaryKeys

public abstract java.util.Enumeration generatePrimaryKeys(java.util.Vector data)
This mehtod generates the primary keys for a vector of data

Parameters:
data - the data to generate the keys from
Returns:
an enumeration of primary keys

populate

public abstract void populate(java.lang.Object item,
                              DataPacket data)
This method populates a given item with data

Parameters:
item - the object to populate
data - the data to populate the object with


Copyright © 2005, 2007, Oracle. All rights reserved.