|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Coder
This interface specifies two methods to translate a PName into a PK or the opposite action.
Method Summary | |
---|---|
org.objectweb.jorm.naming.api.PName |
decode(java.lang.Object pk)
This method build a PName with the primary key specifed in parameter. |
java.lang.Object |
encode(org.objectweb.jorm.naming.api.PName pn)
This method build a primary key with the PName specifed in parameter. |
Method Detail |
---|
org.objectweb.jorm.naming.api.PName decode(java.lang.Object pk) throws org.objectweb.jorm.api.PException, java.lang.UnsupportedOperationException
pk
- the primary key
org.objectweb.jorm.api.PException
- the operation has failed
java.lang.UnsupportedOperationException
- operation not supported.java.lang.Object encode(org.objectweb.jorm.naming.api.PName pn) throws org.objectweb.jorm.api.PException, java.lang.UnsupportedOperationException
pn
- the Jorm PName
org.objectweb.jorm.api.PException
- the operation has failed
java.lang.UnsupportedOperationException
- operation not supported.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |