org.apache.openejb.core.cmp
Class ComplexKeyGenerator

java.lang.Object
  extended by org.apache.openejb.core.cmp.AbstractKeyGenerator
      extended by org.apache.openejb.core.cmp.ComplexKeyGenerator
All Implemented Interfaces:
KeyGenerator

public class ComplexKeyGenerator
extends AbstractKeyGenerator


Nested Class Summary
protected static class ComplexKeyGenerator.PkField
           
 
Field Summary
protected  java.util.List<ComplexKeyGenerator.PkField> fields
           
 
Constructor Summary
ComplexKeyGenerator(java.lang.Class entityBeanClass, java.lang.Class pkClass)
           
 
Method Summary
 java.lang.Object getPrimaryKey(javax.ejb.EntityBean bean)
           
 
Methods inherited from class org.apache.openejb.core.cmp.AbstractKeyGenerator
getField, getFieldValue, isValidPkField, setFieldValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fields

protected final java.util.List<ComplexKeyGenerator.PkField> fields
Constructor Detail

ComplexKeyGenerator

public ComplexKeyGenerator(java.lang.Class entityBeanClass,
                           java.lang.Class pkClass)
                    throws OpenEJBException
Throws:
OpenEJBException
Method Detail

getPrimaryKey

public java.lang.Object getPrimaryKey(javax.ejb.EntityBean bean)


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.