com.futuresight.util.mystique.lever.MystResult Maven / Gradle / Ivy
/*
* Copyright (c) Balajee TM 2016.
* All rights reserved.
* License - @see
*/
/*
* Created on 25 Aug, 2016 by balajeetm
*/
package com.futuresight.util.mystique.lever;
import java.util.ArrayList;
import java.util.List;
/**
* The Class MystResult.
*
* @author balajeetm
*/
public class MystResult {
/** The result. */
private Boolean result = Boolean.TRUE;
/** The msgs. */
private List msgs = new ArrayList();
/**
* Gets the result.
*
* @return the result
*/
public Boolean getResult() {
return result;
}
/**
* Sets the result.
*
* @param result the new result
*/
public void setResult(Boolean result) {
this.result = result;
}
/**
* Gets the msgs.
*
* @return the msgs
*/
public List getMsgs() {
return msgs;
}
/**
* Sets the msgs.
*
* @param msgs the new msgs
*/
public void setMsgs(List msgs) {
this.msgs = msgs;
}
/**
* Adds the msg.
*
* @param msg the msg
*/
public void addMsg(String msg) {
this.msgs.add(msg);
}
}