de.starface.integration.uci.java.v30.values
Enum CallListEntryDirection

java.lang.Object
  extended by java.lang.Enum<CallListEntryDirection>
      extended by de.starface.integration.uci.java.v30.values.CallListEntryDirection
All Implemented Interfaces:
Serializable, Comparable<CallListEntryDirection>

public enum CallListEntryDirection
extends Enum<CallListEntryDirection>

This enum holds the constants used for the value of the call list entry property CallListEntryProperties.direction


Enum Constant Summary
BOTH
          A call received or placed by the current user
INBOUND
          A call received by the current user
OUTBOUND
          A call placed by the current user
 
Method Summary
static CallListEntryDirection valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CallListEntryDirection[] 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

INBOUND

public static final CallListEntryDirection INBOUND
A call received by the current user


OUTBOUND

public static final CallListEntryDirection OUTBOUND
A call placed by the current user


BOTH

public static final CallListEntryDirection BOTH
A call received or placed by the current user

Method Detail

values

public static CallListEntryDirection[] 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 (CallListEntryDirection c : CallListEntryDirection.values())
    System.out.println(c);

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

valueOf

public static CallListEntryDirection valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2012 STARFACE GmbH. All rights reserved.