예제 #1
0
  @Override
  public String getTemplate(Trade trade, Message message, String name) {
    // TODO Auto-generated method stub
    String templateName = null;

    if (message == null || commonUTIL.isEmpty(message.getMessageType())) {
      commonUTIL.display("PaymentTemplateSelector", "Null Message");
      return templateName;
    }
    return null;
  }
 public static void printAllInstances() {
   List<Message> messages = MessagePsqlService.retrieveAllInstances();
   for (Message currentMessage : messages) System.out.println(currentMessage.toString());
 }