this.selected = Optional.ofNullable(selected).orElse(DEFAULT_SELECTED);
fireDrawingChanged();
fireLabelChanged();
}
}
<BUG>@XmlElement(name = "label", required = false)
</BUG>
@Override
public GraphicLabel getGraphicLabel() {
<BUG>return graphicLabel;
}</BUG>
@Override

this.selected = Optional.ofNullable(selected).orElse(DEFAULT_SELECTED);
fireDrawingChanged();
fireLabelChanged();
}
}
@XmlElement(name = "graphicLabel", required = false)
@Override
public GraphicLabel getGraphicLabel() {
return graphicLabel;
}
public void setGraphicLabel(GraphicLabel graphicLabel) {
this.graphicLabel = graphicLabel;
}
@Override
