Oracle Fusion Middleware Communication Services 11.1.1.3.0 Java API Reference
E14785-02

oracle.sdp.presence.integration
Enum PhoneNumber.Type

java.lang.Object
  extended by java.lang.Enum<PhoneNumber.Type>
      extended by oracle.sdp.presence.integration.PhoneNumber.Type
All Implemented Interfaces:
Serializable, java.lang.Comparable<PhoneNumber.Type>
Enclosing interface:
PhoneNumber

public static enum PhoneNumber.Type
extends java.lang.Enum<PhoneNumber.Type>

Specifications of the possible values of the type of a PhoneNumber


Enum Constant Summary
CELL
           
HOME
           
WORK
           
 
Method Summary
static PhoneNumber.Type getDefaultType()
           
 java.lang.String getName()
           
static PhoneNumber.Type getType(java.lang.String name)
           
static PhoneNumber.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PhoneNumber.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CELL

public static final PhoneNumber.Type CELL

HOME

public static final PhoneNumber.Type HOME

WORK

public static final PhoneNumber.Type WORK
Method Detail

getDefaultType

public static PhoneNumber.Type getDefaultType()

getName

public java.lang.String getName()

getType

public static PhoneNumber.Type getType(java.lang.String name)

valueOf

public static PhoneNumber.Type 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

values

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

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

Oracle Fusion Middleware Communication Services 11.1.1.3.0 Java API Reference
E14785-02

Copyright © 2005, 2010 Oracle and/or its affiliates. All rights reserved.