Package com.skava.business.factoryimpl
Class ConsentEntityFactoryImpl
java.lang.Object
com.skava.business.factoryimpl.ConsentEntityFactoryImpl
- All Implemented Interfaces:
ConsentEntityFactory
This service class implements ConsentEntityFactory and handles the transformation of Domain to Entity objects.
- Author:
- Infosys Equinox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateConsentEntity
(ConsentDomain consentDomain, CollectionEntity collectionEntity) This method converts theConsentDomain
object toConsentEntity
object.
-
Constructor Details
-
ConsentEntityFactoryImpl
public ConsentEntityFactoryImpl()
-
-
Method Details
-
createConsentEntity
public ConsentEntity createConsentEntity(ConsentDomain consentDomain, CollectionEntity collectionEntity) This method converts theConsentDomain
object toConsentEntity
object.- Specified by:
createConsentEntity
in interfaceConsentEntityFactory
- Parameters:
consentDomain
- HoldsConsentDomain
object which is used to transfer consent domain to consent entity.collectionEntity
- HoldsCollectionEntity
object which is used for creating consent domain to consent entity- Returns:
- The
ConsentEntity
object.
-