Package com.blackrook.archetext.struct
Class TypeProfileFactory.Profile<T>
- java.lang.Object
-
- com.blackrook.archetext.struct.TypeProfileFactory.Profile<T>
-
- Type Parameters:
T- the encapsulated type
- Enclosing class:
- TypeProfileFactory
public static class TypeProfileFactory.Profile<T> extends Object
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
Nested Classes Modifier and Type Class Description static classTypeProfileFactory.Profile.FieldInfoField information.static classTypeProfileFactory.Profile.MethodInfoMethod signature.
-
Method Summary
-
-
-
Method Detail
-
getIdentityField
public TypeProfileFactory.Profile.FieldInfo getIdentityField()
-
getIdentityGetterMethod
public TypeProfileFactory.Profile.MethodInfo getIdentityGetterMethod()
-
getIdentitySetterMethod
public TypeProfileFactory.Profile.MethodInfo getIdentitySetterMethod()
-
getPublicFieldsByName
public HashMap<String,TypeProfileFactory.Profile.FieldInfo> getPublicFieldsByName()
Returns a reference to the map that contains this profile's public fields. Maps "field name" toTypeProfileFactory.Profile.FieldInfoobject.- Returns:
- the map of field name to field.
-
getGetterMethodsByName
public HashMap<String,TypeProfileFactory.Profile.MethodInfo> getGetterMethodsByName()
Returns a reference to the map that contains this profile's getter methods. Maps "field name" toTypeProfileFactory.Profile.MethodInfoobject, which contains theClasstype and theMethoditself.- Returns:
- the map of getter name to method.
-
getSetterMethodsByName
public HashMap<String,TypeProfileFactory.Profile.MethodInfo> getSetterMethodsByName()
Returns a reference to the map that contains this profile's setter methods. Maps "field name" toTypeProfileFactory.Profile.MethodInfoobject, which contains theClasstype and theMethoditself.- Returns:
- the map of setter name to method.
-
getPublicFieldsByAlias
public HashMap<String,TypeProfileFactory.Profile.FieldInfo> getPublicFieldsByAlias()
Returns a reference to the map that contains this profile's public fields. Maps "field name" toTypeProfileFactory.Profile.FieldInfoobject.- Returns:
- the map of field name to field.
-
getGetterMethodsByAlias
public HashMap<String,TypeProfileFactory.Profile.MethodInfo> getGetterMethodsByAlias()
Returns a reference to the map that contains this profile's getter methods. Maps "field name" toTypeProfileFactory.Profile.MethodInfoobject, which contains theClasstype and theMethoditself.- Returns:
- the map of getter name to method.
-
getSetterMethodsByAlias
public HashMap<String,TypeProfileFactory.Profile.MethodInfo> getSetterMethodsByAlias()
Returns a reference to the map that contains this profile's setter methods. Maps "field name" toTypeProfileFactory.Profile.MethodInfoobject, which contains theClasstype and theMethoditself.- Returns:
- the map of setter name to method.
-
-