private boolean isEqual ( FieldDescriptorDef first , FieldDescriptorDef second ) { return first . getName ( ) . equals ( second . getName ( ) ) && first . getProperty ( PropertyHelper . OJB_PROPERTY_COLUMN ) . equals ( second . getProperty ( PropertyHelper . OJB_PROPERTY_COLUMN ) ) && first . getProperty ( PropertyHelper . OJB_PROPERTY_JDBC_TYPE ) . equals ( second . getProperty ( PropertyHelper . OJB_PROPERTY_JDBC_TYPE ) ) ; }
Tests whether the two field descriptors are equal i . e . have same name same column and same jdbc - type .