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

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

public enum PhoneNumberProperties
extends Enum<PhoneNumberProperties>

This enum holds constants with the proptery names of the phone numbers as returned by UcpPhoneRequests.getAvailableDisplayNumbers()


Enum Constant Summary
groupId
          The id of the group if this phone number belongs to a group as String (the empty string otherwise)
id
          The id of the phone number as String
number
          The number of the phone number as String
 
Method Summary
 Class<?> getType()
           
static PhoneNumberProperties valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PhoneNumberProperties[] 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

id

public static final PhoneNumberProperties id
The id of the phone number as String


number

public static final PhoneNumberProperties number
The number of the phone number as String


groupId

public static final PhoneNumberProperties groupId
The id of the group if this phone number belongs to a group as String (the empty string otherwise)

Method Detail

values

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

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

valueOf

public static PhoneNumberProperties 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

getType

public Class<?> getType()
Returns:
the java type of the property


Copyright © 2012 STARFACE GmbH. All rights reserved.