Added basic javadoc to port-entity.