com.sleepycat.persist.impl
Class ConverterReader

java.lang.Object
  extended by com.sleepycat.persist.impl.ConverterReader
All Implemented Interfaces:
Reader, Serializable

public class ConverterReader
extends Object
implements Reader

Reader for invoking a class Converter mutation.

Author:
Mark Hayes
See Also:
Serialized Form

Constructor Summary
ConverterReader(Converter converter)
           
 
Method Summary
 Accessor getAccessor(boolean rawAccess)
           
 void initializeReader(Catalog catalog, EntityModel model, int initVersion, Format oldFormat)
           
 Object newInstance(EntityInput input, boolean rawAccess)
           
 Object readObject(Object o, EntityInput input, boolean rawAccess)
           
 void readPriKey(Object o, EntityInput input, boolean rawAccess)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConverterReader

ConverterReader(Converter converter)
Method Detail

initializeReader

public void initializeReader(Catalog catalog,
                             EntityModel model,
                             int initVersion,
                             Format oldFormat)
Specified by:
initializeReader in interface Reader

newInstance

public Object newInstance(EntityInput input,
                          boolean rawAccess)
                   throws RefreshException
Specified by:
newInstance in interface Reader
Throws:
RefreshException

readPriKey

public void readPriKey(Object o,
                       EntityInput input,
                       boolean rawAccess)
                throws RefreshException
Specified by:
readPriKey in interface Reader
Throws:
RefreshException

readObject

public Object readObject(Object o,
                         EntityInput input,
                         boolean rawAccess)
                  throws RefreshException
Specified by:
readObject in interface Reader
Throws:
RefreshException

getAccessor

public Accessor getAccessor(boolean rawAccess)
Specified by:
getAccessor in interface Reader


Copyright (c) 2004-2012 Oracle. All rights reserved.