public DatabaseTable(String possiblyQualifiedName, String startDelimiter, String endDelimiter) { setPossiblyQualifiedName(possiblyQualifiedName, startDelimiter, endDelimiter); }
/** * Used to map the project xml. Any time a string name is read from the * project xml, we must check if it is fully qualified and split the * actual name from the qualifier. * * @param possiblyQualifiedName */ public void setPossiblyQualifiedName(String possiblyQualifiedName) { setPossiblyQualifiedName(possiblyQualifiedName, null, null); }
/** * Used to map the project xml. Any time a string name is read from the * project xml, we must check if it is fully qualified and split the * actual name from the qualifier. * * @param possiblyQualifiedName */ public void setPossiblyQualifiedName(String possiblyQualifiedName) { setPossiblyQualifiedName(possiblyQualifiedName, null, null); }
/** * Used to map the project xml. Any time a string name is read from the * project xml, we must check if it is fully qualified and split the * actual name from the qualifier. * * @param possiblyQualifiedName */ public void setPossiblyQualifiedName(String possiblyQualifiedName) { setPossiblyQualifiedName(possiblyQualifiedName, null, null); }
public DatabaseTable(String possiblyQualifiedName, String startDelimiter, String endDelimiter) { setPossiblyQualifiedName(possiblyQualifiedName, startDelimiter, endDelimiter); }
public DatabaseTable(String possiblyQualifiedName, String startDelimiter, String endDelimiter) { setPossiblyQualifiedName(possiblyQualifiedName, startDelimiter, endDelimiter); uniqueConstraints = new HashMap<String, Vector<List<String>>>(); }
/** * INTERNAL: */ public void setFullyQualifiedTableName(String fullyQualifiedTableName) { m_databaseTable.setPossiblyQualifiedName(fullyQualifiedTableName, Helper.getDefaultStartDatabaseDelimiter(), Helper.getDefaultEndDatabaseDelimiter()); }
/** * PUBLIC: * Specify the table name for the class of objects the receiver describes. * If the table has a qualifier it should be specified using the dot notation, * (i.e. "userid.employee"). This method is used for single table. */ public void setTableName(String tableName) throws DescriptorException { if (getTables().isEmpty()) { addTableName(tableName); } else { getTables().get(0).setPossiblyQualifiedName(tableName); } }
/** * PUBLIC: * Specify the table name for the class of objects the receiver describes. * If the table has a qualifier it should be specified using the dot notation, * (i.e. "userid.employee"). This method is used for single table. */ public void setTableName(String tableName) throws DescriptorException { if (getTables().isEmpty()) { addTableName(tableName); } else { getTables().get(0).setPossiblyQualifiedName(tableName); } }
/** * Reset the field's name and table from the qualified name. */ public void resetQualifiedName(String qualifiedName) { setIndex(-1); int index = qualifiedName.lastIndexOf('.'); if (index == -1) { setName(qualifiedName); getTable().setName(""); getTable().setTableQualifier(""); } else { setName(qualifiedName.substring(index + 1, qualifiedName.length())); getTable().setPossiblyQualifiedName(qualifiedName.substring(0, index)); } }
/** * Reset the field's name and table from the qualified name. */ public void resetQualifiedName(String qualifiedName) { setIndex(-1); int index = qualifiedName.lastIndexOf('.'); if (index == -1) { setName(qualifiedName); getTable().setName(""); getTable().setTableQualifier(""); } else { setName(qualifiedName.substring(index + 1, qualifiedName.length())); getTable().setPossiblyQualifiedName(qualifiedName.substring(0, index)); } }
/** * Reset the field's name and table from the qualified name. */ public void resetQualifiedName(String qualifiedName) { setIndex(-1); int index = qualifiedName.lastIndexOf('.'); if (index == -1) { setName(qualifiedName); getTable().setName(""); getTable().setTableQualifier(""); } else { setName(qualifiedName.substring(index + 1, qualifiedName.length())); getTable().setPossiblyQualifiedName(qualifiedName.substring(0, index)); } }