]> git.mxchange.org Git - jcore.git/commitdiff
Renamed method + converted colum_name to fieldName ;-)
authorRoland Haeder <roland@mxchange.org>
Wed, 26 Aug 2015 11:34:05 +0000 (13:34 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 26 Aug 2015 11:34:05 +0000 (13:34 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/org/mxchange/jcore/BaseFrameworkSystem.java

index 4fc1d7227c1013c6d96e037e44d709b7cb692a1e..dd7231b3cadb54cc4abfb2445fd5c6a1bf1dc868 100644 (file)
@@ -406,7 +406,7 @@ public class BaseFrameworkSystem implements FrameworkInterface {
         * @param columnName Column name to convert
         * @return Attribute name
         */
-       protected String convertColumnNameToAttribute (final String columnName) {
+       protected String convertColumnNameToFieldName (final String columnName) {
                // Trace message
                this.getLogger().trace(MessageFormat.format("columnName={0} - CALLED!", columnName)); //NOI18N
 
@@ -1150,13 +1150,16 @@ public class BaseFrameworkSystem implements FrameworkInterface {
                // Debug message
                this.getLogger().debug(MessageFormat.format("fields()={0}", fields.length)); //NOI18N
 
+               // Convert column_name to fieldName ;-)
+               String fieldName = this.convertColumnNameToFieldName(columnName);
+
                // Search for proper field instance
                for (final Field field : fields) {
                        // Debug message
-                       this.getLogger().debug(MessageFormat.format("field={0},columnName={1}", field, columnName)); //NOI18N
+                       this.getLogger().debug(MessageFormat.format("field={0},fieldName={1}", field, fieldName)); //NOI18N
 
                        // Does it match?
-                       if (field.getName().equals(columnName)) {
+                       if (field.getName().equals(fieldName)) {
                                // Found it
                                type = field.getType();
                                break;