| Package | Description |
|---|---|
| org.osgl |
| Modifier and Type | Method and Description |
|---|---|
static Lang._MappingStage |
Lang.clone(Object source)
|
Lang._MappingStage |
Lang._MappingStage.conversionHint(Class<?> type,
Object hint)
Add conversion hint associated with class.
|
Lang._MappingStage |
Lang._MappingStage.conversionHints(Map<Class,Object> conversionHints)
Add conversion hints indexed by class.
|
static Lang._MappingStage |
Lang.copy(Object source)
Prepare a Mapping operation with
shallow copy semantic |
static Lang._MappingStage |
Lang.deepCopy(Object source)
Prepare a Mapping operation with
deep copy semantic |
Lang._MappingStage |
Lang._MappingStage.filter(String filterSpec)
Specify filter spec for this mapping process.
|
static Lang._MappingStage |
Lang.flatCopy(Object source)
Prepare a Mapping operation with
flat
copy semantic |
Lang._MappingStage |
Lang._MappingStage.ignoreError()
Indicate ignore exceptions encountered during mapping process.
|
Lang._MappingStage |
Lang._MappingStage.ignoreGlobalFilter()
Indicate this mapping process shall ignore global filter settings in
OsglConfig. |
Lang._MappingStage |
Lang._MappingStage.instanceFactory(Lang.Function<Class,?> instanceFactory)
Specify a function used to create new instance during mapping process.
|
Lang._MappingStage |
Lang._MappingStage.keywordMatching()
Indicate field mapping shall based on
Keyword match. |
Lang._MappingStage |
Lang._MappingStage.looseMatching()
Alias of
keywordMatching() |
Lang._MappingStage |
Lang._MappingStage.map(Map<String,String> mapping)
Deprecated.
|
static Lang._MappingStage |
Lang.map(Object source)
Prepare a Mapping operation with
map semantic and keyword matching |
static Lang._MappingStage |
Lang.merge(Object source)
Prepare a Mapping operation with
merge semantic |
static Lang._MappingStage |
Lang.mergeMap(Object source)
Prepare a Mapping operation with
merge map semantic and keyword matching |
Lang._MappingStage |
Lang._MappingStage.rootClass(Class<?> rootClass)
Specify the root class of target bean when getting the fields.
|
Lang._MappingStage |
Lang._MappingStage.semantic(DataMapper.Semantic semantic)
Change mapping semantic of this mapping stage.
|
Lang._MappingStage |
Lang._MappingStage.strictMatching()
Indicate field mapping shall be exactly string equal test.
|
Lang._MappingStage |
Lang._MappingStage.targetGenericType(Type type)
Specify target generic type.
|
Lang._MappingStage |
Lang._MappingStage.targetGenericType(TypeReference typeReference)
Specify target generic type by
TypeReference. |
Lang._MappingStage |
Lang._MappingStage.__SpecialMappingStage.to(String toField) |
Lang._MappingStage |
Lang._MappingStage.withConverter(Collection<Lang.TypeConverter> converters)
Apply a collection of
type converters during the mapping process. |
Lang._MappingStage |
Lang._MappingStage.withConverter(Lang.TypeConverter converter,
Lang.TypeConverter... otherConverters)
Apply type converters during the mapping process.
|
Lang._MappingStage |
Lang._MappingStage.withHeadMapping(Map<String,String> mapping) |
Lang._MappingStage |
Lang._MappingStage.withKeyTransformer(Keyword.Style targetStyle) |
Lang._MappingStage |
Lang._MappingStage.withKeyTransformer(Lang.Function transformer) |
Lang._MappingStage |
Lang._MappingStage.withSpecialNameMappings(Map<String,String> specialNameMappings)
Specify special name mapping rules.
|
Copyright © 2014–2019 OSGL (Open Source General Library). All rights reserved.