/** * Form constructor. * * @param user * @param docCode */ public Part(User user, String docCode) { this(user.getEntity(), docCode); setOwner(user.getIdentity()); }
/** * Form constructor. * * @param user */ public Part(User user) { this(user.getEntity(), ""); setOwner(user.getIdentity()); }