org.objectweb.jonas_ejb.container.jorm.Coder Interface Reference

List of all members.

Public Member Functions

PName decode (Object pk) throws PException, UnsupportedOperationException

Package Functions

Object encode (PName pn) throws PException, UnsupportedOperationException

Detailed Description

This interface specifies two methods to translate a PName into a PK or the opposite action.

Author:
Sebastien Chassande-Barrioz

Definition at line 40 of file Coder.java.


Member Function Documentation

PName org.objectweb.jonas_ejb.container.jorm.Coder.decode Object  pk  )  throws PException, UnsupportedOperationException
 

This method build a PName with the primary key specifed in parameter.

Parameters:
pk the primary key
Returns:
the PName
Exceptions:
PException the operation has failed
UnsupportedOperationException operation not supported.

Object org.objectweb.jonas_ejb.container.jorm.Coder.encode PName  pn  )  throws PException, UnsupportedOperationException [package]
 

This method build a primary key with the PName specifed in parameter.

Parameters:
pn the Jorm PName
Returns:
the primary key
Exceptions:
PException the operation has failed
UnsupportedOperationException operation not supported.

Referenced by org.objectweb.jonas_ejb.container.jorm.JEntityContext.getPrimaryKey().


The documentation for this interface was generated from the following file:
Generated on Tue Feb 15 15:10:57 2005 for JOnAS by  doxygen 1.3.9.1