containsValue (Item - Java)

Checks whether a value matches at least one of an item's values.

Defined in



public boolean containsValue(Object value)
    throws NotesException


Object value

String, Number, or DateTime value

Return value

  • true if the value matches one of the values in the item
  • false if the value matches no value in the item


This method does not search a text item to see if it contains a specific word. It is intended to search a text list, number list, or date-time range to see if one of the values in the list or range matches value.

If value is a distinguished name, and if the item contains Domino® user names, the distinguished name matches the common version of the hierarchical name.