add java document into repository models