Package | Description |
---|---|
org.datanucleus.store.schema.naming |
This package is a work-in-progress to provide datastore-agnostic naming strategies for JDO, JPA and
indeed any other API.
|
org.datanucleus.store.schema.table |
Provides a series of convenience classes for modelling tables and columns that a class and its members map onto.
|
Modifier and Type | Method and Description |
---|---|
static ColumnType |
ColumnType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColumnType[] |
ColumnType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
String |
NamingFactory.getColumnName(AbstractClassMetaData cmd,
ColumnType type)
Method to return the name of the column for the specified class (version, datastore-id, discriminator etc).
|
String |
JPANamingFactory.getColumnName(AbstractClassMetaData cmd,
ColumnType type) |
String |
DN2NamingFactory.getColumnName(AbstractClassMetaData cmd,
ColumnType type) |
String |
NamingFactory.getColumnName(AbstractMemberMetaData mmd,
ColumnType type)
Method to return the name of the column for the specified field.
|
String |
AbstractNamingFactory.getColumnName(AbstractMemberMetaData mmd,
ColumnType type) |
String |
NamingFactory.getColumnName(AbstractMemberMetaData mmd,
ColumnType type,
int position)
Method to return the name of the column for the position of the specified field.
|
String |
JPANamingFactory.getColumnName(AbstractMemberMetaData mmd,
ColumnType type,
int position) |
String |
DN2NamingFactory.getColumnName(AbstractMemberMetaData mmd,
ColumnType type,
int position) |
String |
NamingFactory.getConstraintName(AbstractClassMetaData cmd,
ConstraintMetaData cnstrmd,
ColumnType type)
Method to return the name of the constraint for the specified class (version, datastore-id, discriminator etc).
|
String |
AbstractNamingFactory.getConstraintName(AbstractClassMetaData cmd,
ConstraintMetaData cnstrmd,
ColumnType type) |
Modifier and Type | Method and Description |
---|---|
ColumnType |
Column.getColumnType()
Accessor for the role that this column serves (if known).
|
ColumnType |
ColumnImpl.getColumnType() |
Modifier and Type | Method and Description |
---|---|
protected ColumnImpl |
CompleteClassTable.addColumn(AbstractMemberMetaData mmd,
String colName,
ColumnType colType,
TypeConverter typeConv) |
Constructor and Description |
---|
ColumnImpl(Table tbl,
String identifier,
ColumnType colType) |
Copyright © 2015. All rights reserved.