Class MAPGGSN_EventList

  • All Implemented Interfaces:
    DataObject, Serializable

    public class MAPGGSN_EventList
    extends BitStringWithNamedBits
    API for MAP-OM-DataTypes.GGSN-EventList. Generated from the following ASN.1 type definition.
     GGSN-EventList ::=
         BIT STRING (SIZE (2..8)) {
             pdpContext(0),
             mbmsContext(1)
         }
     
    Added in release 6. Other bits than are named here shall be discarded.

    Used as field type by MAPTraceEventList.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPGGSN_EventList

        public MAPGGSN_EventList()
        Constructs an object that has no bits set.
      • MAPGGSN_EventList

        public MAPGGSN_EventList​(int nbits)
        Constructs an object that has no bits set, initialised to accommodate the given number of bits.
        Parameters:
        nbits - initial number of bits
    • Method Detail

      • clearMbmsContext

        public MAPGGSN_EventList clearMbmsContext()
        Clears the bit for mbmsContext to false.
        Returns:
        this
      • clearPdpContext

        public MAPGGSN_EventList clearPdpContext()
        Clears the bit for pdpContext to false.
        Returns:
        this
      • copyOf

        public static MAPGGSN_EventList copyOf​(BitString from)
        Creates a new object of this type, cloning the values of common fields from the given object of any subclass of the same base type.
        Parameters:
        from - the object from which to copy
        Returns:
        MAPGGSN_EventList
      • getMbmsContext

        public boolean getMbmsContext()
        Gets whether the bit for mbmsContext is set or not.
        Returns:
        the named bit's value
      • getPdpContext

        public boolean getPdpContext()
        Gets whether the bit for pdpContext is set or not.
        Returns:
        the named bit's value
      • setMbmsContext

        public MAPGGSN_EventList setMbmsContext()
        Sets the bit for mbmsContext to true.
        Returns:
        this
      • setPdpContext

        public MAPGGSN_EventList setPdpContext()
        Sets the bit for pdpContext to true.
        Returns:
        this
      • staticGetNamedBits

        public static BitStringWithNamedBits.NamedBit[] staticGetNamedBits()
        Gets the names of all bits of this type (not just the bits set in this value).
        Returns:
        array of NamedBit