}
public ErrorBarType getErrorBarType() {
- return ErrorBarType.valueOf(bars.getErrBarType().getVal());
+ return bars.getErrBarType() == null ? null : ErrorBarType.valueOf(bars.getErrBarType().getVal());
}
public void setErrorBarType(ErrorBarType barType) {
}
public ErrorValueType getErrorValueType() {
- return ErrorValueType.valueOf(bars.getErrValType().getVal());
+ return bars.getErrValType() == null ? null : ErrorValueType.valueOf(bars.getErrValType().getVal());
}
public void setErrorValueType(ErrorValueType valueType) {
Assert.assertNotNull(ErrorBarType.BOTH);
Assert.assertNotNull(ErrorValueType.CUSTOM);
Assert.assertNotNull(ErrorDirection.X);
- Assert.assertNotNull(new XDDFErrorBars());
+ XDDFErrorBars xeb = new XDDFErrorBars();
+ Assert.assertNotNull(xeb);
+ Assert.assertNull(xeb.getErrorBarType());
+ Assert.assertNull(xeb.getErrorDirection());
+ Assert.assertNull(xeb.getErrorValueType());
STErrBarType.Enum e9 = STErrBarType.Enum.forString("both");
Assert.assertNotNull(e9);
STErrValType.Enum e10 = STErrValType.Enum.forString("percentage");