}
  public String getWhereSql (String unitCol, String carrierTypeCol, String carrierInstanceCol,						String cargoTypeCol, String cargoInstanceCol) {	StringBuffer sb = new StringBuffer ();	sb.append (" where ");		boolean justDidClause = false;		justDidClause = appendClause (unitCol, unitDBUIDs, sb, justDidClause);	justDidClause |= appendClause (carrierTypeCol, carrierTypes, sb, justDidClause);	justDidClause |= appendClause (carrierInstanceCol, carrierInstances, sb, justDidClause);	justDidClause |= appendClause (cargoTypeCol, cargoTypes, sb, justDidClause);	justDidClause |= appendClause (cargoInstanceCol, cargoInstances, sb, justDidClause);	if (other.length () > 0)  {	  if(justDidClause)	    sb.append ("\nand ");	  sb.append (other);	  justDidClause=true;	}	if(justDidClause)	  return sb.toString();	else	  return "";  }