Exemplo n.º 1
0
 /**
  * Receives the value of the ODFDOM attribute representation <code>DbIsFirstRowHeaderLineAttribute
  * </code> , See {@odf.attribute db:is-first-row-header-line}
  *
  * @return - the <code>Boolean</code> , the value or <code>null</code>, if the attribute is not
  *     set and no default value defined.
  */
 public Boolean getDbIsFirstRowHeaderLineAttribute() {
   DbIsFirstRowHeaderLineAttribute attr =
       (DbIsFirstRowHeaderLineAttribute)
           getOdfAttribute(
               OdfName.get(OdfNamespace.get(OdfNamespaceNames.DB), "is-first-row-header-line"));
   if (attr != null) {
     return Boolean.valueOf(attr.booleanValue());
   }
   return Boolean.valueOf(DbIsFirstRowHeaderLineAttribute.DEFAULT_VALUE);
 }
Exemplo n.º 2
0
 /**
  * Sets the value of ODFDOM attribute representation <code>DbIsFirstRowHeaderLineAttribute</code>
  * , See {@odf.attribute db:is-first-row-header-line}
  *
  * @param dbIsFirstRowHeaderLineValue The type is <code>Boolean</code>
  */
 public void setDbIsFirstRowHeaderLineAttribute(Boolean dbIsFirstRowHeaderLineValue) {
   DbIsFirstRowHeaderLineAttribute attr =
       new DbIsFirstRowHeaderLineAttribute((OdfFileDom) this.ownerDocument);
   setOdfAttribute(attr);
   attr.setBooleanValue(dbIsFirstRowHeaderLineValue.booleanValue());
 }