Пример #1
0
 /**
  * Receives the value of the ODFDOM attribute representation <code>DbSystemDriverSettingsAttribute
  * </code> , See {@odf.attribute db:system-driver-settings}
  *
  * @return - the <code>String</code> , the value or <code>null</code>, if the attribute is not set
  *     and no default value defined.
  */
 public String getDbSystemDriverSettingsAttribute() {
   DbSystemDriverSettingsAttribute attr =
       (DbSystemDriverSettingsAttribute)
           getOdfAttribute(
               OdfName.get(OdfNamespace.get(OdfNamespaceNames.DB), "system-driver-settings"));
   if (attr != null) {
     return String.valueOf(attr.getValue());
   }
   return null;
 }
Пример #2
0
 /**
  * Sets the value of ODFDOM attribute representation <code>DbSystemDriverSettingsAttribute</code>
  * , See {@odf.attribute db:system-driver-settings}
  *
  * @param dbSystemDriverSettingsValue The type is <code>String</code>
  */
 public void setDbSystemDriverSettingsAttribute(String dbSystemDriverSettingsValue) {
   DbSystemDriverSettingsAttribute attr =
       new DbSystemDriverSettingsAttribute((OdfFileDom) this.ownerDocument);
   setOdfAttribute(attr);
   attr.setValue(dbSystemDriverSettingsValue);
 }