|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Manager object is the main interface to create the meta information. This object is able to register mapping factories, and to create schema objects.
Method Summary | |
void |
addMappingFactory(java.lang.String mapperName,
MappingFactory mappingFactory)
Adds a mapping factory to the current metainformation manager. |
Class |
createClass(java.lang.String fqclassName)
|
CompositeName |
createCompositeName(java.lang.String fqcompositeNameName)
|
Package |
createPackage(java.lang.String packageName)
Returns a new schema. |
Class |
getClass(java.lang.String fqclassName)
Searches a class into all the declared schemas and returns it. |
java.util.Collection |
getClasses()
Build an iterator to iterate all classes in the meta information (composite names are excluded) |
CompositeName |
getCompositeName(java.lang.String fqcompositeNameName)
|
java.util.Collection |
getCompositeNames()
|
java.util.Collection |
getJormObjects()
|
java.util.Collection |
getMappingFactories()
|
MappingFactory |
getMappingFactory(java.lang.String mapperName)
Returns a mapping factory corresponding to a mapper name. |
Package |
getPackage(java.lang.String packageName)
Returns an existing schema. |
java.util.Collection |
getPackages()
Allows to know all the declared schemas into the current metainformation manager. |
PTypeSpace |
getPTypeSpace()
Returns the PTypeSpace structure. |
void |
init()
Initializes the current Manager. |
Methods inherited from interface org.objectweb.jorm.metainfo.api.MetaObject |
getParent, setParent |
Method Detail |
public void init()
public Package getPackage(java.lang.String packageName)
packageName
- the name of the package
public Package createPackage(java.lang.String packageName)
packageName
- the name of the schema
public java.util.Collection getPackages()
public void addMappingFactory(java.lang.String mapperName, MappingFactory mappingFactory)
mapperName
- the name of the mapper (i.e: OR for rdb)mappingFactory
- the mapping factory to add to the list of
existing mapping factoriespublic MappingFactory getMappingFactory(java.lang.String mapperName)
mapperName
- the name of the mapper to obtain
public java.util.Collection getMappingFactories()
public Class getClass(java.lang.String fqclassName)
fqclassName
- is the fully qualifed name of the expected class
public Class createClass(java.lang.String fqclassName)
public CompositeName getCompositeName(java.lang.String fqcompositeNameName)
public CompositeName createCompositeName(java.lang.String fqcompositeNameName)
public java.util.Collection getClasses()
public java.util.Collection getCompositeNames()
public java.util.Collection getJormObjects()
public PTypeSpace getPTypeSpace()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |