Example #1
0
 /**
  * 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;
 }
Example #2
0
 public void setNotificationForElaboration(SimpleDocument notificationForElaboration) {
   this.notificationForElaborationDate = notificationForElaboration.getDate();
   this.notificationForElaborationNumber = notificationForElaboration.getNumber();
 }
Example #3
0
 public void setRequestForElaboration(SimpleDocument requestForElaboration) {
   this.requestForElaborationDate = requestForElaboration.getDate();
   this.requestForElaborationNumber = requestForElaboration.getNumber();
 }