org.kuali.student.common.dictionary.service.impl
Class Dictionary2BeanComparer

java.lang.Object
  extended by org.kuali.student.common.dictionary.service.impl.Dictionary2BeanComparer

public class Dictionary2BeanComparer
extends Object


Field Summary
private  String className
           
private  ObjectStructureDefinition osDict
           
 
Constructor Summary
Dictionary2BeanComparer(String className, ObjectStructureDefinition osDict)
           
 
Method Summary
 List<String> compare()
           
private  List<String> compare(ObjectStructureDefinition osDict, ObjectStructureDefinition osBean)
           
private  String compare(String field, boolean value1, boolean value2)
           
private  String compare(String field, Object value1, Object value2)
           
private  void compareAddDiscrepancy(List<String> discrepancies, String field, boolean value1, boolean value2)
           
private  void compareAddDiscrepancy(List<String> discrepancies, String field, Object value1, Object value2)
           
private  FieldDefinition findField(String name, ObjectStructureDefinition os)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

className

private String className

osDict

private ObjectStructureDefinition osDict
Constructor Detail

Dictionary2BeanComparer

public Dictionary2BeanComparer(String className,
                               ObjectStructureDefinition osDict)
Method Detail

compare

public List<String> compare()

compare

private List<String> compare(ObjectStructureDefinition osDict,
                             ObjectStructureDefinition osBean)

findField

private FieldDefinition findField(String name,
                                  ObjectStructureDefinition os)

compareAddDiscrepancy

private void compareAddDiscrepancy(List<String> discrepancies,
                                   String field,
                                   boolean value1,
                                   boolean value2)

compareAddDiscrepancy

private void compareAddDiscrepancy(List<String> discrepancies,
                                   String field,
                                   Object value1,
                                   Object value2)

compare

private String compare(String field,
                       boolean value1,
                       boolean value2)

compare

private String compare(String field,
                       Object value1,
                       Object value2)


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.