© 2002 BEA Systems, Inc.


com.beasys.commerce.ebusiness.payment
Class PaymentTransaction_transactionEntry_SmartCollectionReference

java.lang.Object
  |
  +--com.beasys.commerce.foundation.plugin.bmp.BMPBelongingSmartCollectionReference
        |
        +--com.beasys.commerce.ebusiness.payment.PaymentTransaction_transactionEntry_SmartCollectionReference

public class PaymentTransaction_transactionEntry_SmartCollectionReference
extends com.beasys.commerce.foundation.plugin.bmp.BMPBelongingSmartCollectionReference

Base class for all SmartCollectionReferences for Belongings for BMP. Each subclass must implement its own query to fill the map.

See Also:
Serialized Form

Constructor Summary
PaymentTransaction_transactionEntry_SmartCollectionReference(java.lang.String attributeIdentifier, java.lang.Object container)
          constructor
 
Method Summary
static void doCreate(java.sql.Connection connection, java.lang.Object key)
           
static void doDelete(java.sql.Connection connection, java.lang.Object key)
           
 java.util.Collection doQuery(java.lang.String attributeIdentifier, java.lang.Object container)
          Perform the database query to fill this map.
static void doUpdate(java.sql.Connection connection, java.lang.Object key, java.lang.Object containedInstance, java.lang.Object container)
           
protected  java.lang.Object getPrimaryKey(java.lang.Object object)
          return the primary key values for this object
static void update(java.sql.Connection connection, java.lang.Object key, java.lang.Object container)
           
 
Methods inherited from class com.beasys.commerce.foundation.plugin.bmp.BMPBelongingSmartCollectionReference
cursor, deletedObjects, doSmartUpdate, fillReferenceMap, getCollection, newObjects, setCollection, updatedObjects
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaymentTransaction_transactionEntry_SmartCollectionReference

public PaymentTransaction_transactionEntry_SmartCollectionReference(java.lang.String attributeIdentifier,
                                                                    java.lang.Object container)
constructor

Parameters:
attributeIdentifier - the attribute identifier for this map reference. This is the fully qualified class name "dot" attribute e.g. example.Customer.creditCards where example.Customer is a class and creditCards is a map in the class
entityImpl - the entity that contains this map.
Method Detail

doQuery

public java.util.Collection doQuery(java.lang.String attributeIdentifier,
                                    java.lang.Object container)
                             throws BMPException
Perform the database query to fill this map.

Overrides:
doQuery in class com.beasys.commerce.foundation.plugin.bmp.BMPBelongingSmartCollectionReference

getPrimaryKey

protected java.lang.Object getPrimaryKey(java.lang.Object object)
return the primary key values for this object

Overrides:
getPrimaryKey in class com.beasys.commerce.foundation.plugin.bmp.BMPBelongingSmartCollectionReference

update

public static void update(java.sql.Connection connection,
                          java.lang.Object key,
                          java.lang.Object container)
                   throws BMPException

doCreate

public static void doCreate(java.sql.Connection connection,
                            java.lang.Object key)
                     throws BMPException

doDelete

public static void doDelete(java.sql.Connection connection,
                            java.lang.Object key)
                     throws BMPException

doUpdate

public static void doUpdate(java.sql.Connection connection,
                            java.lang.Object key,
                            java.lang.Object containedInstance,
                            java.lang.Object container)
                     throws BMPException

© 2002 BEA Systems, Inc.

Copyright © 2002 BEA Systems, Inc. All Rights Reserved