/** * Creates a new h r project with the primary key. Does not add the h r project to the database. * * @param hrProjectId the primary key for the new h r project * @return the new h r project */ public HRProject create(long hrProjectId) { HRProject hrProject = new HRProjectImpl(); hrProject.setNew(true); hrProject.setPrimaryKey(hrProjectId); return hrProject; }