net.java.slee.resource.diameter.ro.events.avp
Enum LcsClientType

java.lang.Object
  extended by java.lang.Enum<LcsClientType>
      extended by net.java.slee.resource.diameter.ro.events.avp.LcsClientType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LcsClientType>, net.java.slee.resource.diameter.base.events.avp.Enumerated

public enum LcsClientType
extends java.lang.Enum<LcsClientType>
implements net.java.slee.resource.diameter.base.events.avp.Enumerated

Java class to represent the LCS-Client-Type enumerated type.

 The LCS-Client-Type AVP (AVP code 1241) is of type Enumerated and contains an estimate 
 of the location of an MS in universal coordinates and the accuracy of the estimate.
 
 It can be one of the following values:
  EMERGENCY_SERVICES          0
  VALUE_ADDED_SERVICES        1
  PLMN_OPERATOR_SERVICES      2
  LAWFUL_INTERCEPT_SERVICES   3
 

Author:
Alexandre Mendonca , Bartosz Baranowski

Enum Constant Summary
EMERGENCY_SERVICES
           
LAWFUL_INTERCEPT_SERVICES
           
PLMN_OPERATOR_SERVICES
           
VALUE_ADDED_SERVICES
           
 
Method Summary
static LcsClientType fromInt(int type)
           
 int getValue()
           
static LcsClientType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LcsClientType[] 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

EMERGENCY_SERVICES

public static final LcsClientType EMERGENCY_SERVICES

VALUE_ADDED_SERVICES

public static final LcsClientType VALUE_ADDED_SERVICES

PLMN_OPERATOR_SERVICES

public static final LcsClientType PLMN_OPERATOR_SERVICES

LAWFUL_INTERCEPT_SERVICES

public static final LcsClientType LAWFUL_INTERCEPT_SERVICES
Method Detail

values

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

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

valueOf

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

getValue

public int getValue()
Specified by:
getValue in interface net.java.slee.resource.diameter.base.events.avp.Enumerated

fromInt

public static LcsClientType fromInt(int type)
                             throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException


Copyright © 2011. All Rights Reserved.