Package com.mobixess.jodb.core.plugin

Examples of com.mobixess.jodb.core.plugin.IClassProcessor.compare()


                if(originClass != activeObject.getClass()){
                    processCompareResult(COMPARE_RESULT.UNKNOWN);
                    return;
                }
                IClassProcessor processor = JODBPluginRegistry.getInstance().getClassProcessor(originClass);
                COMPARE_RESULT compareResult = processor.compare(getObject(),activeObject, context, null);
                processCompareResult(compareResult);
                return;
            }
        }
       
View Full Code Here


                if(_type == CONSTRAINT_TYPE.EQUAL || _type == CONSTRAINT_TYPE.NOT){//equals methods can be better optimized
                    boolean equal = processor.equals(getTranslatedOrigin(), dataContainer, context, null);
                    processCompareResult(equal? COMPARE_RESULT.EQUAL : COMPARE_RESULT.SMALLER);
                    return;
                }else{
                    COMPARE_RESULT compareResult = processor.compare(getTranslatedOrigin(), dataContainer, context, null, originClass);
                    processCompareResult(compareResult);
                    return;
                }
               
            }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.