if (choices == null) {
return;
}
for (Choice<String> choice : choices) {
CmisChoiceUri newChoice = new CmisChoiceUri();
convertChoiceUriList(choice.getChoice(), newChoice.getChoice());
newChoice.setDisplayName(choice.getDisplayName());
if (choice.getValue() != null) {
for (String value : choice.getValue()) {
newChoice.getValue().add(value);
}
}
target.add(newChoice);
}