| |
|
| java.lang.Object org.xorm.ModelMapping
ModelMapping | public class ModelMapping implements Configurable,I15d(Code) | | Represents the full set of mappings for an object model.
|
ATTR_PARAMETERS | final public static String ATTR_PARAMETERS(Code) | | |
ATTR_VARIABLES | final public static String ATTR_VARIABLES(Code) | | |
OPTION_BOOTSTRAP_JDO | final public static String OPTION_BOOTSTRAP_JDO(Code) | | |
OPTION_DEFAULT_MAPPING | final public static String OPTION_DEFAULT_MAPPING(Code) | | |
OPTION_ONLY_CONFIGURED_PROPERTIES | final public static String OPTION_ONLY_CONFIGURED_PROPERTIES(Code) | | |
OPTION_VALIDATE_XML | final public static String OPTION_VALIDATE_XML(Code) | | |
XORM_VENDOR_NAME | final public static String XORM_VENDOR_NAME(Code) | | |
getClassMapping | public ClassMapping getClassMapping(Class clazz)(Code) | | Retrieves a ClassMapping for the specified class. If the class
itself is not mapped, but a superclass or superinterface is mapped,
that mapping is cloned and used for the specified class.
exception: JDOUserException - if no applicable mapping is found |
isManagedType | public boolean isManagedType(Class type)(Code) | | Returns true if the interface type passed in has been configured
via the mapping file to be persisted.
Note that this is NOT the same thing as checking if an instance
that implements the interface is managed, and in particular, a call to
mgr.isManagedType(persistentInstance.getClass())
will NOT return true.
|
setProperties | public void setProperties(Properties props)(Code) | | Initializes an empty ModelMapping that will be populated
on demand by reading JDO files, or can be hand-populated
by the user.
Parameters: props - the Properties to use |
|
|
|