|
||||||||||
| 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(Object pk)
This method build a PName with the primary key specifed in parameter. |
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(Object pk)
throws org.objectweb.jorm.api.PException,
UnsupportedOperationException
pk - the primary key
org.objectweb.jorm.api.PException - the operation has failed
UnsupportedOperationException - operation not supported.
Object encode(org.objectweb.jorm.naming.api.PName pn)
throws org.objectweb.jorm.api.PException,
UnsupportedOperationException
pn - the Jorm PName
org.objectweb.jorm.api.PException - the operation has failed
UnsupportedOperationException - operation not supported.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||