Package org.datanucleus.metadata
Class TableGeneratorMetaData
- java.lang.Object
-
- org.datanucleus.metadata.MetaData
-
- org.datanucleus.metadata.TableGeneratorMetaData
-
- All Implemented Interfaces:
Serializable
public class TableGeneratorMetaData extends MetaData
Representation of the MetaData of a TableGenerator (JPA).- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected long
allocationSize
Allocation size for ids from the table.protected String
catalogName
Name of the catalog to use for the tableprotected long
initialValue
Initial value in the table.protected String
name
Name under which this table generator is known.protected String
pkColumnName
Name of the primary-key column nameprotected String
pkColumnValue
Name of the primary-key column valueprotected String
schemaName
Name of the schema to use for the tableprotected String
tableName
Name of the table to use for sequencesprotected String
valueColumnName
Name of the value column name-
Fields inherited from class org.datanucleus.metadata.MetaData
EXTENSION_CLASS_CREATETIMESTAMP, EXTENSION_CLASS_CREATETIMESTAMP_COLUMN_NAME, EXTENSION_CLASS_CREATEUSER, EXTENSION_CLASS_CREATEUSER_COLUMN_LENGTH, EXTENSION_CLASS_CREATEUSER_COLUMN_NAME, EXTENSION_CLASS_MULTITENANCY_COLUMN_LENGTH, EXTENSION_CLASS_MULTITENANCY_COLUMN_NAME, EXTENSION_CLASS_MULTITENANCY_DISABLE, EXTENSION_CLASS_MULTITENANCY_JDBC_TYPE, EXTENSION_CLASS_READ_ONLY, EXTENSION_CLASS_SOFTDELETE, EXTENSION_CLASS_SOFTDELETE_COLUMN_NAME, EXTENSION_CLASS_UPDATETIMESTAMP, EXTENSION_CLASS_UPDATETIMESTAMP_COLUMN_NAME, EXTENSION_CLASS_UPDATEUSER, EXTENSION_CLASS_UPDATEUSER_COLUMN_LENGTH, EXTENSION_CLASS_UPDATEUSER_COLUMN_NAME, EXTENSION_CLASS_VERSION_FIELD_NAME, EXTENSION_CLASS_VIEW_DEFINITION, EXTENSION_CLASS_VIEW_IMPORTS, EXTENSION_MEMBER_CACHEABLE, EXTENSION_MEMBER_CALENDAR_ONE_COLUMN, EXTENSION_MEMBER_CASCADE_DETACH, EXTENSION_MEMBER_CASCADE_PERSIST, EXTENSION_MEMBER_CASCADE_REFRESH, EXTENSION_MEMBER_CASCADE_UPDATE, EXTENSION_MEMBER_COMPARATOR_NAME, EXTENSION_MEMBER_CONTAINER_ALLOW_NULLS, EXTENSION_MEMBER_ENUM_GETTER_BY_VALUE, EXTENSION_MEMBER_ENUM_VALUE_GETTER, EXTENSION_MEMBER_FETCH_FK_ONLY, EXTENSION_MEMBER_IMPLEMENTATION_CLASSES, EXTENSION_MEMBER_INSERTABLE, EXTENSION_MEMBER_KEY_IMPLEMENTATION_CLASSES, EXTENSION_MEMBER_LIST_ORDERING, EXTENSION_MEMBER_RELATION_DISCRIM_COLUMN, EXTENSION_MEMBER_RELATION_DISCRIM_PK, EXTENSION_MEMBER_RELATION_DISCRIM_VALUE, EXTENSION_MEMBER_STRATEGY_WHEN_NOTNULL, EXTENSION_MEMBER_TYPE_CONVERTER_DISABLED, EXTENSION_MEMBER_TYPE_CONVERTER_NAME, EXTENSION_MEMBER_UPDATEABLE, EXTENSION_MEMBER_VALUE_IMPLEMENTATION_CLASSES, EXTENSION_VERSION_NUMBER_INITIAL_VALUE, extensions, METADATA_CREATED_STATE, METADATA_INITIALISED_STATE, METADATA_POPULATED_STATE, METADATA_USED_STATE, metaDataState, parent, VENDOR_NAME
-
-
Method Summary
-
Methods inherited from class org.datanucleus.metadata.MetaData
addExtension, addExtensions, getExtensions, getMetaDataManager, getNoOfExtensions, getParent, getValueForExtension, getValuesForExtension, hasExtension, initialise, isInitialised, isPopulated, isUsed, removeExtension, setExtensions, setParent
-
-
-
-
Field Detail
-
name
protected final String name
Name under which this table generator is known.
-
tableName
protected String tableName
Name of the table to use for sequences
-
catalogName
protected String catalogName
Name of the catalog to use for the table
-
schemaName
protected String schemaName
Name of the schema to use for the table
-
pkColumnName
protected String pkColumnName
Name of the primary-key column name
-
valueColumnName
protected String valueColumnName
Name of the value column name
-
pkColumnValue
protected String pkColumnValue
Name of the primary-key column value
-
initialValue
protected long initialValue
Initial value in the table.
-
allocationSize
protected long allocationSize
Allocation size for ids from the table.
-
-
Method Detail
-
getFullyQualifiedName
public String getFullyQualifiedName()
Convenience accessor for the fully-qualified name of the sequence.- Returns:
- Fully qualfiied name of the sequence (including the package name).
-
getName
public String getName()
-
getTableName
public String getTableName()
-
setTableName
public TableGeneratorMetaData setTableName(String tableName)
-
getCatalogName
public String getCatalogName()
-
setCatalogName
public TableGeneratorMetaData setCatalogName(String catalogName)
-
getSchemaName
public String getSchemaName()
-
setSchemaName
public TableGeneratorMetaData setSchemaName(String schemaName)
-
getPKColumnName
public String getPKColumnName()
-
setPKColumnName
public TableGeneratorMetaData setPKColumnName(String pkColumnName)
-
getValueColumnName
public String getValueColumnName()
-
setValueColumnName
public TableGeneratorMetaData setValueColumnName(String valueColumnName)
-
getPKColumnValue
public String getPKColumnValue()
-
setPKColumnValue
public TableGeneratorMetaData setPKColumnValue(String pkColumnValue)
-
getInitialValue
public long getInitialValue()
-
setInitialValue
public TableGeneratorMetaData setInitialValue(long initialValue)
-
setInitialValue
public TableGeneratorMetaData setInitialValue(String initialValue)
-
getAllocationSize
public long getAllocationSize()
-
setAllocationSize
public TableGeneratorMetaData setAllocationSize(long allocationSize)
-
setAllocationSize
public TableGeneratorMetaData setAllocationSize(String allocationSize)
-
-