Package | Description |
---|---|
io.beanmapper.annotations | |
io.beanmapper.config | |
io.beanmapper.core.collections | |
io.beanmapper.core.converter.collections |
Modifier and Type | Method and Description |
---|---|
static BeanCollectionUsage |
BeanCollectionUsage.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BeanCollectionUsage[] |
BeanCollectionUsage.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
BeanCollectionUsage |
OverrideConfiguration.getCollectionUsage() |
BeanCollectionUsage |
CoreConfiguration.getCollectionUsage() |
BeanCollectionUsage |
Configuration.getCollectionUsage()
Returns the type of collection usage for the current collection mapping
|
Modifier and Type | Method and Description |
---|---|
void |
OverrideConfiguration.setCollectionUsage(BeanCollectionUsage collectionUsage) |
void |
CoreConfiguration.setCollectionUsage(BeanCollectionUsage collectionUsage) |
void |
Configuration.setCollectionUsage(BeanCollectionUsage collectionUsage)
Sets the collection usage for the current collection mapping
|
BeanMapperBuilder |
BeanMapperBuilder.setCollectionUsage(BeanCollectionUsage collectionUsage) |
Modifier and Type | Method and Description |
---|---|
C |
CollectionHandler.getTargetCollection(BeanCollectionUsage collectionUsage,
Class<C> preferredCollectionClass,
Class<?> collectionElementClass,
C targetCollection,
CollectionFlusher collectionFlusher,
Boolean flushAfterClear)
Retrieves either the target collection or creates a new collection instance.
|
C |
AbstractCollectionHandler.getTargetCollection(BeanCollectionUsage collectionUsage,
Class<C> preferredCollectionClass,
Class<?> collectionElementClass,
C targetCollection,
CollectionFlusher collectionFlusher,
Boolean mustFlush) |
Modifier and Type | Method and Description |
---|---|
BeanCollectionUsage |
BeanCollectionInstructions.getBeanCollectionUsage() |
Modifier and Type | Method and Description |
---|---|
void |
BeanCollectionInstructions.setBeanCollectionUsage(BeanCollectionUsage beanCollectionUsage) |
Copyright © 2015–2018 42 BV. All rights reserved.