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:
parent
38564ad644
commit
396f1ad4d9
27
src/org/yaaic/model/Query.java
Normal file
27
src/org/yaaic/model/Query.java
Normal 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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user