| java.lang.Object org.compass.core.converter.mapping.osem.ClassMappingConverter
All known Subclasses: org.compass.core.test.converter.classmapping.CustomClassMappingConverter,
Inner Class :final protected static class IdentityAliasedObjectKey | |
Inner Class :final protected static class IdsAliasesObjectKey | |
Method Summary | |
protected Object | constructObjectForUnmarshalling(ClassMapping classMapping, Resource resource, MarshallingContext context) Constructs the object used for unmarshalling (no properties are set/unmarshalled) on it. | protected boolean | doMarshall(Resource resource, Object root, Mapping mapping, MarshallingContext context) | protected void | doSetBoost(Resource resource, Object root, ClassMapping classMapping, MarshallingContext context) A simple extension point that allows to set the boost value for the created
Resource . | protected String | getPolyClassName(Object root) An extension point allowing to get the poly class name if need to be stored. | public boolean | marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context) | public boolean | marshallIds(Resource idResource, Object id, ResourceMapping resourceMapping, MarshallingContext context) | protected void | storePolyClass(Resource resource, Object root, ClassMapping classMapping, MarshallingContext context) Stores the poly class name callback. | public Object | unmarshall(Resource resource, Mapping mapping, MarshallingContext context) | public Object[] | unmarshallIds(Object id, ResourceMapping resourceMapping, MarshallingContext context) |
DISABLE_INTERNAL_MAPPINGS | final public static String DISABLE_INTERNAL_MAPPINGS(Code) | | Disable internal mappings is a marker within the context if internal mappings should not
be marshalled.
Internal mappings are disabled for inner components (not root classes) when support
unmarshall is set to false .
|
DISABLE_UID_MARSHALLING | final public static String DISABLE_UID_MARSHALLING(Code) | | |
ROOT_CLASS_MAPPING_KEY | final public static String ROOT_CLASS_MAPPING_KEY(Code) | | Under this key within the context the root class mapping can be found.
|
getPolyClassName | protected String getPolyClassName(Object root)(Code) | | An extension point allowing to get the poly class name if need to be stored.
By defaults uses
Class.getName .
|
|
|