com.skype.api
Enum ContactSearch.CONDITION

java.lang.Object
  extended by java.lang.Enum<ContactSearch.CONDITION>
      extended by com.skype.api.ContactSearch.CONDITION
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ContactSearch.CONDITION>
Enclosing class:
ContactSearch

public static enum ContactSearch.CONDITION
extends java.lang.Enum<ContactSearch.CONDITION>

List of available matching conditions that can be used in AddTerm methods.


Enum Constant Summary
CONTAINS_WORD_PREFIXES
          One of the words starts with searched value (string properties only).
CONTAINS_WORDS
          Contains the word (string properties only).
EQ
          Equals
GE
          Is greater or equal.
GT
          Is greater than
LE
          Less or equal
LT
          Is less than
PREFIX_EQ
          Start of a word macthes exactly (string properties only).
PREFIX_GE
          Start of a word is greater or equal (string properties only).
PREFIX_LE
          Start of a word is less or equal (string properties only).
 
Method Summary
static ContactSearch.CONDITION fromString(java.lang.String s)
           
static ContactSearch.CONDITION get(int code)
           
 int getId()
           
static ContactSearch.CONDITION valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ContactSearch.CONDITION[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EQ

public static final ContactSearch.CONDITION EQ
Equals


GT

public static final ContactSearch.CONDITION GT
Is greater than


GE

public static final ContactSearch.CONDITION GE
Is greater or equal.


LT

public static final ContactSearch.CONDITION LT
Is less than


LE

public static final ContactSearch.CONDITION LE
Less or equal


PREFIX_EQ

public static final ContactSearch.CONDITION PREFIX_EQ
Start of a word macthes exactly (string properties only).


PREFIX_GE

public static final ContactSearch.CONDITION PREFIX_GE
Start of a word is greater or equal (string properties only).


PREFIX_LE

public static final ContactSearch.CONDITION PREFIX_LE
Start of a word is less or equal (string properties only).


CONTAINS_WORDS

public static final ContactSearch.CONDITION CONTAINS_WORDS
Contains the word (string properties only).


CONTAINS_WORD_PREFIXES

public static final ContactSearch.CONDITION CONTAINS_WORD_PREFIXES
One of the words starts with searched value (string properties only).

Method Detail

values

public static ContactSearch.CONDITION[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ContactSearch.CONDITION c : ContactSearch.CONDITION.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ContactSearch.CONDITION valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getId

public int getId()

get

public static ContactSearch.CONDITION get(int code)

fromString

public static ContactSearch.CONDITION fromString(java.lang.String s)


Copyright © 2010, 2011 Skype Technologies. All Rights Reserved.