/** * PUBLIC: * Return the relation table qualified name associated with the mapping. */ public String getRelationTableQualifiedName() { if (relationTable == null) { return null; } return relationTable.getQualifiedName(); }
/** * Constructs a new database table which appears as <code>guise</code> but * in fact really is <code>identity</code>. */ public HistoricalDatabaseTable(DatabaseTable source, DatabaseTable mirroring, DatasourcePlatform platform) { super(source.getName(), source.getTableQualifier()); this.historicalName = mirroring.getQualifiedName(); if(mirroring.shouldUseDelimiters()) { this.historicalNameDelimited = mirroring.getQualifiedNameDelimited(platform); } }
/** * PUBLIC: * Return the relation table qualified name associated with the mapping. */ public String getRelationTableQualifiedName() { if (relationTable == null) { return null; } return relationTable.getQualifiedName(); }
/** * Constructs a new database table which appears as <code>guise</code> but * in fact really is <code>identity</code>. */ public HistoricalDatabaseTable(DatabaseTable source, DatabaseTable mirroring, DatasourcePlatform platform) { super(source.getName(), source.getTableQualifier()); this.historicalName = mirroring.getQualifiedName(); if(mirroring.shouldUseDelimiters()) { this.historicalNameDelimited = mirroring.getQualifiedNameDelimited(platform); } }
public String getQualifiedName() { if (historicalName != null) { return historicalName; } else { return super.getQualifiedName(); } }
public String getQualifiedName() { if (historicalName != null) { return historicalName; } else { return super.getQualifiedName(); } }
public String getQualifiedName() { if (historicalName != null) { return historicalName; } else { return super.getQualifiedName(); } }
/** * PUBLIC: */ public String getSequenceTableQualifiedName() { return getSequenceTable().getQualifiedName(); }
/** * PUBLIC: */ public String getSequenceTableQualifiedName() { return getSequenceTable().getQualifiedName(); }
/** * PUBLIC: * Return the table names. */ public Vector getTableNames() { Vector tableNames = new Vector(getTables().size()); for (Enumeration fieldsEnum = getTables().elements(); fieldsEnum.hasMoreElements();) { tableNames.addElement(((DatabaseTable)fieldsEnum.nextElement()).getQualifiedName()); } return tableNames; }
/** * PUBLIC: * Return the table names. */ public Vector getTableNames() { Vector tableNames = new Vector(getTables().size()); for (Enumeration fieldsEnum = getTables().elements(); fieldsEnum.hasMoreElements();) { tableNames.addElement(((DatabaseTable)fieldsEnum.nextElement()).getQualifiedName()); } return tableNames; }
/** * PUBLIC: * Return the table names. */ public Vector getTableNames() { Vector tableNames = new Vector(getTables().size()); for (Enumeration fieldsEnum = getTables().elements(); fieldsEnum.hasMoreElements();) { tableNames.addElement(((DatabaseTable)fieldsEnum.nextElement()).getQualifiedName()); } return tableNames; }
/** * PUBLIC: */ public List<String> getHistoryTableNames() { List<String> names = new ArrayList(getHistoricalTables().size()); for (DatabaseTable table : getHistoricalTables()) { names.add(table.getQualifiedName()); } return names; }
/** * PUBLIC: * Returns the qualified name of the reference table. */ public String getReferenceTableQualifiedName() {//CR#2407 if (getReferenceTable() == null) { return null; } return getReferenceTable().getQualifiedName(); }
/** * PUBLIC: * Returns the qualified name of the reference table. */ public String getReferenceTableQualifiedName() {//CR#2407 if (getReferenceTable() == null) { return null; } return getReferenceTable().getQualifiedName(); }
public String getQualifiedName(){ if (this.qualifiedName == null) { if (hasTableName()) { this.qualifiedName = this.table.getQualifiedName() + "." + getName(); } else { this.qualifiedName = getName(); } } return this.qualifiedName; }
public String getQualifiedName(){ if (this.qualifiedName == null) { if (hasTableName()) { this.qualifiedName = this.table.getQualifiedName() + "." + getName(); } else { this.qualifiedName = getName(); } } return this.qualifiedName; }
public NestedTable(QueryKeyExpression queryKeyExpression) { super(); this.queryKeyExpression = queryKeyExpression; setName((queryKeyExpression.getMapping().getDescriptor().getTables().firstElement()).getName()); tableQualifier = (queryKeyExpression.getMapping().getDescriptor().getTables().firstElement()).getQualifiedName(); }
public NestedTable(QueryKeyExpression queryKeyExpression) { super(); this.queryKeyExpression = queryKeyExpression; setName((queryKeyExpression.getMapping().getDescriptor().getTables().firstElement()).getName()); tableQualifier = (queryKeyExpression.getMapping().getDescriptor().getTables().firstElement()).getQualifiedName(); }
public NestedTable(QueryKeyExpression queryKeyExpression) { super(); this.queryKeyExpression = queryKeyExpression; setName((queryKeyExpression.getMapping().getDescriptor().getTables().firstElement()).getName()); tableQualifier = (queryKeyExpression.getMapping().getDescriptor().getTables().firstElement()).getQualifiedName(); }