Package com.skava.business.factoryimpl
Class CollectionDomainFactoryImpl
java.lang.Object
com.skava.business.factoryimpl.CollectionDomainFactoryImpl
- All Implemented Interfaces:
CollectionDomainFactory
@Component
public class CollectionDomainFactoryImpl
extends Object
implements CollectionDomainFactory
This service class implements CollectionDomainFactory and handles the transformation of Entity to Domain
and Domain to Entity objects.
- Author:
- Infosys Equinox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateCollectionDO
(Collection collection) This method converts theCollection
object toCollectionDomain
object.createCollectionPropertyDO
(CollectionPropertyEntity collectionProperties) This method converts theCollectionPropertyEntity
object toCollectionPropertyDomain
object.createCollectionPropertyDO
(CollectionProperty collectionProperty) This method converts theCollectionProperty
object toCollectionPropertyDomain
object.
-
Constructor Details
-
CollectionDomainFactoryImpl
public CollectionDomainFactoryImpl()
-
-
Method Details
-
createCollectionDO
This method converts theCollection
object toCollectionDomain
object.- Specified by:
createCollectionDO
in interfaceCollectionDomainFactory
- Parameters:
collection
- HoldsCollection
object for creating a collection domain object.- Returns:
- The
CollectionDomain
object.
-
createCollectionPropertyDO
This method converts theCollectionProperty
object toCollectionPropertyDomain
object.- Specified by:
createCollectionPropertyDO
in interfaceCollectionDomainFactory
- Parameters:
collectionProperty
- HoldsCollectionProperty
object for creating collection property domain object.- Returns:
- The
CollectionPropertyDomain
object.
-
createCollectionPropertyDO
public CollectionPropertyDomain createCollectionPropertyDO(CollectionPropertyEntity collectionProperties) This method converts theCollectionPropertyEntity
object toCollectionPropertyDomain
object.- Specified by:
createCollectionPropertyDO
in interfaceCollectionDomainFactory
- Parameters:
collectionProperties
- HoldsCollectionPropertyEntity
object for creating collection property domain object.- Returns:
- The
CollectionPropertyDomain
object.
-