/** * 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:data-source-has-labels} has an element parent * otherwise return <code>false</code> as undefined. */ @Override public boolean hasDefault() { return getOwnerElement() == null ? false : true; }
/** * 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:data-source-has-labels} has an element parent * otherwise return <code>false</code> as undefined. */ @Override public boolean hasDefault() { return getOwnerElement() == null ? false : true; }
/** * 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:data-source-has-labels} 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:data-source-has-labels}. * * @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:data-source-has-labels}. * * @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:data-source-has-labels}. * * @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; }