* @param memo
* The memo whose information is being added to the string
* buffer.
*/
private void addMemoInfo(final StringBuffer buffer, final PIMItem memo) {
final PIMList list = memo.getPIMList();
if (memo.countValues(BlackBerryMemo.TITLE) > 0) {
buffer.append("\n");
buffer.append(list.getFieldLabel(BlackBerryMemo.TITLE) + ": ");
buffer.append(memo.getString(BlackBerryMemo.TITLE, 0));
}
if (memo.countValues(BlackBerryMemo.UID) > 0) {
buffer.append("\n");
buffer.append(list.getFieldLabel(BlackBerryMemo.UID) + ": ");
buffer.append(memo.getString(BlackBerryMemo.UID, 0));
}
if (memo.countValues(BlackBerryMemo.NOTE) > 0) {
buffer.append("\n");
buffer.append(list.getFieldLabel(BlackBerryMemo.NOTE) + ": ");
buffer.append(memo.getString(BlackBerryMemo.NOTE, 0));
}
}