public Object getPrimaryKey() throws javax.ejb.EJBException
    {
        HomeInternal hi = beanId.getHome();

        if (hi.isStatelessSessionHome() || hi.isStatefulSessionHome()) {
            throw new IllegalSessionMethodLocalException();
        }

        //PK26539: copy the primary key (see WASInternal_copyPrimaryKey for explanation)
        return ((EJSHome) hi).WASInternal_copyPrimaryKey(beanId.getPrimaryKey());
    }
public Object getPrimaryKey ( ) throws javax . ejb . EJBException { HomeInternal hi = beanId . getHome ( ) ; if ( hi . isStatelessSessionHome ( ) || hi . isStatefulSessionHome ( ) ) { throw new IllegalSessionMethodLocalException ( ) ; } return ( ( EJSHome ) hi ) . WASInternal_copyPrimaryKey ( beanId . getPrimaryKey ( ) ) ; }
Get the primary key associated with this wrapper. <p>
This method is part of the EJBLocalObject interface.

@return an <code>Object</code> containing primary key of
this wrapper.