From 396f1ad4d9edc1fad920f5642f5f94b6188bb374 Mon Sep 17 00:00:00 2001 From: Sebastian Kaspari Date: Wed, 10 Mar 2010 09:37:48 +0100 Subject: [PATCH] First basic implementation of a query model class --- src/org/yaaic/model/Query.java | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/org/yaaic/model/Query.java diff --git a/src/org/yaaic/model/Query.java b/src/org/yaaic/model/Query.java new file mode 100644 index 0000000..a3b8a81 --- /dev/null +++ b/src/org/yaaic/model/Query.java @@ -0,0 +1,27 @@ +package org.yaaic.model; + +/** + * A query (a private chat between to users) + * + * @author Sebastian Kaspari + */ +public class Query extends Conversation +{ + /** + * Create a new query + * + * @param name The user's nickname + */ + public Query(String name) + { + super(name); + } + + /** + * Get the type of this conversation + */ + public int getType() + { + return Conversation.TYPE_QUERY; + } +}