Class CollectionAttributeEntity

java.lang.Object
com.skava.entities.CollectionAttributeEntity
All Implemented Interfaces:
Serializable

@Entity(name="collection_attribute") public class CollectionAttributeEntity extends Object implements Serializable
This class defines the Collection Attributes entity. All the properties required for collection are defined in attributes such that any collection created will have these attributes as their properties. Default value and nullable properties are used to validate the properties defined by user at the time of creating a collection.
Author:
Infosys Equinox
See Also:
  • Constructor Details

    • CollectionAttributeEntity

      public CollectionAttributeEntity()
      default constructor.
    • CollectionAttributeEntity

      public CollectionAttributeEntity(String name)
      Instantiates a new CollectionAttributeEntity object with parameter constructor of name.
      Parameters:
      name - Indicates the name of the attributes.
  • Method Details

    • hashCode

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

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

      public boolean isNameEqual(CollectionAttributeEntity other)
      This method is to check the equality of two collection attribute objects, return TRUE if equals else FALSE.
      Parameters:
      other - a CollectionAttribute object. input for equality check.
      Returns:
      a Boolean object. equality check result.