Package com.skava.entities
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 Summary
ConstructorsConstructorDescriptiondefault constructor.Instantiates a new CollectionAttributeEntity object with parameter constructor of name. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
boolean
This method is to check the equality of two collection attribute objects, return TRUE if equals else FALSE.
-
Constructor Details
-
CollectionAttributeEntity
public CollectionAttributeEntity()default constructor. -
CollectionAttributeEntity
Instantiates a new CollectionAttributeEntity object with parameter constructor of name.- Parameters:
name
- Indicates the name of the attributes.
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
isNameEqual
This method is to check the equality of two collection attribute objects, return TRUE if equals else FALSE.- Parameters:
other
- aCollectionAttribute
object. input for equality check.- Returns:
- a
Boolean
object. equality check result.
-