public class DetectedDbEntity extends DbEntity
DbEntity
subclass used to hold extra JDBC metadata.Modifier and Type | Field and Description |
---|---|
protected String |
primaryKeyName |
catalog, generatedAttributes, primaryKey, primaryKeyGenerator, qualifier, schema
attributes, dataMap, name, OUTER_JOIN_INDICATOR, PATH_SEPARATOR, relationships
Constructor and Description |
---|
DetectedDbEntity(String name) |
Modifier and Type | Method and Description |
---|---|
String |
getPrimaryKeyName()
Returns the optional primary key name of this DbEntity.
|
void |
setPrimaryKeyName(String primaryKeyName)
Sets the optional primary key name of this DbEntity.
|
acceptVisitor, addAttribute, clearAttributes, dbAttributeAdded, dbAttributeChanged, dbAttributeRemoved, dbEntityAdded, dbEntityChanged, dbEntityRemoved, dbRelationshipAdded, dbRelationshipChanged, dbRelationshipRemoved, encodeAsXML, getAttributes, getCatalog, getFullyQualifiedName, getGeneratedAttributes, getPrimaryKeyGenerator, getPrimaryKeys, getQualifier, getRelationshipMap, getRelationships, getSchema, isFullReplacementIdAttached, lastPathComponent, removeAttribute, resolvePath, resolvePathComponents, setCatalog, setPrimaryKeyGenerator, setQualifier, setSchema, translateToRelatedEntity
addAttribute, addRelationship, clearRelationships, getAnyRelationship, getAttribute, getAttributeMap, getDataMap, getName, getParent, getRelationship, removeRelationship, resolvePathComponents, setDataMap, setName, setParent, toString
protected String primaryKeyName
public DetectedDbEntity(String name)
public void setPrimaryKeyName(String primaryKeyName)
public String getPrimaryKeyName()
Copyright © 2001–2018 Apache Cayenne. All rights reserved.