Package | Description |
---|---|
com.j256.ormlite.field |
Object field information.
|
com.j256.ormlite.misc |
Miscellaneous classes.
|
com.j256.ormlite.table |
Object table information.
|
Modifier and Type | Method and Description |
---|---|
static DatabaseFieldConfig |
DatabaseFieldConfig.fromDatabaseField(DatabaseType databaseType,
String tableName,
Field field,
DatabaseField databaseField) |
static DatabaseFieldConfig |
DatabaseFieldConfig.fromField(DatabaseType databaseType,
String tableName,
Field field)
Create and return a config converted from a
Field that may have one of the following annotations:
DatabaseField , ForeignCollectionField , or javax.persistence... |
static DatabaseFieldConfig |
DatabaseFieldConfigLoader.fromReader(BufferedReader reader)
Load a configuration in from a text file.
|
Modifier and Type | Method and Description |
---|---|
static void |
DatabaseFieldConfigLoader.write(BufferedWriter writer,
DatabaseFieldConfig config,
String tableName)
Write the configuration to a buffered writer.
|
static void |
DatabaseFieldConfigLoader.writeConfig(BufferedWriter writer,
DatabaseFieldConfig config,
String tableName)
Print the config to the writer.
|
Constructor and Description |
---|
FieldType(DatabaseType databaseType,
String tableName,
Field field,
DatabaseFieldConfig fieldConfig,
Class<?> parentClass)
You should use
FieldType.createFieldType(com.j256.ormlite.db.DatabaseType, java.lang.String, java.lang.reflect.Field, java.lang.Class<?>) to instantiate one of these field if you have a Field . |
Modifier and Type | Method and Description |
---|---|
DatabaseFieldConfig |
JavaxPersistenceImpl.createFieldConfig(DatabaseType databaseType,
Field field) |
DatabaseFieldConfig |
JavaxPersistenceConfigurer.createFieldConfig(DatabaseType databaseType,
Field field)
Create and return a field config from the javax.persistence annotations associated with the field argument or
null if no annotations present.
|
Modifier and Type | Method and Description |
---|---|
List<DatabaseFieldConfig> |
DatabaseTableConfig.getFieldConfigs() |
Modifier and Type | Method and Description |
---|---|
void |
DatabaseTableConfig.setFieldConfigs(List<DatabaseFieldConfig> fieldConfigs) |
Constructor and Description |
---|
DatabaseTableConfig(Class<T> dataClass,
String tableName,
List<DatabaseFieldConfig> fieldConfigs)
Setup a table config associated with the dataClass, table-name, and field configurations.
|
DatabaseTableConfig(Class<T> dataClass,
String schemaName,
String tableName,
List<DatabaseFieldConfig> fieldConfigs)
Setup a table config associated with the dataClass, schema-name, table-name, and field configurations.
|
DatabaseTableConfig(DatabaseType databaseType,
Class<T> dataClass,
List<DatabaseFieldConfig> fieldConfigs)
Setup a table config associated with the dataClass and field configurations.
|
This documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.