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

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.OrKey

public class OrKey
extends SearchKeyList

This key groups other keys with the logical OR 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
OrKey()
          Creates a new OrKey.
OrKey(SearchKey key1, SearchKey key2)
          Creates a new OrKey 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

OrKey

public OrKey()
Creates a new OrKey.


OrKey

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

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

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


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