/** * Default value indicator. As the attribute default value is dependent from its element, the attribute has only a default, when a parent element exists. * * @return <code>true</code> if {@odf.attribute chart:automatic-content} has an element parent * otherwise return <code>false</code> as undefined. */ @Override public boolean hasDefault() { return getOwnerElement() == null ? false : true; }
/** * Sets the value of ODFDOM attribute representation <code>ChartAutomaticContentAttribute</code> , See {@odf.attribute chart:automatic-content} * * @param chartAutomaticContentValue The type is <code>Boolean</code> */ public void setChartAutomaticContentAttribute(Boolean chartAutomaticContentValue) { ChartAutomaticContentAttribute attr = new ChartAutomaticContentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); attr.setBooleanValue(chartAutomaticContentValue.booleanValue()); }
/** * Receives the value of the ODFDOM attribute representation <code>ChartAutomaticContentAttribute</code> , See {@odf.attribute chart:automatic-content} * * @return - the <code>Boolean</code> , the value or <code>null</code>, if the attribute is not set and no default value defined. */ public Boolean getChartAutomaticContentAttribute() { ChartAutomaticContentAttribute attr = (ChartAutomaticContentAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "automatic-content"); if (attr != null) { return Boolean.valueOf(attr.booleanValue()); } return Boolean.valueOf(ChartAutomaticContentAttribute.DEFAULT_VALUE); }
/** * Sets the value of ODFDOM attribute representation <code>ChartAutomaticContentAttribute</code> , See {@odf.attribute chart:automatic-content} * * @param chartAutomaticContentValue The type is <code>Boolean</code> */ public void setChartAutomaticContentAttribute(Boolean chartAutomaticContentValue) { ChartAutomaticContentAttribute attr = new ChartAutomaticContentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); attr.setBooleanValue(chartAutomaticContentValue.booleanValue()); }
/** * Receives the value of the ODFDOM attribute representation <code>ChartAutomaticContentAttribute</code> , See {@odf.attribute chart:automatic-content} * * @return - the <code>Boolean</code> , the value or <code>null</code>, if the attribute is not set and no default value defined. */ public Boolean getChartAutomaticContentAttribute() { ChartAutomaticContentAttribute attr = (ChartAutomaticContentAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "automatic-content"); if (attr != null) { return Boolean.valueOf(attr.booleanValue()); } return Boolean.valueOf(ChartAutomaticContentAttribute.DEFAULT_VALUE); }
/** * Sets the value of ODFDOM attribute representation <code>ChartAutomaticContentAttribute</code> , See {@odf.attribute chart:automatic-content} * * @param chartAutomaticContentValue The type is <code>Boolean</code> */ public void setChartAutomaticContentAttribute(Boolean chartAutomaticContentValue) { ChartAutomaticContentAttribute attr = new ChartAutomaticContentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); attr.setBooleanValue(chartAutomaticContentValue.booleanValue()); }
/** * Default value indicator. As the attribute default value is dependent from its element, the attribute has only a default, when a parent element exists. * * @return <code>true</code> if {@odf.attribute chart:automatic-content} has an element parent * otherwise return <code>false</code> as undefined. */ @Override public boolean hasDefault() { return getOwnerElement() == null ? false : true; }
/** * Receives the value of the ODFDOM attribute representation <code>ChartAutomaticContentAttribute</code> , See {@odf.attribute chart:automatic-content} * * @return - the <code>Boolean</code> , the value or <code>null</code>, if the attribute is not set and no default value defined. */ public Boolean getChartAutomaticContentAttribute() { ChartAutomaticContentAttribute attr = (ChartAutomaticContentAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "automatic-content"); if (attr != null) { return Boolean.valueOf(attr.booleanValue()); } return Boolean.valueOf(ChartAutomaticContentAttribute.DEFAULT_VALUE); }
/** * Default value indicator. As the attribute default value is dependent from its element, the attribute has only a default, when a parent element exists. * * @return <code>true</code> if {@odf.attribute chart:automatic-content} has an element parent * otherwise return <code>false</code> as undefined. */ @Override public boolean hasDefault() { return getOwnerElement() == null ? false : true; }
/** * Returns the default value of {@odf.attribute chart:automatic-content}. * * @return the default value as <code>String</code> dependent of its element name * return <code>null</code> if the default value does not exist */ @Override public String getDefault() { OdfElement parentElement = (OdfElement)getOwnerElement(); String defaultValue = null; if (parentElement != null) { defaultValue=DEFAULT_VALUE; } return defaultValue; }
/** * Returns the default value of {@odf.attribute chart:automatic-content}. * * @return the default value as <code>String</code> dependent of its element name * return <code>null</code> if the default value does not exist */ @Override public String getDefault() { OdfElement parentElement = (OdfElement)getOwnerElement(); String defaultValue = null; if (parentElement != null) { defaultValue=DEFAULT_VALUE; } return defaultValue; }
/** * Returns the default value of {@odf.attribute chart:automatic-content}. * * @return the default value as <code>String</code> dependent of its element name * return <code>null</code> if the default value does not exist */ @Override public String getDefault() { OdfElement parentElement = (OdfElement)getOwnerElement(); String defaultValue = null; if (parentElement != null) { defaultValue=DEFAULT_VALUE; } return defaultValue; }