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 Details

    • id

      protected Long id
      Collection property id.
    • createdTimestamp

      protected Date createdTimestamp
      The created date time.
    • updatedBy

      protected Long updatedBy
      The updated by.
    • updatedTimestamp

      protected Date updatedTimestamp
      The updated date time.
    • createdBy

      protected Long 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 - a CollectionEntity object. a collection object for parent entity reference.
      attribute - a CollectionAttributeEntity object. a collection attribute object for parent entity reference.
      property - a CollectionProperty object. a collection property exchange object for transformation.
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • isPropertyEqual

      public boolean isPropertyEqual(CollectionPropertyEntity other)

      isPropertyEqual.

      This method return the result of collection property name equality.
      Parameters:
      other - a CollectionPropertyEntity object. input for equality check.
      Returns:
      a boolean value. equality check result.