Update Entity.java

added setId(int id)