/** * Creates a qualified identifier based upon an array of DBIdentifiers. Identifiers * must be specified in order. * @param names * @return */ public static QualifiedDBIdentifier newPath(DBIdentifier...names) { return new QualifiedDBIdentifier(names); }
/** * Creates a qualified identifier based upon an array of DBIdentifiers. Identifiers * must be specified in order. * @param names */ public static QualifiedDBIdentifier newPath(DBIdentifier...names) { return new QualifiedDBIdentifier(names); }
/** * Creates a qualified identifier based upon an array of DBIdentifiers. Identifiers * must be specified in order. * @param names */ public static QualifiedDBIdentifier newPath(DBIdentifier...names) { return new QualifiedDBIdentifier(names); }
/** * Creates a qualified identifier based upon an array of DBIdentifiers. Identifiers * must be specified in order. * @param names * @return */ public static QualifiedDBIdentifier newPath(DBIdentifier...names) { return new QualifiedDBIdentifier(names); }
/** * Constructs a new identifier (potentially a compound QualifiedDBIdentifier) with the provided * name an type. Optionally, converting the name to upper case and delimiting it. */ protected static DBIdentifier newIdentifier(String name, DBIdentifierType id, boolean toUpper, boolean delimit, boolean ignoreCase) { if (name == null) { return DBIdentifier.NULL; } DBIdentifier dbId = DBIdentifier.NULL; // Create a DBIDentifier for single component names. Otherwise, create a QualifiedDBIdentifier. if (!_compoundIdentifier[id.ordinal()] || delimit) { dbId = new DBIdentifier(name, id, delimit); dbId.setIgnoreCase(ignoreCase); if (toUpper) { return toUpper(dbId); } } else { // Name can be split. Break it up into components and return a path DBIdentifier[] sNames = DBIdentifier.split(id, name); dbId = new QualifiedDBIdentifier(sNames); dbId.setIgnoreCase(ignoreCase); } return dbId; }
/** * Constructs a new identifier (potentially a compound QualifiedDBIdentifier) with the provided * name an type. Optionally, converting the name to upper case and delimiting it. */ protected static DBIdentifier newIdentifier(String name, DBIdentifierType id, boolean toUpper, boolean delimit, boolean ignoreCase) { if (name == null) { return DBIdentifier.NULL; } DBIdentifier dbId = DBIdentifier.NULL; // Create a DBIDentifier for single component names. Otherwise, create a QualifiedDBIdentifier. if (!_compoundIdentifier[id.ordinal()] || delimit) { dbId = new DBIdentifier(name, id, delimit); dbId.setIgnoreCase(ignoreCase); if (toUpper) { return toUpper(dbId); } } else { // Name can be split. Break it up into components and return a path DBIdentifier[] sNames = DBIdentifier.split(id, name); dbId = new QualifiedDBIdentifier(sNames); dbId.setIgnoreCase(ignoreCase); } return dbId; }
/** * Constructs a new identifier (potentially a compound QualifiedDBIdentifier) with the provided * name an type. Optionally, converting the name to upper case and delimiting it. */ protected static DBIdentifier newIdentifier(String name, DBIdentifierType id, boolean toUpper, boolean delimit, boolean ignoreCase) { if (name == null) { return DBIdentifier.NULL; } DBIdentifier dbId = DBIdentifier.NULL; // Create a DBIDentifier for single component names. Otherwise, create a QualifiedDBIdentifier. if (!_compoundIdentifier[id.ordinal()] || delimit) { dbId = new DBIdentifier(name, id, delimit); dbId.setIgnoreCase(ignoreCase); if (toUpper) { return toUpper(dbId); } } else { // Name can be split. Break it up into components and return a path DBIdentifier[] sNames = DBIdentifier.split(id, name); dbId = new QualifiedDBIdentifier(sNames); dbId.setIgnoreCase(ignoreCase); } return dbId; }
/** * Constructs a new identifier (potentially a compound QualifiedDBIdentifier) with the provided * name an type. Optionally, converting the name to upper case and delimiting it. */ protected static DBIdentifier newIdentifier(String name, DBIdentifierType id, boolean toUpper, boolean delimit, boolean ignoreCase) { if (name == null) { return DBIdentifier.NULL; } DBIdentifier dbId = DBIdentifier.NULL; // Create a DBIDentifier for single component names. Otherwise, create a QualifiedDBIdentifier. if (!_compoundIdentifier[id.ordinal()] || delimit) { dbId = new DBIdentifier(name, id, delimit); dbId.setIgnoreCase(ignoreCase); if (toUpper) { return toUpper(dbId); } } else { // Name can be split. Break it up into components and return a path DBIdentifier[] sNames = DBIdentifier.split(id, name); dbId = new QualifiedDBIdentifier(sNames); dbId.setIgnoreCase(ignoreCase); } return dbId; }
/** * 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; }