public class DetectedDbEntity extends DbEntity
DbEntity
subclass used to hold extra JDBC metadata.Modifier and Type | Field and Description |
---|---|
protected String |
primaryKeyName |
protected String |
type |
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.
|
String |
getType() |
void |
setPrimaryKeyName(String primaryKeyName)
Sets the optional primary key name of this DbEntity.
|
void |
setType(String type) |
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
public DetectedDbEntity(String name)
public void setType(String type)
public String getType()
public void setPrimaryKeyName(String primaryKeyName)
public String getPrimaryKeyName()
Copyright © 2001–2019 Apache Cayenne. All rights reserved.