Class AbstractAttributeDocumentToEntityConverter<D extends AbstractAttributeDoc,E extends AbstractAttributeEntity,DTO extends AbstractAttributeDTO>
- java.lang.Object
-
- org.openiam.elasticsearch.converter.AbstractDocumentToEntityConverter<D,E,DTO>
-
- org.openiam.elasticsearch.converter.AbstractKeyDocumentToEntityConverter<D,E,DTO>
-
- org.openiam.elasticsearch.converter.AbstractKeyNameDocumentToEntityConverter<D,E,DTO>
-
- org.openiam.elasticsearch.converter.AbstractAttributeDocumentToEntityConverter<D,E,DTO>
-
- Direct Known Subclasses:
GroupAttributeDocumentToEntityConverter
,ResourceAttributeDocumentToEntityConverter
,UserAttributeDocumentToEntityConverter
public abstract class AbstractAttributeDocumentToEntityConverter<D extends AbstractAttributeDoc,E extends AbstractAttributeEntity,DTO extends AbstractAttributeDTO> extends AbstractKeyNameDocumentToEntityConverter<D,E,DTO>
-
-
Constructor Summary
Constructors Constructor Description AbstractAttributeDocumentToEntityConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description D
convertToDocument(E entity)
DTO
convertToDTO(D doc)
E
convertToEntity(D doc)
-
Methods inherited from class org.openiam.elasticsearch.converter.AbstractKeyNameDocumentToEntityConverter
isCanBeReindexed
-
Methods inherited from class org.openiam.elasticsearch.converter.AbstractDocumentToEntityConverter
convertToDocumentList, convertToEntityList, getDocumentClass, getDTOClass, getEntityClass, newDocument, newDTO, newEntity
-
-
-
-
Method Detail
-
convertToDocument
public D convertToDocument(E entity)
- Overrides:
convertToDocument
in classAbstractKeyNameDocumentToEntityConverter<D extends AbstractAttributeDoc,E extends AbstractAttributeEntity,DTO extends AbstractAttributeDTO>
-
convertToEntity
public E convertToEntity(D doc)
- Overrides:
convertToEntity
in classAbstractKeyNameDocumentToEntityConverter<D extends AbstractAttributeDoc,E extends AbstractAttributeEntity,DTO extends AbstractAttributeDTO>
-
convertToDTO
public DTO convertToDTO(D doc)
- Overrides:
convertToDTO
in classAbstractKeyNameDocumentToEntityConverter<D extends AbstractAttributeDoc,E extends AbstractAttributeEntity,DTO extends AbstractAttributeDTO>
-
-