mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-04 16:35:05 -05:00
28 lines
412 B
Java
28 lines
412 B
Java
|
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;
|
||
|
}
|
||
|
}
|