/** * Insert a {@link CString} record that stores the user's date. * * @return the created {@link CString} record that stores the user's date. */ public CString addUserDateAtom(){ if(csDate != null) return csDate; csDate = new CString(); csDate.setOptions(USERDATEATOM << 4); addChildAfter(csDate, hdAtom); return csDate; }
/** * Insert a {@link CString} record that stores the user's date. * * @return the created {@link CString} record that stores the user's date. */ public CString addUserDateAtom(){ if(csDate != null) return csDate; csDate = new CString(); csDate.setOptions(USERDATEATOM << 4); addChildAfter(csDate, hdAtom); return csDate; }
/** * Insert a {@link CString} record that stores the user's date. * * @return the created {@link CString} record that stores the user's date. */ public CString addHeaderAtom(){ if(csHeader != null) return csHeader; csHeader = new CString(); csHeader.setOptions(HEADERATOM << 4); Record r = hdAtom; if(csDate != null) r = hdAtom; addChildAfter(csHeader, r); return csHeader; }
/** * Insert a {@link CString} record that stores the user's date. * * @return the created {@link CString} record that stores the user's date. */ public CString addHeaderAtom(){ if(csHeader != null) return csHeader; csHeader = new CString(); csHeader.setOptions(HEADERATOM << 4); Record r = hdAtom; if(csDate != null) r = hdAtom; addChildAfter(csHeader, r); return csHeader; }
/** * Insert a {@link CString} record that stores the user's date. * * @return the created {@link CString} record that stores the user's date. */ public CString addFooterAtom(){ if(csFooter != null) return csFooter; csFooter = new CString(); csFooter.setOptions(FOOTERATOM << 4); Record r = hdAtom; if(csHeader != null) r = csHeader; else if(csDate != null) r = csDate; addChildAfter(csFooter, r); return csFooter; } }
/** * Insert a {@link CString} record that stores the user's date. * * @return the created {@link CString} record that stores the user's date. */ public CString addFooterAtom(){ if(csFooter != null) return csFooter; csFooter = new CString(); csFooter.setOptions(FOOTERATOM << 4); Record r = hdAtom; if(csHeader != null) r = csHeader; else if(csDate != null) r = csDate; addChildAfter(csFooter, r); return csFooter; } }