public String stringRep(DatabaseProduct dbProduct) { String aString = dbProduct.typeFloat(); if (aString != null) { return aString; } ; return null; }
public String stringRep(DatabaseProduct dbProduct, int length) { String aString = dbProduct.typeFloat(); if (aString != null) { if (length > 0) { return aString + "(" + length + ")"; } ; System.err.println("length is less than 0. Using default"); return stringRep(dbProduct); } ; return null; }