org.compass.core.converter.mapping.osem
Class ReferenceMappingConverter

java.lang.Object
  extended by org.compass.core.converter.mapping.osem.AbstractRefAliasMappingConverter
      extended by org.compass.core.converter.mapping.osem.ReferenceMappingConverter
All Implemented Interfaces:
Converter

public class ReferenceMappingConverter
extends AbstractRefAliasMappingConverter

Author:
kimchy

Constructor Summary
ReferenceMappingConverter()
           
 
Method Summary
protected  boolean doMarshall(Resource resource, Object root, RefAliasObjectMapping hasRefAliasMapping, ClassMapping refMapping, MarshallingContext context)
           
protected  Object doUnmarshall(Resource resource, RefAliasObjectMapping hasRefAliasMapping, ClassMapping refMapping, MarshallingContext context)
           
protected  boolean rollbackClassNameOnPoly()
           
 
Methods inherited from class org.compass.core.converter.mapping.osem.AbstractRefAliasMappingConverter
marshall, unmarshall
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceMappingConverter

public ReferenceMappingConverter()
Method Detail

doMarshall

protected boolean doMarshall(Resource resource,
                             Object root,
                             RefAliasObjectMapping hasRefAliasMapping,
                             ClassMapping refMapping,
                             MarshallingContext context)
                      throws ConversionException
Specified by:
doMarshall in class AbstractRefAliasMappingConverter
Throws:
ConversionException

doUnmarshall

protected Object doUnmarshall(Resource resource,
                              RefAliasObjectMapping hasRefAliasMapping,
                              ClassMapping refMapping,
                              MarshallingContext context)
                       throws ConversionException
Specified by:
doUnmarshall in class AbstractRefAliasMappingConverter
Throws:
ConversionException

rollbackClassNameOnPoly

protected boolean rollbackClassNameOnPoly()
Overrides:
rollbackClassNameOnPoly in class AbstractRefAliasMappingConverter


Copyright (c) 2004-2008 The Compass Project.