Package com.opencsv.bean
Class AbstractMappingStrategy.RecursiveType
java.lang.Object
com.opencsv.bean.AbstractMappingStrategy.RecursiveType
- Enclosing class:
AbstractMappingStrategy<I,
K extends Comparable<K>, C extends ComplexFieldMapEntry<I, K, T>, T>
Encapsulates a bean type and all of the member variables that need to be
recursed into.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map
<FieldAccess<Object>, AbstractMappingStrategy.RecursiveType> private final Class
<?> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
RecursiveType
(Class<?> type) Constructs aAbstractMappingStrategy.RecursiveType
with the specified type. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addRecursiveMember
(FieldAccess<Object> member, AbstractMappingStrategy.RecursiveType memberType) Used to add a recursive type.Class
<?> getType()
-
Field Details
-
type
-
recursiveMembers
-
-
Constructor Details
-
RecursiveType
Constructs aAbstractMappingStrategy.RecursiveType
with the specified type.- Parameters:
type
- Type associated with this branch
-
-
Method Details
-
getType
- Returns:
- Type associated with this branch
-
addRecursiveMember
public void addRecursiveMember(FieldAccess<Object> member, AbstractMappingStrategy.RecursiveType memberType) Used to add a recursive type.- Parameters:
member
- Field access member to add a recursive type tomemberType
-AbstractMappingStrategy.RecursiveType
to add
-
getRecursiveMembers
- Returns:
Map
of field access toAbstractMappingStrategy.RecursiveType
.
-