Package com.blackrook.json.struct
Class TypeProfileFactory.Profile<T>
java.lang.Object
com.blackrook.json.struct.TypeProfileFactory.Profile<T>
- Type Parameters:
T
- the type class
- Enclosing class:
- TypeProfileFactory
Type profile for an unknown object that has an ambiguous signature for
applying values to POJOs and beans.
This only cares about setter methods with one argument and public fields.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Field information.static class
Method signature. -
Method Summary
Modifier and TypeMethodDescriptionReturns a reference to the map that contains this profile's getter methods.Returns a reference to the map that contains this profile's getter methods.Returns a reference to the map that contains this profile's public fields.Returns a reference to the map that contains this profile's public fields.Returns a reference to the map that contains this profile's setter methods.Returns a reference to the map that contains this profile's setter methods.
-
Method Details
-
getPublicFieldsByName
Returns a reference to the map that contains this profile's public fields. Maps "field name" toTypeProfileFactory.Profile.FieldInfo
object.- Returns:
- the map of field name to field.
-
getGetterMethodsByName
Returns a reference to the map that contains this profile's getter methods. Maps "field name" toTypeProfileFactory.Profile.MethodInfo
object, which contains theClass
type and theMethod
itself.- Returns:
- the map of getter name to method.
-
getSetterMethodsByName
Returns a reference to the map that contains this profile's setter methods. Maps "field name" toTypeProfileFactory.Profile.MethodInfo
object, which contains theClass
type and theMethod
itself.- Returns:
- the map of setter name to method.
-
getPublicFieldsByAlias
Returns a reference to the map that contains this profile's public fields. Maps "field name" toTypeProfileFactory.Profile.FieldInfo
object.- Returns:
- the map of field name to field.
-
getGetterMethodsByAlias
Returns a reference to the map that contains this profile's getter methods. Maps "field name" toTypeProfileFactory.Profile.MethodInfo
object, which contains theClass
type and theMethod
itself.- Returns:
- the map of getter name to method.
-
getSetterMethodsByAlias
Returns a reference to the map that contains this profile's setter methods. Maps "field name" toTypeProfileFactory.Profile.MethodInfo
object, which contains theClass
type and theMethod
itself.- Returns:
- the map of setter name to method.
-