|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
interface Catalog
Catalog operation interface used by format classes.
PersistCatalog,
SimpleCatalog,
ReadOnlyCatalog| Method Summary | |
|---|---|
Format |
createFormat(Class type,
Map<String,Format> newFormats)
|
Format |
getFormat(Class cls)
Returns a format for a given class, or throws an exception. |
Format |
getFormat(int formatId)
Returns a format for a given ID, or throws an exception. |
Format |
getFormat(String className)
Returns a format by class name. |
| Method Detail |
|---|
Format getFormat(int formatId)
IllegalStateException - if the formatId does not correspond to a
persistent class. This is an internal consistency error.Format getFormat(Class cls)
IllegalArgumentException - if the class is not persistent. This
is a user error.Format getFormat(String className)
getFormat(int), the
format will not be created if it is not already known.
Format createFormat(Class type,
Map<String,Format> newFormats)
PersistCatalog.createFormat(java.lang.Class, java.util.Map)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||