/** * Creates a qualified path from an identifier. * @param sName * @return */ public static QualifiedDBIdentifier getPath(DBIdentifier sName) { if (sName instanceof QualifiedDBIdentifier) { return (QualifiedDBIdentifier)sName.clone(); } return QualifiedDBIdentifier.newPath(sName); }
/** * Creates a qualified path from an identifier. * @param sName */ public static QualifiedDBIdentifier getPath(DBIdentifier sName) { if (sName instanceof QualifiedDBIdentifier) { return (QualifiedDBIdentifier)sName.clone(); } return QualifiedDBIdentifier.newPath(sName); }
/** * Creates a qualified path from an identifier. * @param sName */ public static QualifiedDBIdentifier getPath(DBIdentifier sName) { if (sName instanceof QualifiedDBIdentifier) { return (QualifiedDBIdentifier)sName.clone(); } return QualifiedDBIdentifier.newPath(sName); }
/** * Creates a qualified path from an identifier. * @param sName * @return */ public static QualifiedDBIdentifier getPath(DBIdentifier sName) { if (sName instanceof QualifiedDBIdentifier) { return (QualifiedDBIdentifier)sName.clone(); } return QualifiedDBIdentifier.newPath(sName); }
/** * Returns a new DBIdentifier with the given string combined using * delimiting rules and appropriate separators. * @param name * @param length */ public static DBIdentifier combine(DBIdentifier name, String str) { DBIdentifier sName = name.clone(); String strName = sName.getNameInternal(); strName = Normalizer.combine(strName, str); sName.setNameInternal(strName); return sName; }
/** * Returns a new DBIdentifier with the given string appended. * @param name * @param length * @return */ public static DBIdentifier append(DBIdentifier name, String str) { DBIdentifier sName = name.clone(); String strName = sName.getNameInternal(); strName = Normalizer.append(strName, str); sName.setNameInternal(strName); return sName; }
/** * Returns a new DBIdentifier with the given string appended. * @param name * @param length */ public static DBIdentifier append(DBIdentifier name, String str) { DBIdentifier sName = name.clone(); String strName = sName.getNameInternal(); strName = Normalizer.append(strName, str); sName.setNameInternal(strName); return sName; }
/** * Returns a new DBIdentifier with the given string appended. * @param name * @param length */ public static DBIdentifier append(DBIdentifier name, String str) { DBIdentifier sName = name.clone(); String strName = sName.getNameInternal(); strName = Normalizer.append(strName, str); sName.setNameInternal(strName); return sName; }
/** * Returns a new DBIdentifier with the given string combined using * delimiting rules and appropriate separators. * @param name * @param length * @return */ public static DBIdentifier combine(DBIdentifier name, String str) { DBIdentifier sName = name.clone(); String strName = sName.getNameInternal(); strName = Normalizer.combine(strName, str); sName.setNameInternal(strName); return sName; }
/** * Returns a new DBIdentifier with the given string appended. * @param name * @param length * @return */ public static DBIdentifier append(DBIdentifier name, String str) { DBIdentifier sName = name.clone(); String strName = sName.getNameInternal(); strName = Normalizer.append(strName, str); sName.setNameInternal(strName); return sName; }
/** * Returns a new DBIdentifier with the given string combined using * delimiting rules and appropriate separators. * @param name * @param length */ public static DBIdentifier combine(DBIdentifier name, String str) { DBIdentifier sName = name.clone(); String strName = sName.getNameInternal(); strName = Normalizer.combine(strName, str); sName.setNameInternal(strName); return sName; }
/** * Returns a copy of an identifier with name trimmed to null. * @param name */ public static DBIdentifier trimToNull(DBIdentifier name) { if (DBIdentifier.isNull(name)) { return name; } DBIdentifier sName = name.clone(); sName.setNameInternal(StringUtil.trimToNull(sName.getNameInternal())); return sName; }
/** * Returns a copy of an identifier with name trimmed to null. * @param name */ public static DBIdentifier trimToNull(DBIdentifier name) { if (DBIdentifier.isNull(name)) { return name; } DBIdentifier sName = name.clone(); sName.setNameInternal(StringUtil.trimToNull(sName.getNameInternal())); return sName; }
/** * Returns a new DBIdentifier truncated to length * @param name * @param length */ public static DBIdentifier truncate(DBIdentifier name, int length) { DBIdentifier sName = name.clone(); String strName = sName.getNameInternal(); if (StringUtil.isEmpty(strName)) { return sName; } strName = Normalizer.truncate(strName, length); sName.setNameInternal(strName); return sName; }
/** * Returns a copy of an identifier with name trimmed to null. * @param name * @return */ public static DBIdentifier trimToNull(DBIdentifier name) { if (DBIdentifier.isNull(name)) { return name; } DBIdentifier sName = name.clone(); sName.setNameInternal(StringUtils.trimToNull(sName.getNameInternal())); return sName; }
/** * Returns a copy of an identifier with name trimmed to null. * @param name * @return */ public static DBIdentifier trimToNull(DBIdentifier name) { if (DBIdentifier.isNull(name)) { return name; } DBIdentifier sName = name.clone(); sName.setNameInternal(StringUtils.trimToNull(sName.getNameInternal())); return sName; }
/** * Creates a clone of this identifier. */ public QualifiedDBIdentifier clone() { QualifiedDBIdentifier sPath = new QualifiedDBIdentifier(); sPath.setObjectTableName(getObjectTableName().clone()); sPath.setSchemaName(getSchemaName().clone()); sPath.setBaseName(super.getName()); sPath.setType(getType()); sPath.setIgnoreCase(getIgnoreCase()); return sPath; }
/** * Creates a clone of this identifier. */ public QualifiedDBIdentifier clone() { QualifiedDBIdentifier sPath = new QualifiedDBIdentifier(); sPath.setObjectTableName(getObjectTableName().clone()); sPath.setSchemaName(getSchemaName().clone()); sPath.setBaseName(super.getName()); sPath.setType(getType()); sPath.setIgnoreCase(getIgnoreCase()); return sPath; }
/** * Creates a clone of this identifier. */ public QualifiedDBIdentifier clone() { QualifiedDBIdentifier sPath = new QualifiedDBIdentifier(); sPath.setObjectTableName(getObjectTableName().clone()); sPath.setSchemaName(getSchemaName().clone()); sPath.setBaseName(super.getName()); sPath.setType(getType()); sPath.setIgnoreCase(getIgnoreCase()); return sPath; }
/** * Creates a clone of this identifier. */ public QualifiedDBIdentifier clone() { QualifiedDBIdentifier sPath = new QualifiedDBIdentifier(); sPath.setObjectTableName(getObjectTableName().clone()); sPath.setSchemaName(getSchemaName().clone()); sPath.setBaseName(super.getName()); sPath.setType(getType()); sPath.setIgnoreCase(getIgnoreCase()); return sPath; }