/** * @deprecated * @param name */ public void setUniqueConstraintName(String name) { _uniqueConstraintName = DBIdentifier.newConstraint(name); }
/** * @deprecated * @param name */ public void setUniqueConstraintName(String name) { _uniqueConstraintName = DBIdentifier.newConstraint(name); }
/** * @deprecated * @param name */ public void setUniqueConstraintName(String name) { _uniqueConstraintName = DBIdentifier.newConstraint(name); }
/** * @deprecated */ public void mapConstraints(String name, boolean adapt) { mapConstraints(DBIdentifier.newConstraint(name), adapt); }
/** * Set the primary key for the table. * @deprecated */ public PrimaryKey addPrimaryKey(String name) { return addPrimaryKey(DBIdentifier.newConstraint(name)); }
/** * Return the unique constraint with the given name, or null if none. * @deprecated */ public Unique getUnique(String name) { return getUnique(DBIdentifier.newConstraint(name)); }
/** * Return the unique constraint with the given name, or null if none. * @deprecated */ public Unique getUnique(String name) { return getUnique(DBIdentifier.newConstraint(name)); }
/** * Return a unique constraint for the given columns, or null if none. * @deprecated */ public Unique getUnique(ValueMapping val, String name, boolean adapt) { return getUnique(val, DBIdentifier.newConstraint(name), adapt); }
/** * Set the name of the constraint. This method cannot be called if the * constraint already belongs to a table. * @deprecated */ public void setName(String name) { setIdentifier(DBIdentifier.newConstraint(name)); }
/** * Set the name of the constraint. This method cannot be called if the * constraint already belongs to a table. * @deprecated */ public void setName(String name) { setIdentifier(DBIdentifier.newConstraint(name)); }
/** * Return the unique constraint with the given name, or null if none. * @deprecated */ public Unique getUnique(String name) { return getUnique(DBIdentifier.newConstraint(name)); }
/** * Add a unique constraint to the table. * @deprecated */ public Unique addUnique(String name) { return addUnique(DBIdentifier.newConstraint(name)); }
/** * Add a unique constraint to the table. * @deprecated */ public Unique addUnique(String name) { return addUnique(DBIdentifier.newConstraint(name)); }
/** * @deprecated */ public void mapConstraints(String name, boolean adapt) { mapConstraints(DBIdentifier.newConstraint(name), adapt); }
/** * Set the name of the constraint. This method cannot be called if the * constraint already belongs to a table. * @deprecated */ public void setName(String name) { setIdentifier(DBIdentifier.newConstraint(name)); }
/** * Set the primary key for the table. * @deprecated */ public PrimaryKey addPrimaryKey(String name) { return addPrimaryKey(DBIdentifier.newConstraint(name)); }
/** * Make any necessary changes to the given unique constraint name to make * it valid for the current DB. * @deprecated */ public String getValidUniqueName(String name, Table table) { return getValidUniqueName(DBIdentifier.newConstraint(name), table).getName(); }
/** * Make any necessary changes to the given unique constraint name to make * it valid for the current DB. * @deprecated */ public String getValidUniqueName(String name, Table table) { return getValidUniqueName(DBIdentifier.newConstraint(name), table).getName(); }
private boolean endName() { String name = this.currentText(); if (StringUtil.isNotEmpty(name)) { Object current = currentElement(); if (current instanceof Unique) { Unique unq = (Unique)current; unq.setIdentifier(DBIdentifier.newConstraint(name, delimit())); } } return true; }
private boolean endName() { String name = this.currentText(); if (StringUtil.isNotEmpty(name)) { Object current = currentElement(); if (current instanceof Unique) { Unique unq = (Unique)current; unq.setIdentifier(DBIdentifier.newConstraint(name, delimit())); } } return true; }