|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.metadata.MetaData
org.datanucleus.metadata.TableGeneratorMetaData
public class TableGeneratorMetaData
Representation of the MetaData of a TableGenerator (JPA).
| Field Summary | |
|---|---|
protected long |
allocationSize
Allocation size for ids from the table. |
protected java.lang.String |
catalogName
Name of the catalog to use for the table |
protected long |
initialValue
Initial value in the table. |
protected java.lang.String |
name
Name under which this table generator is known. |
protected java.lang.String |
pkColumnName
Name of the primary-key column name |
protected java.lang.String |
pkColumnValue
Name of the primary-key column value |
protected java.lang.String |
schemaName
Name of the schema to use for the table |
protected java.lang.String |
tableName
Name of the table to use for sequences |
protected java.lang.String |
valueColumnName
Name of the value column name |
| Fields inherited from class org.datanucleus.metadata.MetaData |
|---|
extensions, LOCALISER, METADATA_CREATED_STATE, METADATA_INITIALISED_STATE, METADATA_POPULATED_STATE, METADATA_USED_STATE, metaDataState, parent, VENDOR_NAME, VENDOR_NAME_OLD |
| Constructor Summary | |
|---|---|
TableGeneratorMetaData(MetaData parent,
java.lang.String name,
java.lang.String tableName,
java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String pkColumnName,
java.lang.String valueColumnName,
java.lang.String pkColumnValue,
java.lang.String initialValue,
java.lang.String allocationSize)
Constructor. |
|
| Method Summary | |
|---|---|
long |
getAllocationSize()
Accessor for the allocation size of the sequence. |
java.lang.String |
getCatalogName()
Accessor for the catalog name. |
java.lang.String |
getFullyQualifiedName()
Convenience accessor for the fully-qualified name of the sequence. |
long |
getInitialValue()
Accessor for the initial value of the sequence. |
java.lang.String |
getName()
Accessor for the generator name. |
java.lang.String |
getPKColumnName()
Accessor for the PK column name. |
java.lang.String |
getPKColumnValue()
Accessor for the PK column value. |
java.lang.String |
getSchemaName()
Accessor for the schema name. |
java.lang.String |
getTableName()
Accessor for the table name. |
java.lang.String |
getValueColumnName()
Accessor for the value column name. |
java.lang.String |
toString(java.lang.String prefix,
java.lang.String indent)
Returns a string representation of the object. |
| Methods inherited from class org.datanucleus.metadata.MetaData |
|---|
addExtension, addExtension, getExtensions, getNoOfExtensions, getParent, getValueForExtension, getValuesForExtension, hasExtension, initialise, isInitialised, isPopulated, isUsed, removeExtension, setInitialised, setParent, setPopulated, setUsed, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final java.lang.String name
protected java.lang.String tableName
protected java.lang.String catalogName
protected java.lang.String schemaName
protected java.lang.String pkColumnName
protected java.lang.String valueColumnName
protected java.lang.String pkColumnValue
protected long initialValue
protected long allocationSize
| Constructor Detail |
|---|
public TableGeneratorMetaData(MetaData parent,
java.lang.String name,
java.lang.String tableName,
java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String pkColumnName,
java.lang.String valueColumnName,
java.lang.String pkColumnValue,
java.lang.String initialValue,
java.lang.String allocationSize)
parent - The parent of this elementname - The generator nametableName - The table namecatalogName - Catalog name for the tableschemaName - Schema name for the tablepkColumnName - Name of PK column in tablevalueColumnName - Name of value column in tablepkColumnValue - Value of the pk in the tableinitialValue - Initial valueallocationSize - Allocation size| Method Detail |
|---|
public java.lang.String getFullyQualifiedName()
public java.lang.String getName()
public java.lang.String getTableName()
public java.lang.String getCatalogName()
public java.lang.String getSchemaName()
public java.lang.String getPKColumnName()
public java.lang.String getValueColumnName()
public java.lang.String getPKColumnValue()
public long getInitialValue()
public long getAllocationSize()
public java.lang.String toString(java.lang.String prefix,
java.lang.String indent)
toString in class MetaDataprefix - prefix stringindent - indent string
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||