public class AttributesMapper<A extends Attributes<A,V>,V> extends Mapper
Mapper for mapping Attributes.Attributes interface.
This encapsulates the following steps:
SetEntityFieldMapperBehavior is created using an AttributesSetterMapper.setBehaviors(Map) is already called; so if you call or override ensure the init()alizations made in this class
are not wiped out. Call super.init() or simply add a property to the map. For Spring this is handled by init() being in PostConstructAttributesSetter,
Serialized Form| Constructor and Description |
|---|
AttributesMapper() |
AttributesMapper(AttributesMapper mapper) |
| Modifier and Type | Method and Description |
|---|---|
AttributesSetter<A,V> |
getAttributesSetter() |
protected void |
init() |
void |
setAttributesSetter(AttributesSetter<A,V> attributesSetter) |
addBehavior, getBehavior, getBehaviors, getEntityClass, getFieldName, getId, getProcessor, setBehaviors, setEntityClass, setFieldName, setId, setProcessorpublic AttributesMapper()
public AttributesMapper(AttributesMapper mapper)
@PostConstruct protected void init()
public AttributesSetter<A,V> getAttributesSetter()
public void setAttributesSetter(AttributesSetter<A,V> attributesSetter)
Copyright © 2018. All rights reserved.