SK.gnome.dwarf.mail.store.search
Class AndKey

java.lang.Object
  extended bySK.gnome.dwarf.mail.store.search.SearchKey
      extended bySK.gnome.dwarf.mail.store.search.SearchKeyList
          extended bySK.gnome.dwarf.mail.store.search.AndKey

public class AndKey
extends SearchKeyList

This key groups other keys with the logical AND operator.


Field Summary
 
Fields inherited from class SK.gnome.dwarf.mail.store.search.SearchKeyList
AND, keys, OR
 
Fields inherited from class SK.gnome.dwarf.mail.store.search.SearchKey
type
 
Constructor Summary
AndKey()
          Creates a new AndKey.
AndKey(SearchKey key1, SearchKey key2)
          Creates a new AndKey from the given keys.
 
Methods inherited from class SK.gnome.dwarf.mail.store.search.SearchKeyList
addKey, getKeys, match, toString
 
Methods inherited from class SK.gnome.dwarf.mail.store.search.SearchKey
addError, clearErrors, getErrors, getType, hasError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AndKey

public AndKey()
Creates a new AndKey.


AndKey

public AndKey(SearchKey key1,
              SearchKey key2)
Creates a new AndKey from the given keys.

This is just a convenience constructor for easy creating of two logically AND-ed keys.

Parameters:
key1 - the first key
key2 - the second key


Copyright (c) 2004-2005, Gnome Ltd. All rights reserved.