Package com.skava.promotion.model.domain
Class CollectionPropertiesDO
java.lang.Object
com.skava.promotion.model.domain.CollectionPropertiesDO
- All Implemented Interfaces:
Serializable
This class holds the model attributes for Collection Properties
- Since:
- 8.0
- Version:
- 8.0
- Author:
- Infosys Equinox
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromAttributeEntity
(CollectionPropertyAttribute collectionAttribute) This method sets the collection attributes from entity.fromEntity
(CollectionProperty collectionProperties) This method sets the collection properties from entity.longInDate
(long time) toDomain
(CollectionProperty requestProp) toEntity()
This method sets the collection properties to entity.
-
Constructor Details
-
CollectionPropertiesDO
public CollectionPropertiesDO()
-
-
Method Details
-
fromEntity
This method sets the collection properties from entity.- Parameters:
collectionProperties
- It contains the attributes required for the set values.- Returns:
- An instance of
CollectionPropertiesDO
.
-
fromAttributeEntity
This method sets the collection attributes from entity.- Parameters:
collectionAttribute
- It contains the attributes required for the set values.- Returns:
- An instance of
CollectionPropertiesDO
.
-
toEntity
This method sets the collection properties to entity.- Returns:
- An instance of
CollectionPropertiesDO
.
-
toDomain
-
longInDate
-