public class SqlDynaClass
extends org.apache.commons.beanutils.BasicDynaClass
| Constructor and Description |
|---|
SqlDynaClass(Table table,
SqlDynaProperty[] properties)
Creates a new dyna class instance for the given table that has the given properties.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public SqlDynaClass(Table table, SqlDynaProperty[] properties)
table - The tableproperties - The dyna propertiespublic static SqlDynaClass newInstance(Table table)
table - The tablepublic Table getTable()
public String getTableName()
public SqlDynaProperty[] getSqlDynaProperties()
public SqlDynaProperty[] getPrimaryKeyProperties()
public SqlDynaProperty[] getNonPrimaryKeyProperties()
protected void initPrimaryKeys()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.