org.apache.openejb.core.cmp.cmp2
Class SingleValuedCmr<Bean extends javax.ejb.EntityBean,Proxy extends javax.ejb.EJBLocalObject>

java.lang.Object
  extended by org.apache.openejb.core.cmp.cmp2.SingleValuedCmr<Bean,Proxy>

public class SingleValuedCmr<Bean extends javax.ejb.EntityBean,Proxy extends javax.ejb.EJBLocalObject>
extends java.lang.Object


Constructor Summary
SingleValuedCmr(javax.ejb.EntityBean source, java.lang.String sourceProperty, java.lang.Class<Bean> relatedType, java.lang.String relatedProperty)
           
 
Method Summary
 void deleted(Bean oldBean)
           
 Proxy get(Bean entity)
           
 Bean set(Bean oldBean, Proxy newValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleValuedCmr

public SingleValuedCmr(javax.ejb.EntityBean source,
                       java.lang.String sourceProperty,
                       java.lang.Class<Bean> relatedType,
                       java.lang.String relatedProperty)
Method Detail

get

public Proxy get(Bean entity)
                                           throws javax.ejb.EJBException
Throws:
javax.ejb.EJBException

set

public Bean set(Bean oldBean,
                Proxy newValue)
                                      throws javax.ejb.EJBException
Throws:
javax.ejb.EJBException

deleted

public void deleted(Bean oldBean)
             throws javax.ejb.EJBException
Throws:
javax.ejb.EJBException


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