net.java.slee.resource.diameter.ro.events.avp
Enum Mbms2g3gIndicator
java.lang.Object
java.lang.Enum<Mbms2g3gIndicator>
net.java.slee.resource.diameter.ro.events.avp.Mbms2g3gIndicator
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Mbms2g3gIndicator>, net.java.slee.resource.diameter.base.events.avp.Enumerated
public enum Mbms2g3gIndicator
- extends java.lang.Enum<Mbms2g3gIndicator>
- implements net.java.slee.resource.diameter.base.events.avp.Enumerated
Java class to represent the MBMS-2G-3G-Indicator enumerated type.
17.7.10 MBMS-2G-3G-Indicator AVP
The MBMS-2G-3G-Indicator AVP (AVP code 907) is of type Enumerated. It indicates whether the MBMS bearer service will be delivered in 2G- only, 3G- only of both coverage areas. The following values are supported:
2G (0)
The MBMS bearer service shall only be delivered in 2G only coverage areas.
3G (1)
The MBMS bearer service shall only be delivered in 3G only coverage areas.
2G-AND-3G (2)
The MBMS bearer service shall be delivered both in 2G and 3G coverage areas.
- Author:
- Alexandre Mendonca , Bartosz Baranowski
| 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 |
_2G
public static final Mbms2g3gIndicator _2G
_3G
public static final Mbms2g3gIndicator _3G
_2G_AND_3G
public static final Mbms2g3gIndicator _2G_AND_3G
values
public static Mbms2g3gIndicator[] 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 (Mbms2g3gIndicator c : Mbms2g3gIndicator.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Mbms2g3gIndicator 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 Mbms2g3gIndicator fromInt(int type)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
Copyright © 2011. All Rights Reserved.