public interface CodeDescriptionFormatter
Modifier and Type | Method and Description |
---|---|
String |
getFormattedStringWithDescriptions(Set values,
String startConjunction,
String endConjunction)
Given a set of codes, this class will form a format a string that includes their description Example: Codes A, B, C may be
formatted to "A, descA; B, descB; and C; descC"
|
String getFormattedStringWithDescriptions(Set values, String startConjunction, String endConjunction)
values
- startConjunction
- a conjunction or phrase to be used for the beginning of the series (e.g. "either", "neither", "any 3
of" etc.)endConjunction
- a conjunction to be used for the beginning of the series (e.g. "and", "or", "and/or")Copyright © 2004–2014 The Kuali Foundation. All rights reserved.