/** * Sets the value of ODFDOM attribute representation <code>ChartClassAttribute</code> , See {@odf.attribute chart:class} * * @param chartClassValue The type is <code>String</code> */ public void setChartClassAttribute(String chartClassValue) { ChartClassAttribute attr = new ChartClassAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); attr.setValue(chartClassValue); }
/** * 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:class} has an element parent * otherwise return <code>false</code> as undefined. */ @Override public boolean hasDefault() { return getOwnerElement() == null ? false : true; }
/** * @return Returns the <code>Enum</code> value of the attribute */ public Value getEnumValue() { return Value.enumValueOf(this.getValue()); }
/** * @param attrValue The <code>Enum</code> value of the attribute. */ public void setEnumValue(Value attrValue) { setValue(attrValue.toString()); }
/** * @return Returns the <code>Enum</code> value of the attribute */ public Value getEnumValue() { return Value.enumValueOf(this.getValue()); }
/** * @param attrValue The <code>Enum</code> value of the attribute. */ public void setEnumValue(Value attrValue) { setValue(attrValue.toString()); }
/** * Sets the value of ODFDOM attribute representation <code>ChartClassAttribute</code> , See {@odf.attribute chart:class} * * @param chartClassValue The type is <code>String</code> */ public void setChartClassAttribute(String chartClassValue) { ChartClassAttribute attr = new ChartClassAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); attr.setValue(chartClassValue); }
/** * Receives the value of the ODFDOM attribute representation <code>ChartClassAttribute</code> , See {@odf.attribute chart:class} * * @return - the <code>String</code> , the value or <code>null</code>, if the attribute is not set and no default value defined. */ public String getChartClassAttribute() { ChartClassAttribute attr = (ChartClassAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "class"); if (attr != null) { return String.valueOf(attr.getValue()); } return ChartClassAttribute.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:class} has an element parent * otherwise return <code>false</code> as undefined. */ @Override public boolean hasDefault() { return getOwnerElement() == null ? false : true; }
/** * @param attrValue The <code>Enum</code> value of the attribute. */ public void setEnumValue(Value attrValue) { setValue(attrValue.toString()); }
/** * Sets the value of ODFDOM attribute representation <code>ChartClassAttribute</code> , See {@odf.attribute chart:class} * * @param chartClassValue The type is <code>String</code> */ public void setChartClassAttribute(String chartClassValue) { ChartClassAttribute attr = new ChartClassAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); attr.setValue(chartClassValue); }
/** * Receives the value of the ODFDOM attribute representation <code>ChartClassAttribute</code> , See {@odf.attribute chart:class} * * @return - the <code>String</code> , the value or <code>null</code>, if the attribute is not set and no default value defined. */ public String getChartClassAttribute() { ChartClassAttribute attr = (ChartClassAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "class"); if (attr != null) { return String.valueOf(attr.getValue()); } return null; }
/** * 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:class} 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>ChartClassAttribute</code> , See {@odf.attribute chart:class} * * @param chartClassValue The type is <code>String</code> */ public void setChartClassAttribute(String chartClassValue) { ChartClassAttribute attr = new ChartClassAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); attr.setValue(chartClassValue); }
/** * Receives the value of the ODFDOM attribute representation <code>ChartClassAttribute</code> , See {@odf.attribute chart:class} * * @return - the <code>String</code> , the value or <code>null</code>, if the attribute is not set and no default value defined. */ public String getChartClassAttribute() { ChartClassAttribute attr = (ChartClassAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "class"); if (attr != null) { return String.valueOf(attr.getValue()); } return null; }
/** * Returns the default value of {@odf.attribute chart:class}. * * @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; }
/** * Sets the value of ODFDOM attribute representation <code>ChartClassAttribute</code> , See {@odf.attribute chart:class} * * @param chartClassValue The type is <code>String</code> */ public void setChartClassAttribute(String chartClassValue) { ChartClassAttribute attr = new ChartClassAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); attr.setValue(chartClassValue); }
/** * @return Returns the <code>Enum</code> value of the attribute */ public Value getEnumValue() { return Value.enumValueOf(this.getValue()); }
/** * Returns the default value of {@odf.attribute chart:class}. * * @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; }
/** * Sets the value of ODFDOM attribute representation <code>ChartClassAttribute</code> , See {@odf.attribute chart:class} * * @param chartClassValue The type is <code>String</code> */ public void setChartClassAttribute(String chartClassValue) { ChartClassAttribute attr = new ChartClassAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); attr.setValue(chartClassValue); }