com.echomine.jabber.msg
Class SearchItem

java.lang.Object
  extended by com.echomine.jabber.msg.SearchItem

public class SearchItem
extends java.lang.Object

this represents a search item result. It includes the first, last, nick, and email of the user in the search result.

Since:
0.8a4
See Also:
SearchIQMessage

Constructor Summary
SearchItem()
           
SearchItem(JID jid, java.lang.String first, java.lang.String last, java.lang.String nick, java.lang.String email)
          easy way to set all the fields at once
 
Method Summary
 java.lang.String getEmail()
           
 java.lang.String getFirst()
           
 JID getJID()
           
 java.lang.String getLast()
           
 java.lang.String getNick()
           
 void setEmail(java.lang.String email)
          sets the email
 void setFirst(java.lang.String first)
          sets the first name
 void setJID(JID jid)
          sets the jid
 void setLast(java.lang.String last)
          sets the last name
 void setNick(java.lang.String nick)
          sets the nick
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchItem

public SearchItem()

SearchItem

public SearchItem(JID jid,
                  java.lang.String first,
                  java.lang.String last,
                  java.lang.String nick,
                  java.lang.String email)
easy way to set all the fields at once

Method Detail

getJID

public JID getJID()
Returns:
the jid of the user

setJID

public void setJID(JID jid)
sets the jid


getFirst

public java.lang.String getFirst()
Returns:
the first name, or null if none exists

setFirst

public void setFirst(java.lang.String first)
sets the first name


getLast

public java.lang.String getLast()
Returns:
the last name, or null if none exists

setLast

public void setLast(java.lang.String last)
sets the last name


getNick

public java.lang.String getNick()
Returns:
the nick of the user entry, or null if none exists

setNick

public void setNick(java.lang.String nick)
sets the nick


getEmail

public java.lang.String getEmail()
Returns:
the email fo the user, or null if none exists

setEmail

public void setEmail(java.lang.String email)
sets the email



Copyright © 2001-2005 Echomine. All Rights Reserved.