public List<XDDFDashStop> getDashStops() { if (props.isSetCustDash()) { return Collections.unmodifiableList(props .getCustDash() .getDsList() .stream() .map(ds -> new XDDFDashStop(ds)) .collect(Collectors.toList())); } else { return Collections.emptyList(); } }
public int countDashStops() { if (props.isSetCustDash()) { return props.getCustDash().sizeOfDsArray(); } else { return 0; } }
public void removeDashStop(int index) { if (props.isSetCustDash()) { props.getCustDash().removeDs(index); } }
public XDDFDashStop getDashStop(int index) { if (props.isSetCustDash()) { return new XDDFDashStop(props.getCustDash().getDsArray(index)); } else { return null; } }
public XDDFDashStop insertDashStop(int index) { if (!props.isSetCustDash()) { props.addNewCustDash(); } return new XDDFDashStop(props.getCustDash().insertNewDs(index)); }
public XDDFDashStop addDashStop() { if (!props.isSetCustDash()) { props.addNewCustDash(); } return new XDDFDashStop(props.getCustDash().addNewDs()); }
public List<XDDFDashStop> getDashStops() { if (props.isSetCustDash()) { return Collections.unmodifiableList(props .getCustDash() .getDsList() .stream() .map(ds -> new XDDFDashStop(ds)) .collect(Collectors.toList())); } else { return Collections.emptyList(); } }
public void removeDashStop(int index) { if (props.isSetCustDash()) { props.getCustDash().removeDs(index); } }
public int countDashStops() { if (props.isSetCustDash()) { return props.getCustDash().sizeOfDsArray(); } else { return 0; } }
public XDDFDashStop getDashStop(int index) { if (props.isSetCustDash()) { return new XDDFDashStop(props.getCustDash().getDsArray(index)); } else { return null; } }
public XDDFDashStop addDashStop() { if (!props.isSetCustDash()) { props.addNewCustDash(); } return new XDDFDashStop(props.getCustDash().addNewDs()); }
public XDDFDashStop insertDashStop(int index) { if (!props.isSetCustDash()) { props.addNewCustDash(); } return new XDDFDashStop(props.getCustDash().insertNewDs(index)); }