|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use FieldNameConverter | |
|---|---|
| net.java.ao | |
| net.java.ao.schema | |
| Uses of FieldNameConverter in net.java.ao |
|---|
| Methods in net.java.ao that return FieldNameConverter | |
|---|---|
FieldNameConverter |
EntityManagerConfiguration.getFieldNameConverter()
Gets the field name converter to be used with the (to be) configured EntityManager |
FieldNameConverter |
EntityManager.getFieldNameConverter()
Retrieves the FieldNameConverter instance used for name
conversion of all entity methods. |
| Methods in net.java.ao with parameters of type FieldNameConverter | ||
|---|---|---|
static String |
Common.convert(FieldNameConverter fnc,
String column)
|
|
static Method |
Common.findCounterpart(FieldNameConverter converter,
Method method)
Finds the corresponding method in an accessor/mutator pair based on the given method (or null if no corresponding method). |
|
static AnnotationDelegate |
Common.getAnnotationDelegate(FieldNameConverter converter,
Method method)
Note: this method leads to the creation and quick discard of large numbers of AnnotationDelegate objects. |
|
String[] |
Query.getCanonicalFields(Class<? extends RawEntity<?>> type,
FieldNameConverter converter)
|
|
static String[] |
Common.getMappingFields(FieldNameConverter converter,
Class<? extends RawEntity<?>> from,
Class<? extends RawEntity<?>> to)
|
|
static String[] |
Common.getPolymorphicFieldNames(FieldNameConverter converter,
Class<? extends RawEntity<?>> from,
Class<? extends RawEntity<?>> to)
|
|
static String |
Common.getPrimaryKeyField(Class<? extends RawEntity<?>> type,
FieldNameConverter converter)
|
|
static Set<Method> |
Common.getValueFieldsMethods(Class<? extends RawEntity<?>> entity,
FieldNameConverter converter)
Gets all the methods of an entity that correspond to a value field. |
|
static Set<String> |
Common.getValueFieldsNames(Class<? extends RawEntity<?>> entity,
FieldNameConverter converter)
|
|
static List<String> |
Common.preloadValue(Preload preload,
FieldNameConverter fnc)
|
|
protected
|
Query.toSQL(Class<? extends RawEntity<K>> tableType,
DatabaseProvider provider,
TableNameConverter converter,
FieldNameConverter fieldConverter,
boolean count)
|
|
static String |
Common.where(ManyToMany manyToMany,
FieldNameConverter fnc)
|
|
static String |
Common.where(OneToMany oneToMany,
FieldNameConverter fnc)
|
|
static String |
Common.where(OneToOne oneToOne,
FieldNameConverter fnc)
|
|
| Uses of FieldNameConverter in net.java.ao.schema |
|---|
| Classes in net.java.ao.schema that implement FieldNameConverter | |
|---|---|
class |
AbstractFieldNameConverter
An abstract implementation of FieldNameConverter which handles common
tasks for the name converter (i.e. |
class |
CamelCaseFieldNameConverter
Imposes a standard camelCase convention upon field names. |
class |
UnderscoreFieldNameConverter
Imposes an underscore word-separation convention upon field names. |
| Methods in net.java.ao.schema with parameters of type FieldNameConverter | |
|---|---|
static void |
SchemaGenerator.migrate(DatabaseProvider provider,
SchemaConfiguration schemaConfiguration,
TableNameConverter nameConverter,
FieldNameConverter fieldConverter,
Class<? extends RawEntity<?>>... classes)
|
static DDLField[] |
SchemaGenerator.parseFields(Class<? extends RawEntity<?>> clazz,
FieldNameConverter fieldConverter)
Not intended for public usage. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||