/** * Normalizes a name, if not delimited, converts to uppercase. * @param name */ public static String normalizeUpper(String name) { String nName = normalizeString(name); // Do not convert delimited names to upper case. They may have // been delimited to preserve case. if (!isDelimited(nName)) { nName = name.toUpperCase(); } return nName; }
/** * Normalizes a name, if not delimited, converts to uppercase. * @param name */ public static String normalizeUpper(String name) { String nName = normalizeString(name); // Do not convert delimited names to upper case. They may have // been delimited to preserve case. if (!isDelimited(nName)) { nName = name.toUpperCase(); } return nName; }
/** * Normalizes a name, if not delimited, converts to uppercase. * @param name * @return */ public static String normalizeUpper(String name) { String nName = normalizeString(name); // Do not convert delimited names to upper case. They may have // been delimited to preserve case. if (!isDelimited(nName)) { nName = name.toUpperCase(); } return nName; }
/** * Normalizes a name, if not delimited, converts to uppercase. * @param name * @return */ public static String normalizeUpper(String name) { String nName = normalizeString(name); // Do not convert delimited names to upper case. They may have // been delimited to preserve case. if (!isDelimited(nName)) { nName = name.toUpperCase(); } return nName; }
/** * Set the name of the identifier and optionally force delimiting of the identifier. */ public void setName(String name, boolean delimit) { assertNotNull(); // Normalize the name, if necessary. Do not normalize constants or column definitions. if (DBIdentifierType.CONSTANT != getType() && DBIdentifierType.COLUMN_DEFINITION != getType()) { if (delimit) { name = Normalizer.delimit(name, true); } else { name = Normalizer.normalizeString(name); } } super.setName(name); }
/** * Set the name of the identifier and optionally force delimiting of the identifier. */ public void setName(String name, boolean delimit) { assertNotNull(); // Normalize the name, if necessary. Do not normalize constants or column definitions. if (DBIdentifierType.CONSTANT != getType() && DBIdentifierType.COLUMN_DEFINITION != getType()) { if (delimit) { name = Normalizer.delimit(name, true); } else { name = Normalizer.normalizeString(name); } } super.setName(name); }
/** * Set the name of the identifier and optionally force delimiting of the identifier. */ public void setName(String name, boolean delimit) { assertNotNull(); // Normalize the name, if necessary. Do not normalize constants or column definitions. if (DBIdentifierType.CONSTANT != getType() && DBIdentifierType.COLUMN_DEFINITION != getType()) { if (delimit) { name = Normalizer.delimit(name, true); } else { name = Normalizer.normalizeString(name); } } super.setName(name); }
/** * Set the name of the identifier and optionally force delimiting of the identifier. */ public void setName(String name, boolean delimit) { assertNotNull(); // Normalize the name, if necessary. Do not normalize constants or column definitions. if (DBIdentifierType.CONSTANT != getType() && DBIdentifierType.COLUMN_DEFINITION != getType()) { if (delimit) { name = Normalizer.delimit(name, true); } else { name = Normalizer.normalizeString(name); } } super.setName(name); }