Package com.skava.price.model.exchange
Class Collections
java.lang.Object
com.skava.core.validation.OutputModel
com.skava.price.model.exchange.ExchangeAuditEntry
com.skava.price.model.exchange.Collections
- All Implemented Interfaces:
Serializable
The Class Collection
- Since:
- 8.0
- Author:
- Infosys Equinox
- See Also:
-
Field Summary
Fields inherited from class com.skava.price.model.exchange.ExchangeAuditEntry
createdBy, createdOn, updatedBy, updatedOn
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromDomainObject
(CollectionDO collectionDO, String zoneId) This method is used to set collcetion's Id,businessId,name,status and description from collectionDO.static List<CollectionProperty>
getCollectionAttributes
(List<CollectionPropertyDO> collectionAttributes) Fetch the Collection attributes data from domain object list.
-
Constructor Details
-
Collections
public Collections()
-
-
Method Details
-
fromDomainObject
This method is used to set collcetion's Id,businessId,name,status and description from collectionDO.- Parameters:
collectionDO
- It contains the attributes required for the set values.zoneId
- The time-zone to use, not null- Returns:
- It returns
Collection
.
-
getCollectionAttributes
public static List<CollectionProperty> getCollectionAttributes(List<CollectionPropertyDO> collectionAttributes) Fetch the Collection attributes data from domain object list.- Parameters:
collectionAttributes
- An instance ofList
<CollectionPropertyDO
>- Returns:
- An instance of
List
<CollectionProperty
>
-