gov.nih.nci.caarray.services.util.ojb
Class PBLifeCycleListenerMAGEIdentifierAssigner

java.lang.Object
  extended by gov.nih.nci.caarray.services.util.ojb.PBLifeCycleAdapter
      extended by gov.nih.nci.caarray.services.util.ojb.PBLifeCycleListenerMAGEIdentifierAssigner
All Implemented Interfaces:
org.apache.ojb.broker.PBLifeCycleListener, org.apache.ojb.broker.PBListener

public final class PBLifeCycleListenerMAGEIdentifierAssigner
extends PBLifeCycleAdapter

Author:
TranP

Constructor Summary
PBLifeCycleListenerMAGEIdentifierAssigner()
           
 
Method Summary
static void assignIdentifier(Identifiable obj)
          Assign the Identifier value to an MAGE object using the format :::
 void beforeInsert(org.apache.ojb.broker.PBLifeCycleEvent event)
           
 
Methods inherited from class gov.nih.nci.caarray.services.util.ojb.PBLifeCycleAdapter
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeUpdate, getCascadingStore, setCascadingStore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PBLifeCycleListenerMAGEIdentifierAssigner

public PBLifeCycleListenerMAGEIdentifierAssigner()
Method Detail

beforeInsert

public void beforeInsert(org.apache.ojb.broker.PBLifeCycleEvent event)
                  throws org.apache.ojb.broker.PersistenceBrokerException
Specified by:
beforeInsert in interface org.apache.ojb.broker.PBLifeCycleListener
Overrides:
beforeInsert in class PBLifeCycleAdapter
Throws:
org.apache.ojb.broker.PersistenceBrokerException

assignIdentifier

public static final void assignIdentifier(Identifiable obj)
Assign the Identifier value to an MAGE object using the format :::

Parameters:
obj - Made public so we could find identifiers