public class SubNkPkQueryIdentity extends IdentityModel
IdentityModel for tables which are owned by another table but have a sub identity
(resulting in a one-to-many relationship between parent and child).
Their natural key is composed from the owner row's natural key and a sub key for the row itself.| Modifier and Type | Class and Description |
|---|---|
class |
SubNkPkQueryIdentity.RecursiveIterator |
logger| Constructor and Description |
|---|
SubNkPkQueryIdentity(String tableName,
String[] parentTableNames,
IdentityProvider identityProvider) |
| Modifier and Type | Method and Description |
|---|---|
org.databene.commons.iterator.TabularIterator |
createNkPkIterator(Connection connection,
String dbId,
KeyMapper mapper,
Database database) |
String |
getDescription() |
void |
setSubNkPkQuery(String subNkPkQuery) |
addIrrelevantColumn, equals, extractNK, extractPK, getName, getTableName, handleMissingOwner, handleNKNotFound, handleNonEquivalence, hashCode, query, toStringpublic SubNkPkQueryIdentity(String tableName, String[] parentTableNames, IdentityProvider identityProvider)
public void setSubNkPkQuery(String subNkPkQuery)
public String getDescription()
getDescription in class IdentityModelpublic org.databene.commons.iterator.TabularIterator createNkPkIterator(Connection connection, String dbId, KeyMapper mapper, Database database)
createNkPkIterator in class IdentityModelCopyright © 2006–2014 Volker Bergmann. All rights reserved.