Class CollectionProperty
java.lang.Object
com.skava.model.datatransferobjects.CollectionProperty
- All Implemented Interfaces:
Serializable
This class defines the model for CollectionProperty (Data Transfer Object) holds the collection property details.
- Author:
- Infosys Equinox
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected long
The attribute id.protected Long
The collection id.protected Long
The created by.protected Date
The Created On.protected Long
The id.protected String
The name.protected Long
The updated by.protected Date
The Updated On.protected String
The value. -
Constructor Summary
ConstructorsConstructorDescriptionThe collection property object.CollectionProperty
(CollectionPropertyEntity properties) Instantiates a new collection property with constructor of CollectionPropertyEntity.CollectionProperty
(String name, String value) Instantiates a new collection property with constructor of name and value. -
Method Summary
Modifier and TypeMethodDescriptiontoEntity
(CollectionEntity collections) This method is used to convert Collection entity to Collection property entity.
-
Field Details
-
id
The id. -
createdOn
The Created On. -
createdBy
The created by. -
updatedOn
The Updated On. -
value
The value. -
updatedBy
The updated by. -
name
The name. -
collectionId
The collection id. -
attributeId
protected long attributeIdThe attribute id.
-
-
Constructor Details
-
CollectionProperty
public CollectionProperty()The collection property object. -
CollectionProperty
Instantiates a new collection property with constructor of CollectionPropertyEntity.- Parameters:
properties
- HoldsCollectionPropertyEntity
object for creating collection property.
-
CollectionProperty
Instantiates a new collection property with constructor of name and value.- Parameters:
name
- Indicates the name of the collection property.value
- Indicates the value of the collection property.
-
-
Method Details
-
toEntity
This method is used to convert Collection entity to Collection property entity.- Parameters:
collections
- HoldsCollectionEntity
for creating Collection property entity object.- Returns:
- the
CollectionPropertyEntity
object.
-