Added getters, setters Entity.java