com.khubla.pragmatach.plugin.mongodb.serializer
Class EnumFieldSerializer

java.lang.Object
  extended by com.khubla.pragmatach.plugin.mongodb.serializer.EnumFieldSerializer
All Implemented Interfaces:
FieldSerializer

public class EnumFieldSerializer
extends Object
implements FieldSerializer

Author:
tom

Constructor Summary
EnumFieldSerializer(Class<?> typeClazz)
          ctor
 
Method Summary
 void deserializeField(Object object, Field field, com.mongodb.DBObject dbObject)
           
 void serializeField(com.mongodb.BasicDBObject parentDBObject, Object object, Field field)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumFieldSerializer

public EnumFieldSerializer(Class<?> typeClazz)
ctor

Method Detail

deserializeField

public void deserializeField(Object object,
                             Field field,
                             com.mongodb.DBObject dbObject)
                      throws PragmatachException
Specified by:
deserializeField in interface FieldSerializer
Throws:
PragmatachException

serializeField

public void serializeField(com.mongodb.BasicDBObject parentDBObject,
                           Object object,
                           Field field)
                    throws PragmatachException
Specified by:
serializeField in interface FieldSerializer
Throws:
PragmatachException


Copyright © 2014 khubla.com. All rights reserved.