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
ConstructorsModifierConstructorDescriptionprotectedRecursiveType(Class<?> type) Constructs aAbstractMappingStrategy.RecursiveTypewith the specified type. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRecursiveMember(FieldAccess<Object> member, AbstractMappingStrategy.RecursiveType memberType) Used to add a recursive type.Class<?> getType()
-
Field Details
-
type
-
recursiveMembers
-
-
Constructor Details
-
RecursiveType
Constructs aAbstractMappingStrategy.RecursiveTypewith 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.RecursiveTypeto add
-
getRecursiveMembers
- Returns:
Mapof field access toAbstractMappingStrategy.RecursiveType.
-