|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.commons.beanutils.BasicDynaClass
org.apache.ddlutils.dynabean.SqlDynaClass
public class SqlDynaClass
SqlDynaClass is a DynaClass which is associated with a persistent Table in a Database.
| Field Summary |
|---|
| Fields inherited from class org.apache.commons.beanutils.BasicDynaClass |
|---|
constructor, constructorTypes, constructorValues, dynaBeanClass, name, properties, propertiesMap |
| Constructor Summary | |
|---|---|
SqlDynaClass(Table table,
SqlDynaProperty[] properties)
Creates a new dyna class instance for the given table that has the given properties. |
|
| Method Summary | |
|---|---|
SqlDynaProperty[] |
getNonPrimaryKeyProperties()
Returns the properties for the non-primary keys of the corresponding table. |
SqlDynaProperty[] |
getPrimaryKeyProperties()
Returns the properties for the primary keys of the corresponding table. |
SqlDynaProperty[] |
getSqlDynaProperties()
Returns the properties of this dyna class. |
Table |
getTable()
Returns the table for which this dyna class is defined. |
String |
getTableName()
Returns the table name for which this dyna class is defined. |
protected void |
initPrimaryKeys()
Initializes the primary key and non primary key property arrays. |
static SqlDynaClass |
newInstance(Table table)
Factory method for creating and initializing a new dyna class instance for the given table. |
| Methods inherited from class org.apache.commons.beanutils.BasicDynaClass |
|---|
getDynaBeanClass, getDynaProperties, getDynaProperty, getName, newInstance, setDynaBeanClass, setProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SqlDynaClass(Table table,
SqlDynaProperty[] properties)
table - The tableproperties - The dyna properties| Method Detail |
|---|
public static SqlDynaClass newInstance(Table table)
table - The table
public Table getTable()
public String getTableName()
public SqlDynaProperty[] getSqlDynaProperties()
public SqlDynaProperty[] getPrimaryKeyProperties()
public SqlDynaProperty[] getNonPrimaryKeyProperties()
protected void initPrimaryKeys()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||