/** * Receives the value of the ODFDOM attribute representation <code>NumberPositionAttribute</code> * , See {@odf.attribute number:position} * * <p>Attribute is mandatory. * * @return - the <code>Integer</code> , the value or <code>null</code>, if the attribute is not * set and no default value defined. */ public Integer getNumberPositionAttribute() { NumberPositionAttribute attr = (NumberPositionAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "position"); if (attr != null) { return Integer.valueOf(attr.intValue()); } return null; }
/** * Sets the value of ODFDOM attribute representation <code>NumberPositionAttribute</code> , See * {@odf.attribute number:position} * * @param numberPositionValue The type is <code>Integer</code> */ public void setNumberPositionAttribute(Integer numberPositionValue) { NumberPositionAttribute attr = new NumberPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); attr.setIntValue(numberPositionValue.intValue()); }