home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / Share / Java / JDesignerPro / Jdp3_0.exe / data1.cab / Program_Files / JDPEntityContext.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-04-09  |  688 b   |  20 lines

  1. import javax.ejb.EJBObject;
  2. import javax.ejb.EntityContext;
  3.  
  4. public class JDPEntityContext extends JDPEJBContext implements EntityContext {
  5.    EJBObject thisObject;
  6.    Object primaryKey;
  7.  
  8.    public EJBObject getEJBObject() throws IllegalStateException {
  9.       return this.thisObject;
  10.    }
  11.  
  12.    public void setPrimaryKey(Object var1) {
  13.       this.primaryKey = var1;
  14.    }
  15.  
  16.    public Object getPrimaryKey() {
  17.       return this.primaryKey;
  18.    }
  19. }
  20.