/** * Returns a speakable text describing this link * * @return */ public String getText(Locale locale) { if (locale == null) { locale = Locale.getDefault(); } ResourceBundle label = ResourceBundle.getBundle("label", locale); String docTitle = linkedDocument.getTitle(); String link = label.getString("javaspeaker.link"); String text = link; if (relation != null) { String relationDoc = label.getString("javaspeaker.menu." + relation); text += " " + relationDoc; } text += " " + number; if (docTitle != null) { text += " " + docTitle; } return text; }
public void setNotificationForElaboration(SimpleDocument notificationForElaboration) { this.notificationForElaborationDate = notificationForElaboration.getDate(); this.notificationForElaborationNumber = notificationForElaboration.getNumber(); }
public void setRequestForElaboration(SimpleDocument requestForElaboration) { this.requestForElaborationDate = requestForElaboration.getDate(); this.requestForElaborationNumber = requestForElaboration.getNumber(); }