Package com.easydesk.modules.mapper
Interface RequestAttributeValueMapper
- All Known Implementing Classes:
RequestAttributeValueMapperImpl
public interface RequestAttributeValueMapper
// [사용 예시]
RequestAttribute record = new RequestAttribute("홍길동", 25, "hong@example.com");
// 1. 새로운 Bean 생성 및 전달
EasyDeskUserImplBean bean = RequestAttributeValueMapper.INSTANCE.toBean(record);
// 2. 기존 Bean에 덮어쓰기
EasyDeskUserImpl existingBean = new EasyDeskUserImpl();
RequestAttributeValueMapper.INSTANCE.updateBeanFromRecord(record, existingBean);
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RequestAttributeValueMapperstatic final org.slf4j.LoggerThe logger -
Method Summary
Modifier and TypeMethodDescriptiondefault AttributeValuetoBean(RequestAttributeValue record) toRecord(AttributeValue bean) toRecordList(List<AttributeValue> attributes) voidupdateBeanFromRecord(RequestAttributeValue record, AttributeValue bean)