Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.ldap
Class LdapQueryImpl

java.lang.Object
  extended by net.java.sip.communicator.impl.ldap.LdapQueryImpl
All Implemented Interfaces:
LdapQuery

public class LdapQueryImpl
extends Object
implements LdapQuery

Represents an LDAP search query

Author:
Sebastien Mazy

Nested Class Summary
 
Nested classes/interfaces inherited from interface net.java.sip.communicator.service.ldap.LdapQuery
LdapQuery.State
 
Constructor Summary
LdapQueryImpl(String query)
          A simple constructor
 
Method Summary
 LdapQuery.State getState()
          Returns the query state
 void setState(LdapQuery.State newState)
          Sets the query state to newState
 String toString()
          Required by LdapQuery interface Returns the query string e.g "John Doe"
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LdapQueryImpl

public LdapQueryImpl(String query)
A simple constructor

Parameters:
query - the query
Method Detail

setState

public void setState(LdapQuery.State newState)
Sets the query state to newState

Specified by:
setState in interface LdapQuery
Parameters:
newState - the query state

getState

public LdapQuery.State getState()
Returns the query state

Specified by:
getState in interface LdapQuery
Returns:
the query state

toString

public String toString()
Required by LdapQuery interface Returns the query string e.g "John Doe"

Specified by:
toString in interface LdapQuery
Overrides:
toString in class Object
Returns:
the query string
See Also:
LdapQuery.toString()

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.