com.mobixess.jodb.core.transaction
Class BaseProcessor

java.lang.Object
  extended by com.mobixess.jodb.core.transaction.BaseProcessor
All Implemented Interfaces:
IClassProcessor, IPugin

public class BaseProcessor
extends java.lang.Object
implements IClassProcessor


Constructor Summary
BaseProcessor()
           
 
Method Summary
 void activate(java.lang.Object incompleteInstance, ObjectDataContainer persistentDataContainer, JODBSession session, int activationDepth, boolean delayedActivation)
           
 boolean arraysAreEqual(java.lang.Object value1, java.lang.Object value2, JODBOperationContext context, java.lang.reflect.Field[] fieldsToIgnore)
           
 JODBConstants.COMPARE_RESULT compare(java.lang.Object value1, ObjectDataContainer value2, JODBOperationContext context, java.lang.reflect.Field[] fieldsToIgnore)
           
 JODBConstants.COMPARE_RESULT compare(java.lang.Object value1, java.lang.Object value2, JODBOperationContext context, java.lang.reflect.Field[] fieldsToIgnore)
           
 java.lang.Object composeInstance(java.lang.Class type, ObjectDataContainer persistentDataContainer, JODBSession session)
           
 boolean equals(java.lang.Object value1, ObjectDataContainer value2, JODBOperationContext context, java.lang.reflect.Field[] fieldsToIgnore)
           
 boolean equals(java.lang.Object value1, java.lang.Object value2, JODBOperationContext context, java.lang.reflect.Field[] fieldsToIgnore)
           
 java.lang.Class getType()
           
 java.lang.Object translate(java.lang.Object objectToTranslate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseProcessor

public BaseProcessor()
Method Detail

compare

public JODBConstants.COMPARE_RESULT compare(java.lang.Object value1,
                                            java.lang.Object value2,
                                            JODBOperationContext context,
                                            java.lang.reflect.Field[] fieldsToIgnore)
Specified by:
compare in interface IClassProcessor

compare

public JODBConstants.COMPARE_RESULT compare(java.lang.Object value1,
                                            ObjectDataContainer value2,
                                            JODBOperationContext context,
                                            java.lang.reflect.Field[] fieldsToIgnore)
                                     throws java.io.IOException
Specified by:
compare in interface IClassProcessor
Throws:
java.io.IOException

composeInstance

public java.lang.Object composeInstance(java.lang.Class type,
                                        ObjectDataContainer persistentDataContainer,
                                        JODBSession session)
                                 throws java.io.IOException
Specified by:
composeInstance in interface IClassProcessor
Throws:
java.io.IOException

equals

public boolean equals(java.lang.Object value1,
                      java.lang.Object value2,
                      JODBOperationContext context,
                      java.lang.reflect.Field[] fieldsToIgnore)
Specified by:
equals in interface IClassProcessor

arraysAreEqual

public boolean arraysAreEqual(java.lang.Object value1,
                              java.lang.Object value2,
                              JODBOperationContext context,
                              java.lang.reflect.Field[] fieldsToIgnore)

equals

public boolean equals(java.lang.Object value1,
                      ObjectDataContainer value2,
                      JODBOperationContext context,
                      java.lang.reflect.Field[] fieldsToIgnore)
               throws java.io.IOException
Specified by:
equals in interface IClassProcessor
Throws:
java.io.IOException

translate

public java.lang.Object translate(java.lang.Object objectToTranslate)
Specified by:
translate in interface IClassProcessor

getType

public java.lang.Class getType()
Specified by:
getType in interface IPugin

activate

public void activate(java.lang.Object incompleteInstance,
                     ObjectDataContainer persistentDataContainer,
                     JODBSession session,
                     int activationDepth,
                     boolean delayedActivation)
              throws java.io.IOException
Specified by:
activate in interface IClassProcessor
Throws:
java.io.IOException


Copyright © Mobixess Inc. All Rights Reserved.