All Downloads are FREE. Search and download functionalities are using the official Maven repository.

quark.mock.TextMessage Maven / Gradle / Ivy

There is a newer version: 2.0.37
Show newest version
/* Quark 1.0.452 run at 2016-11-10 18:39:58.222591 */
package quark.mock;

/**
 * A text message.
 */
public class TextMessage extends MockMessage implements io.datawire.quark.runtime.QObject {
    public static quark.reflect.Class quark_mock_TextMessage_ref = datawire_mdk_md.Root.quark_mock_TextMessage_md;
    /**
     * The message content.
     */
    public String text;
    public TextMessage(String message) {
        super();
        this.text = message;
    }
    public Boolean isText() {
        return true;
    }
    public String _getClass() {
        return "quark.mock.TextMessage";
    }
    public Object _getField(String name) {
        if ((name)==("text") || ((Object)(name) != null && ((Object) (name)).equals("text"))) {
            return (this).text;
        }
        return null;
    }
    public void _setField(String name, Object value) {
        if ((name)==("text") || ((Object)(name) != null && ((Object) (name)).equals("text"))) {
            (this).text = (String) (value);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy