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, getAttribute, getAttributes, getCatalog, getFullyQualifiedName, getGeneratedAttributes, getPrimaryKeyGenerator, getPrimaryKeys, getQualifier, getRelationship, getRelationshipMap, getRelationships, getSchema, isFullReplacementIdAttached, lastPathComponent, mappedObjEntities, removeAttribute, resolvePath, resolvePathComponents, setCatalog, setPrimaryKeyGenerator, setQualifier, setSchema, translateToRelatedEntity
addAttribute, addRelationship, clearRelationships, getAnyRelationship, getAttributeMap, getDataMap, getName, getParent, removeRelationship, resolvePathComponents, setDataMap, setName, setParent, toString, updateAttribute
protected String primaryKeyName
public DetectedDbEntity(String name)
public void setPrimaryKeyName(String primaryKeyName)
public String getPrimaryKeyName()
Copyright © 2001–2017 Apache Cayenne. All rights reserved.