database/src/DbTable.java
private boolean isAlphaNumColVal(ArrayList columnNames, DataObject newRow){
        boolean isAlpha = true;
        String alphanum = "^[a-zA-Z0-9]*$";
        for(int i =0; i < columnNames.size(); i++) {
            if (newRow.get(this.columnNames.get(i)).matches(alphanum) == false) {
                return (isAlpha = false);
            }
        else{}
        }
        return isAlpha;
    }
/**
     * Returns true if the value of a column is alphanumeric
     * Returns false if the value of a column is not alphanumeric
     */
Returns true if the value of a column is alphanumeric
Returns false if the value of a column is not alphanumeric
Returns true if the value of a column is alphanumeric Returns false if the value of a column is not alphanumeric
private boolean isAlphaNumColVal(ArrayList columnNames, DataObject newRow){
        boolean isAlpha = true;
        String alphanum = "^[a-zA-Z0-9]*$";
        for(int i =0; i < columnNames.size(); i++) {
            if (newRow.get(this.columnNames.get(i)).matches(alphanum) == false) {
                return (isAlpha = false);
            }
        else{}
        }
        return isAlpha;
    }
private boolean isAlphaNumColVal ( ArrayList columnNames , DataObject newRow ) { boolean isAlpha = true ; String alphanum = "^[a-zA-Z0-9]*$" ; for ( int i = 0 ; i < columnNames . size ( ) ; i ++ ) { if ( newRow . get ( this . columnNames . get ( i ) ) . matches ( alphanum ) == false ) { return ( isAlpha = false ) ; } else { } } return isAlpha ; }
Returns true if the value of a column is alphanumeric
 Returns false if the value of a column is not alphanumeric
Returns true if the value of a column is alphanumeric Returns false if the value of a column is not alphanumeric