Class MAPAccessRestrictionData
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- BitString
-
- BitStringWithNamedBits
-
- MAPAccessRestrictionData
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPAccessRestrictionData extends BitStringWithNamedBits
API for MAP-MS-DataTypes.AccessRestrictionData. Generated from the following ASN.1 type definition.AccessRestrictionData ::= BIT STRING (SIZE (2..8)) { utranNotAllowed(0), geranNotAllowed(1), ganNotAllowed(2), -- Added in release 7. i-hspa-evolutionNotAllowed(3), -- Added in release 7. e-utranNotAllowed(4), -- Added in release 8. ho-toNon3GPP-AccessNotAllowed(5) -- Added in release 8. }
Added in release 6. Exception handling: access restriction data related to an access type not supported by a node shall be ignored; bits 6 to 7 shall be ignored if received and not understood.Used as field type by
MAPInsertSubscriberDataArg
.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.opencloud.slee.resources.cgin.BitStringWithNamedBits
BitStringWithNamedBits.NamedBit
-
-
Constructor Summary
Constructors Constructor Description MAPAccessRestrictionData()
Constructs an object that has no bits set.MAPAccessRestrictionData(int nbits)
Constructs an object that has no bits set, initialised to accommodate the given number of bits.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPAccessRestrictionData
clearE_utranNotAllowed()
Clears the bit for e_utranNotAllowed to false.MAPAccessRestrictionData
clearGanNotAllowed()
Clears the bit for ganNotAllowed to false.MAPAccessRestrictionData
clearGeranNotAllowed()
Clears the bit for geranNotAllowed to false.MAPAccessRestrictionData
clearHo_toNon3GPP_AccessNotAllowed()
Clears the bit for ho_toNon3GPP_AccessNotAllowed to false.MAPAccessRestrictionData
clearI_hspa_evolutionNotAllowed()
Clears the bit for i_hspa_evolutionNotAllowed to false.MAPAccessRestrictionData
clearUtranNotAllowed()
Clears the bit for utranNotAllowed to false.MAPAccessRestrictionData
clone()
Constructs a copy of this object and everything reachable from it.static MAPAccessRestrictionData
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.boolean
getE_utranNotAllowed()
Gets whether the bit for e_utranNotAllowed is set or not.boolean
getGanNotAllowed()
Gets whether the bit for ganNotAllowed is set or not.boolean
getGeranNotAllowed()
Gets whether the bit for geranNotAllowed is set or not.boolean
getHo_toNon3GPP_AccessNotAllowed()
Gets whether the bit for ho_toNon3GPP_AccessNotAllowed is set or not.boolean
getI_hspa_evolutionNotAllowed()
Gets whether the bit for i_hspa_evolutionNotAllowed is set or not.BitStringWithNamedBits.NamedBit[]
getNamedBits()
Gets the names of all bits of this type (not just the bits set in this value).boolean
getUtranNotAllowed()
Gets whether the bit for utranNotAllowed is set or not.MAPAccessRestrictionData
setE_utranNotAllowed()
Sets the bit for e_utranNotAllowed to true.MAPAccessRestrictionData
setGanNotAllowed()
Sets the bit for ganNotAllowed to true.MAPAccessRestrictionData
setGeranNotAllowed()
Sets the bit for geranNotAllowed to true.MAPAccessRestrictionData
setHo_toNon3GPP_AccessNotAllowed()
Sets the bit for ho_toNon3GPP_AccessNotAllowed to true.MAPAccessRestrictionData
setI_hspa_evolutionNotAllowed()
Sets the bit for i_hspa_evolutionNotAllowed to true.MAPAccessRestrictionData
setUtranNotAllowed()
Sets the bit for utranNotAllowed to true.static BitStringWithNamedBits.NamedBit[]
staticGetNamedBits()
Gets the names of all bits of this type (not just the bits set in this value).-
Methods inherited from class com.opencloud.slee.resources.cgin.BitStringWithNamedBits
toString
-
Methods inherited from class com.opencloud.slee.resources.cgin.BitString
clear, clear, equals, get, hashCode, length, nextSetBit, set
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly, setReadOnly
-
-
-
-
Constructor Detail
-
MAPAccessRestrictionData
public MAPAccessRestrictionData()
Constructs an object that has no bits set.
-
MAPAccessRestrictionData
public MAPAccessRestrictionData(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
-
clearE_utranNotAllowed
public MAPAccessRestrictionData clearE_utranNotAllowed()
Clears the bit for e_utranNotAllowed to false.- Returns:
- this
-
clearGanNotAllowed
public MAPAccessRestrictionData clearGanNotAllowed()
Clears the bit for ganNotAllowed to false.- Returns:
- this
-
clearGeranNotAllowed
public MAPAccessRestrictionData clearGeranNotAllowed()
Clears the bit for geranNotAllowed to false.- Returns:
- this
-
clearHo_toNon3GPP_AccessNotAllowed
public MAPAccessRestrictionData clearHo_toNon3GPP_AccessNotAllowed()
Clears the bit for ho_toNon3GPP_AccessNotAllowed to false.- Returns:
- this
-
clearI_hspa_evolutionNotAllowed
public MAPAccessRestrictionData clearI_hspa_evolutionNotAllowed()
Clears the bit for i_hspa_evolutionNotAllowed to false.- Returns:
- this
-
clearUtranNotAllowed
public MAPAccessRestrictionData clearUtranNotAllowed()
Clears the bit for utranNotAllowed to false.- Returns:
- this
-
clone
public MAPAccessRestrictionData clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Overrides:
clone
in classBitString
- Returns:
- copy of object
-
copyOf
public static MAPAccessRestrictionData 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:
- MAPAccessRestrictionData
-
getE_utranNotAllowed
public boolean getE_utranNotAllowed()
Gets whether the bit for e_utranNotAllowed is set or not.- Returns:
- the named bit's value
-
getGanNotAllowed
public boolean getGanNotAllowed()
Gets whether the bit for ganNotAllowed is set or not.- Returns:
- the named bit's value
-
getGeranNotAllowed
public boolean getGeranNotAllowed()
Gets whether the bit for geranNotAllowed is set or not.- Returns:
- the named bit's value
-
getHo_toNon3GPP_AccessNotAllowed
public boolean getHo_toNon3GPP_AccessNotAllowed()
Gets whether the bit for ho_toNon3GPP_AccessNotAllowed is set or not.- Returns:
- the named bit's value
-
getI_hspa_evolutionNotAllowed
public boolean getI_hspa_evolutionNotAllowed()
Gets whether the bit for i_hspa_evolutionNotAllowed is set or not.- Returns:
- the named bit's value
-
getNamedBits
public BitStringWithNamedBits.NamedBit[] getNamedBits()
Description copied from class:BitStringWithNamedBits
Gets the names of all bits of this type (not just the bits set in this value).- Specified by:
getNamedBits
in classBitStringWithNamedBits
- Returns:
- array of NamedBit
-
getUtranNotAllowed
public boolean getUtranNotAllowed()
Gets whether the bit for utranNotAllowed is set or not.- Returns:
- the named bit's value
-
setE_utranNotAllowed
public MAPAccessRestrictionData setE_utranNotAllowed()
Sets the bit for e_utranNotAllowed to true.- Returns:
- this
-
setGanNotAllowed
public MAPAccessRestrictionData setGanNotAllowed()
Sets the bit for ganNotAllowed to true.- Returns:
- this
-
setGeranNotAllowed
public MAPAccessRestrictionData setGeranNotAllowed()
Sets the bit for geranNotAllowed to true.- Returns:
- this
-
setHo_toNon3GPP_AccessNotAllowed
public MAPAccessRestrictionData setHo_toNon3GPP_AccessNotAllowed()
Sets the bit for ho_toNon3GPP_AccessNotAllowed to true.- Returns:
- this
-
setI_hspa_evolutionNotAllowed
public MAPAccessRestrictionData setI_hspa_evolutionNotAllowed()
Sets the bit for i_hspa_evolutionNotAllowed to true.- Returns:
- this
-
setUtranNotAllowed
public MAPAccessRestrictionData setUtranNotAllowed()
Sets the bit for utranNotAllowed 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
-
-