© 2003 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
All Implemented Interfaces:
Serializable, 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(String attributeIdentifier, Object container)
          constructor
 
Method Summary
static void doCreate(Connection connection, Object key)
           
static void doDelete(Connection connection, Object key)
           
 Collection doQuery(String attributeIdentifier, Object container)
          Perform the database query to fill this map.
static void doUpdate(Connection connection, Object key, Object containedInstance, Object container)
           
protected  Object getPrimaryKey(Object object)
          return the primary key values for this object
static void update(Connection connection, Object key, 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(String attributeIdentifier,
                                                                    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
Method Detail

doQuery

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

Specified by:
doQuery in class com.beasys.commerce.foundation.plugin.bmp.BMPBelongingSmartCollectionReference
BMPException

getPrimaryKey

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

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

update

public static void update(Connection connection,
                          Object key,
                          Object container)
                   throws BMPException
BMPException

doCreate

public static void doCreate(Connection connection,
                            Object key)
                     throws BMPException
BMPException

doDelete

public static void doDelete(Connection connection,
                            Object key)
                     throws BMPException
BMPException

doUpdate

public static void doUpdate(Connection connection,
                            Object key,
                            Object containedInstance,
                            Object container)
                     throws BMPException
BMPException

© 2003 BEA Systems, Inc.

Copyright © 2003 BEA Systems, Inc. All Rights Reserved