public class Table extends Object implements ModelObject, Annotated
Modifier and Type | Field and Description |
---|---|
protected String |
actualEntityName |
protected Class |
actualJavaClass |
protected List<Annotation> |
annotations |
protected List<Column> |
columns |
static String |
copyright |
protected String |
entityName |
protected List<ForeignKey> |
foreignKeys |
protected String |
javaClass |
static org.slf4j.Logger |
logger |
protected List<ForeignKey> |
oneToManyRelationships |
protected PrimaryKey |
primaryKey |
protected Schema |
schema |
protected List<ModelSelectionProvider> |
selectionProviders |
protected String |
shortName |
protected List<String> |
syntheticPropertyNames |
protected String |
tableName |
public static final String copyright
protected final List<ForeignKey> foreignKeys
protected final List<Annotation> annotations
protected final List<ModelSelectionProvider> selectionProviders
protected Schema schema
protected String tableName
protected String entityName
protected String javaClass
protected String shortName
protected PrimaryKey primaryKey
protected final List<ForeignKey> oneToManyRelationships
protected Class actualJavaClass
protected String actualEntityName
public static final org.slf4j.Logger logger
public Table()
public Table(Schema schema)
public String getQualifiedName()
public void afterUnmarshal(Unmarshaller u, Object parent)
afterUnmarshal
in interface ModelObject
public void reset()
reset
in interface ModelObject
public void init(Model model)
init
in interface ModelObject
public void link(Model model)
link
in interface ModelObject
public void visitChildren(ModelObjectVisitor visitor)
visitChildren
in interface ModelObject
public Schema getSchema()
public void setSchema(Schema schema)
public String getDatabaseName()
public String getSchemaName()
public String getTableName()
public void setTableName(String tableName)
public String getJavaClass()
public void setJavaClass(String javaClass)
public PrimaryKey getPrimaryKey()
public void setPrimaryKey(PrimaryKey primaryKey)
public Class getActualJavaClass()
public List<ForeignKey> getForeignKeys()
public String getEntityName()
public void setEntityName(String entityName)
public String getActualEntityName()
public List<ForeignKey> getOneToManyRelationships()
public List<Annotation> getAnnotations()
getAnnotations
in interface Annotated
public List<ModelSelectionProvider> getSelectionProviders()
public String getShortName()
public void setShortName(String shortName)