FlatInventoryItem.java - added hashCodeMethod