|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
RECORD
- All fields returned by the registry will have field paths relative
to this class or one of it's subtypes.public interface IdxFieldResolver<RECORD>
An IdxFieldResolver
provides access to fields for a given record type.
All fields returned by the
Method Summary | ||
---|---|---|
|
getField(Class<?> recordType,
String fieldPath)
Gets a field for the given recordType and field path. |
|
|
getField(Class<?> recordType,
String fieldPath,
Class<T> fieldType,
Class<?>... pathTypes)
Gets a field for the given recordType and field path. |
|
|
getField(String recordTypeName,
String fieldPath)
Gets a field from the given type name and fieldPath. |
Method Detail |
---|
<T> IdxField<RECORD,T> getField(String recordTypeName, String fieldPath)
recordTypeName
- The typeName of the log entry's object.fieldPath
- The bean path of the field.
<T> IdxField<RECORD,T> getField(Class<?> recordType, String fieldPath)
IdxFieldResolver
's
RECORD type, but it is possible that some implementation can infer a field
of RECORD type based on an alternative type.
recordType
- The class of the corresponding record.fieldPath
- The bean path of the field.
<T> IdxField<RECORD,T> getField(Class<?> recordType, String fieldPath, Class<T> fieldType, Class<?>... pathTypes)
IdxFieldResolver
's
RECORD type, but it is possible that some implementation can infer a field
of RECORD type based on an alternative type.
recordType
- The class of the corresponding record.fieldPath
- The bean path of the field.fieldType
- Indicates the required type of the field.pathTypes
- For cases where types in the field path are ambiguous, this allows
specifying specific types for the intermediate paths.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |