Update Entity.java

Added a missing javadoc to a method.