Package com.skava.entities
Class CollectionPropertyEntity
java.lang.Object
com.skava.entities.CollectionPropertyEntity
- All Implemented Interfaces:
Serializable
@Entity(name="collection_properties")
public class CollectionPropertyEntity
extends Object
implements Serializable
This class defines the Collection property entity. This entity contains the following relationships properties -
Many to one with collection. All the collection attributes should be aligned as properties of a collection.
- Author:
- Infosys Equinox
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionThe default constructor.CollectionPropertyEntity
(CollectionEntity collection, CollectionAttributeEntity attribute, CollectionProperty property) Instantiates a new collection property entity. -
Method Summary
-
Field Details
-
id
Collection property id. -
createdTimestamp
The created date time. -
updatedBy
The updated by. -
updatedTimestamp
The updated date time. -
createdBy
The created by.
-
-
Constructor Details
-
CollectionPropertyEntity
public CollectionPropertyEntity()The default constructor. -
CollectionPropertyEntity
public CollectionPropertyEntity(CollectionEntity collection, CollectionAttributeEntity attribute, CollectionProperty property) Instantiates a new collection property entity.- Parameters:
collection
- aCollectionEntity
object. a collection object for parent entity reference.attribute
- aCollectionAttributeEntity
object. a collection attribute object for parent entity reference.property
- aCollectionProperty
object. a collection property exchange object for transformation.
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
isPropertyEqual
isPropertyEqual.
This method return the result of collection property name equality.- Parameters:
other
- aCollectionPropertyEntity
object. input for equality check.- Returns:
- a boolean value. equality check result.
-