added java docs to model