Registry of type support within JPOX.
The plugin mechanism provides the registration of supported types, so that users can register
support for their own types and these are loaded when the TypeManager is constructed.
version: $Revision: 1.49 $
getDefaultFieldPersistenceModifier(Class c, int modifier, boolean isPCclass) Accessor for the default "persistence-modifier" for a field given the
class, its modifier and whether it is a PersistentCapable class.
Parameters: c - The class Parameters: modifier - The modifiers for the field Parameters: isPCclass - Whether it is persistence capable.
Constructor, loading JPOX's support for type mappings using the plugin mechanism.
Parameters: api - The API in use Parameters: clr - the ClassLoader Resolver Parameters: mgr - the PluginManager
Accessor for the default "persistence-modifier" for a field given the
class, its modifier and whether it is a PersistentCapable class.
Parameters: c - The class Parameters: modifier - The modifiers for the field Parameters: isPCclass - Whether it is persistence capable. The default field PersistenceModifier.
Accessor for the Second Class Wrapper class for the supplied class.
A type will have a SCO wrapper if it is SCO supported and is mutable.
Parameters: className - The class name The second class wrapper
Accessor for the SCO "simple" wrapper class for the supplied class.
A type will have a SCO wrapper if it is SCO supported and is mutable.
The "simple" wrapper provides simple wrapping of operations and dirty detection only.
Parameters: className - The class name The second class wrapper
Utility class to retrieve a supported type
Parameters: className - The class name The internal type information for the class
isDefaultEmbeddedType
public boolean isDefaultEmbeddedType(Class c)(Code)
Utility to return whether a type defaults to embedded or not.
See JDO 2 Section 18.14 <field> for definition. This only provides for the
basic types, and ignores arrays/collections.
Parameters: c - The type Whether it defaults to embedded or not.
Accessor for whether the class is by default in the default fetch group.
Parameters: c - The class return true if is part of default fetch group by default
Convenience method returning whether the passed type is a reference type.
This typically means whether it is an interface or java.lang.Object.
Parameters: cls - The class Whether it is a reference type
Accessor for whether the type is a Map type that uses a SCOMap wrapper type.
Parameters: c - The class true if c is a Map type
isSecondClassMutableType
public boolean isSecondClassMutableType(String class_name)(Code)
Accessor for whether a class is a supported second class mutable type
Parameters: class_name - The class name Whether it is a second class mutable type
isSecondClassWrapper
public boolean isSecondClassWrapper(String className)(Code)
Accessor for whether a class is a Second Class Wrapper type.
Parameters: className - The name of the class Whether it is a second class wrapper type
isSupportedType
public boolean isSupportedType(String className)(Code)
Accessor for whether a class is supported.
Parameters: className - The class name Whether the class is supported (to some degree)