| Package | Description |
|---|---|
| org.sfm.csv |
CsvMapper classes to map object from a csv file. |
| org.sfm.csv.impl |
CsvMapper implementation. |
| org.sfm.map |
Provides base class that are shared across all mappers.
|
| org.sfm.map.impl |
Mapper partial implementation. |
| org.sfm.reflect.meta |
Class analyses.
|
| Modifier and Type | Method and Description |
|---|---|
static CsvColumnDefinition |
CsvColumnDefinition.key(Predicate<PropertyMeta<?,?>> appliesTo) |
| Modifier and Type | Method and Description |
|---|---|
<T,P> CellSetter<T> |
CellSetterFactory.getCellSetter(PropertyMeta<T,P> prop,
int index,
CsvColumnDefinition columnDefinition,
ParsingContextFactoryBuilder parsingContextFactoryBuilder) |
<T,P> DelayedCellSetterFactory<T,P> |
CellSetterFactory.getDelayedCellSetter(PropertyMeta<T,P> prop,
int index,
CsvColumnDefinition columnDefinition,
ParsingContextFactoryBuilder parsingContextFactoryBuilder) |
| Modifier and Type | Method and Description |
|---|---|
Predicate<PropertyMeta<?,?>> |
ColumnDefinition.keyAppliesTo() |
| Modifier and Type | Method and Description |
|---|---|
MappingContextFactoryBuilder<S,K> |
MappingContextFactoryBuilder.newBuilder(List<K> subKeys,
PropertyMeta<?,?> owner) |
| Modifier and Type | Method and Description |
|---|---|
abstract CD |
ColumnDefinition.addKey(Predicate<PropertyMeta<?,?>> appliesTo) |
| Constructor and Description |
|---|
MappingContextFactoryBuilder(org.sfm.map.MappingContextFactoryBuilder.Counter counter,
List<K> keys,
MappingContextFactoryBuilder.KeySourceGetter<K,S> keySourceGetter,
MappingContextFactoryBuilder<S,K> parent,
PropertyMeta<?,?> owner) |
| Modifier and Type | Method and Description |
|---|---|
<P> PropertyMeta<T,P> |
PropertyMappingsBuilder.addProperty(K key,
D columnDefinition) |
PropertyMeta<T,P> |
PropertyMapping.getPropertyMeta() |
| Modifier and Type | Method and Description |
|---|---|
protected <P> void |
AbstractFieldMapperMapperBuilder.addMapping(K columnKey,
FieldMapperColumnDefinition<K,S> columnDefinition,
PropertyMeta<T,P> prop) |
<P> void |
PropertyMappingsBuilder.addProperty(K key,
D columnDefinition,
PropertyMeta<T,P> prop) |
| Modifier and Type | Method and Description |
|---|---|
static <K extends FieldKey<K>,S> |
FieldMapperColumnDefinition.key(Predicate<PropertyMeta<?,?>> predicate) |
| Constructor and Description |
|---|
PropertyMapping(PropertyMeta<T,P> propertyMeta,
K columnKey,
D columnDefinition) |
| Modifier and Type | Class and Description |
|---|---|
class |
ArrayElementPropertyMeta<T,E> |
class |
ConstructorPropertyMeta<T,P> |
class |
DirectClassMeta.DirectPropertyMeta<E> |
class |
FieldPropertyMeta<T,P> |
class |
ListElementPropertyMeta<T,E> |
class |
MethodPropertyMeta<T,P> |
class |
SubPropertyMeta<O,P> |
| Modifier and Type | Method and Description |
|---|---|
PropertyMeta<T,?> |
ArrayPropertyFinder.findProperty(PropertyNameMatcher propertyNameMatcher) |
<E> PropertyMeta<T,E> |
SingletonPropertyFinder.findProperty(PropertyNameMatcher propertyNameMatcher) |
<E> PropertyMeta<T,E> |
DirectClassMeta.DirectPropertyFinder.findProperty(PropertyNameMatcher propertyNameMatcher) |
<E> PropertyMeta<T,E> |
PropertyFinder.findProperty(PropertyNameMatcher propertyNameMatcher) |
<E> PropertyMeta<T,E> |
TuplePropertyFinder.findProperty(PropertyNameMatcher propertyNameMatcher) |
PropertyMeta<O,P> |
SubPropertyMeta.getOwnerProperty() |
PropertyMeta<T,E> |
IndexedElement.getPropertyMeta() |
PropertyMeta<P,?> |
SubPropertyMeta.getSubProperty() |
| Modifier and Type | Method and Description |
|---|---|
void |
IndexedElement.addProperty(PropertyMeta<?,?> s) |
boolean |
IndexedElement.hasProperty(PropertyMeta<?,?> property) |
| Constructor and Description |
|---|
IndexedElement(PropertyMeta<T,E> propertyMeta,
ClassMeta<E> elementClassMeta) |
SubPropertyMeta(ReflectionService reflectService,
PropertyMeta<O,P> property,
PropertyMeta<P,?> subProperty) |
SubPropertyMeta(ReflectionService reflectService,
PropertyMeta<O,P> property,
PropertyMeta<P,?> subProperty) |
| Constructor and Description |
|---|
ObjectClassMeta(Type target,
List<ConstructorDefinition<T>> constructorDefinitions,
List<ConstructorPropertyMeta<T,?>> constructorProperties,
List<PropertyMeta<T,?>> properties,
ReflectionService reflectService) |
Copyright © 2015. All rights reserved.