Package com.skava.model.domain
Class CollectionDomain
java.lang.Object
com.skava.model.domain.CollectionDomain
- All Implemented Interfaces:
Serializable
The Class Collection.
- Author:
- Infosys Equinox This Class is used as the model object for Collection Entity.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromEntity
(CollectionEntity collectionsEntity, String loadProperty) fromEntity - Used to convertCollectionEntity
object toCollectionDomain
object.toEntity()
toEntity - Used to convertCollectionDomain
object toCollectionEntity
object.
-
Field Details
-
id
The id. -
updatedTimestamp
The updated date time. -
createdTimestamp
The created date time. -
description
The description. -
createdBy
The created by. -
name
The name. -
updatedBy
The updated by. -
status
The collection status.
-
-
Constructor Details
-
CollectionDomain
public CollectionDomain()The default class constructor.
-
-
Method Details
-
toEntity
toEntity - Used to convertCollectionDomain
object toCollectionEntity
object.- Returns:
- The converted object of type
CollectionEntity
.
-
fromEntity
fromEntity - Used to convertCollectionEntity
object toCollectionDomain
object.- Parameters:
collectionsEntity
- the objectCollectionEntity
loadProperty
- boolean object to check if the property has to be loaded or not.- Returns:
- the converted object of type
CollectionDomain
.
-