// Setup the field's values
if (dcInput.isRepeatable() || dcValues.length > 1)
{
for (Metadatum dcValue : dcValues)
{
DCSeriesNumber dcSeriesNumber = new DCSeriesNumber(dcValue.value);
series.addInstance().setValue(dcSeriesNumber.getSeries());
number.addInstance().setValue(dcSeriesNumber.getNumber());
fullSeries.addInstance().setValue(dcSeriesNumber.toString());
}
}
else if (dcValues.length == 1)
{
DCSeriesNumber dcSeriesNumber = new DCSeriesNumber(dcValues[0].value);
series.setValue(dcSeriesNumber.getSeries());
number.setValue(dcSeriesNumber.getNumber());
}
}