public class SingleStrategyFieldMapping<T> extends Object
| Constructor and Description |
|---|
SingleStrategyFieldMapping() |
| Modifier and Type | Method and Description |
|---|---|
Set<PropertyDescriptor> |
getMappedProperties()
Gets the set of properties for which a mapping was set
|
T |
getStrategy(PropertyDescriptor propertyDescriptor)
Gets the strategy for the provided propertyDescriptor in the current model mapping
|
void |
setStrategy(PropertyDescriptor propertyDescriptor,
T strategy)
Sets a strategy for a property
|
public void setStrategy(PropertyDescriptor propertyDescriptor, T strategy)
propertyDescriptor - property mappedstrategy - strategy mappedpublic T getStrategy(PropertyDescriptor propertyDescriptor)
propertyDescriptor - property descriptor for which to retrieve the strategypublic Set<PropertyDescriptor> getMappedProperties()
Copyright © 2021. All rights reserved.