483484485486487488489490491492493494
* status. * * @param v Draft status, or null to clear. */ public void setDraft(Boolean v) { Control control = null; if (Boolean.TRUE.equals(v)) { control = new Control(); control.setDraft(true); } setElement(Control.KEY, control); }
497498499500501502503504
* Draft status. * * @return True if draft status is set and equals true. */ public boolean isDraft() { Control control = getControl(); return (control != null && control.isDraft()); }