|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.speedo.mapper.lib.ClassPropertiesManager
public class ClassPropertiesManager
Field Summary | |
---|---|
static char |
FIELD_SEP
|
protected org.objectweb.util.monolog.api.Logger |
logger
|
protected org.objectweb.jorm.api.PMapper |
mapper
The mapper holding homes of the persistent classes |
Constructor Summary | |
---|---|
ClassPropertiesManager()
|
Method Summary | |
---|---|
void |
addClassPropertyManager(ClassPropertyManager cpm)
|
void |
addProperties(java.util.Properties props)
Sets all properties. |
void |
addProperty(java.lang.String name,
java.lang.String value)
Set a property |
void |
applyProperties(HomeItf sh)
Applies current properties to a home of a persistent class. |
void |
applyProperties(HomeItf gcHome,
HomeItf refHome)
Applies current properties to a home of a generic persistent class. |
java.util.Properties |
getProperties()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final char FIELD_SEP
protected org.objectweb.jorm.api.PMapper mapper
protected org.objectweb.util.monolog.api.Logger logger
Constructor Detail |
---|
public ClassPropertiesManager()
Method Detail |
---|
public void addClassPropertyManager(ClassPropertyManager cpm)
public void addProperties(java.util.Properties props)
props
- public void addProperty(java.lang.String name, java.lang.String value)
name
- is the property namevalue
- is the property valuepublic void applyProperties(HomeItf sh)
sh
- is the home of the persistent class.public void applyProperties(HomeItf gcHome, HomeItf refHome)
gcHome
- is the home of the persistent class.public java.util.Properties getProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |