Initializes a new instance of the EnumerationEntity class.
Serves as a hash function for a particular type.