Added Javadoc for BasicEntity