Package com.skava.accounts.model.domain
Class PropertiesDO
java.lang.Object
com.skava.accounts.model.domain.PropertiesDO
- All Implemented Interfaces:
Serializable
The Class PropertiesDO is used as the domain model object for properties entity.
- Author:
- Infosys Equinox
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPropertiesDO
(long id, int page, int size, String filter, long collectionId, String name) Instantiates a new properties DO. -
Method Summary
Modifier and TypeMethodDescriptionfromEntity
(PropertiesEntity properties, CollectionAttributesRepository attributesRepository) fromEntity - Used to convert entity to domain object.toEntity
(CollectionsEntity collections) toEntity - Used to convert domain object to entity.
-
Field Details
-
name
name. -
attributeId
protected long attributeIdattributeId. -
value
value. -
createdBy
-
updatedTimestamp
The updated date time. -
updatedBy
The updated by. -
createdTimestamp
The updated date time.
-
-
Constructor Details
-
PropertiesDO
Instantiates a new properties DO.- Parameters:
id
- the idpage
- the pagesize
- the sizefilter
- the filtercollectionId
- the collection idname
- the name
-
-
Method Details
-
fromEntity
public PropertiesDO fromEntity(PropertiesEntity properties, CollectionAttributesRepository attributesRepository) fromEntity - Used to convert entity to domain object.- Parameters:
properties
- It contains the attributes required for the set values.attributesRepository
- the attributes repository- Returns:
- It returns
PropertiesDO
.
-
toEntity
toEntity - Used to convert domain object to entity.- Parameters:
collections
- the collections object.- Returns:
- It returns
PropertiesEntity
.
-