javadoc for model