Package com.opencsv.bean
Class AbstractMappingStrategy.RecursiveType
- java.lang.Object
-
- com.opencsv.bean.AbstractMappingStrategy.RecursiveType
-
- Enclosing class:
- AbstractMappingStrategy<I,K extends java.lang.Comparable<K>,C extends ComplexFieldMapEntry<I,K,T>,T>
protected static class AbstractMappingStrategy.RecursiveType extends java.lang.ObjectEncapsulates a bean type and all of the member variables that need to be recursed into.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<FieldAccess<java.lang.Object>,AbstractMappingStrategy.RecursiveType>recursiveMembersprivate java.lang.Class<?>type
-
Constructor Summary
Constructors Modifier Constructor Description protectedRecursiveType(java.lang.Class<?> type)Constructs aAbstractMappingStrategy.RecursiveTypewith the specified type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRecursiveMember(FieldAccess<java.lang.Object> member, AbstractMappingStrategy.RecursiveType memberType)Used to add a recursive type.java.util.Map<FieldAccess<java.lang.Object>,AbstractMappingStrategy.RecursiveType>getRecursiveMembers()java.lang.Class<?>getType()
-
-
-
Field Detail
-
type
private final java.lang.Class<?> type
-
recursiveMembers
private final java.util.Map<FieldAccess<java.lang.Object>,AbstractMappingStrategy.RecursiveType> recursiveMembers
-
-
Constructor Detail
-
RecursiveType
protected RecursiveType(java.lang.Class<?> type)
Constructs aAbstractMappingStrategy.RecursiveTypewith the specified type.- Parameters:
type- Type associated with this branch
-
-
Method Detail
-
getType
public java.lang.Class<?> getType()
- Returns:
- Type associated with this branch
-
addRecursiveMember
public void addRecursiveMember(FieldAccess<java.lang.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
public java.util.Map<FieldAccess<java.lang.Object>,AbstractMappingStrategy.RecursiveType> getRecursiveMembers()
- Returns:
Mapof field access toAbstractMappingStrategy.RecursiveType.
-
-