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

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

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

Java class to represent the MBMS-StartStop-Indication enumerated type.

 The MBMS-StartStop-Indication AVP (AVP code 902) is of type Enumerated. The following values are supported:
 
 START (0)
   The message containing this AVP is indicating an MBMS session start procedure.
 STOP  (1) 
   The message containing this AVP is indicating an MBMS session stop procedure.
 UPDATE (2)
   The message containing this AVP is indicating an MBMS session update procedure.
 

Author:
Alexandre Mendonca , Bartosz Baranowski

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

START

public static final MbmsStartStopIndication START

STOP

public static final MbmsStartStopIndication STOP

UPDATE

public static final MbmsStartStopIndication UPDATE
Method Detail

values

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

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

valueOf

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


Copyright © 2011. All Rights Reserved.