1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-26 02:42:16 -05:00

First basic implementation of a query model class

This commit is contained in:
Sebastian Kaspari 2010-03-10 09:37:48 +01:00
parent 38564ad644
commit 396f1ad4d9

View File

@ -0,0 +1,27 @@
package org.yaaic.model;
/**
* A query (a private chat between to users)
*
* @author Sebastian Kaspari <sebastian@yaaic.org>
*/
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;
}
}