BotReply.java
Go to the documentation of this file.
00001 package com.rosalfred.core.ia.rivescript;
00002 
00003 import java.util.ArrayList;
00004 import java.util.List;
00005 
00006 public class BotReply {
00007 
00008     private String reply;
00009     private List<String> intents;
00010 
00011     public BotReply() {
00012         this("");
00013     }
00014 
00015     public BotReply(String reply) {
00016         this.reply = reply;
00017         this.intents = new ArrayList<String>();
00018     }
00019 
00020     public String getReply() {
00021         return this.reply;
00022     }
00023 
00024     public void setReply(String reply) {
00025         this.reply = reply;
00026     }
00027 
00028     public List<String> getIntents() {
00029         return intents;
00030     }
00031 
00032     @Override
00033     public String toString() {
00034         return this.reply;
00035     }
00036 }


alfred_bot
Author(s): Mickael Gaillard , Erwan Le Huitouze
autogenerated on Tue Jun 14 2016 01:34:50