net.java.slee.resource.diameter.rf.events.avp
Enum MbmsCountingInformation

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

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

Java class to represent the MBMS-2G-3G-Indicator enumerated type.

 17.7.17  MBMS-Counting-Information AVP
 The MBMS-Counting-Information AVP (AVP code 914) is of type Enumerated, and contains explicit information about whether the MBMS Counting procedures are applicable for the MBMS Service that is about to start. See 3GPP TS 25.346 [72].
 This AVP is only valid for UTRAN access type.
 
 The following values are supported:
 COUNTING-NOT-APPLICABLE (0)
   The MBMS Session Start Procedure signalled by the BM-SC is for a MBMS Service where MBMS Counting procedures are not applicable.
 COUNTING-APPLICABLE (1)
   The MBMS Session Start Procedure signalled by the BM-SC is for a MBMS Service where MBMS Counting procedures are applicable.
 

Author:
Alexandre Mendonca , Bartosz Baranowski

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

COUNTING_NOT_APPLICABLE

public static final MbmsCountingInformation COUNTING_NOT_APPLICABLE

COUNTING_APPLICABLE

public static final MbmsCountingInformation COUNTING_APPLICABLE
Method Detail

values

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

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

valueOf

public static MbmsCountingInformation 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 MbmsCountingInformation fromInt(int type)
                                       throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException


Copyright © 2011. All Rights Reserved.