public boolean equals(Object obj)
Returns True if the specified attribute is the same as this attribute; otherwise returns False.
This method verifies if the specified attribute matches in name, type, whether it is a key, whether it is a foreign key and whether it is a required attribute matches, with this attribute.