Class MAPAuthenticationFailureReportArg
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPAuthenticationFailureReportArg
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPAuthenticationFailureReportArg extends AbstractFieldsObject
API for MAP-MS-DataTypes.AuthenticationFailureReportArg. Generated from the following ASN.1 type definition.AuthenticationFailureReportArg ::= SEQUENCE { imsi IMSI, failureCause FailureCause, extensionContainer ExtensionContainer OPTIONAL, ... re-attempt BOOLEAN OPTIONAL, -- Added in release 4. accessType AccessType OPTIONAL, -- Added in release 4. rand RAND OPTIONAL, -- Added in release 4. vlr-Number ISDN-AddressString OPTIONAL, -- Added in release 4. sgsn-Number ISDN-AddressString OPTIONAL -- Added in release 4. }
Added in R99.Used as argument type by
MAPOperations.authenticationFailureReport
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPAuthenticationFailureReportArg()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPAuthenticationFailureReportArg
clone()
Constructs a copy of this object and everything reachable from it.static MAPAuthenticationFailureReportArg
copyOf(MAPAuthenticationFailureReportArg 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.MAPAccessType
getAccessType()
Gets the value of the field accessType.MAPExtensionContainer
getExtensionContainer()
Gets the value of the field extensionContainer.MAPFailureCause
getFailureCause()
Gets the value of the field failureCause.static FieldAccessor[]
getFieldAccessors()
Gets a new array of the accessors for fields of this type.Map<String,Object>
getFieldsMap(boolean withAbsents)
Gets a Map from field-name to field-value.IMSIAddress
getImsi()
Gets the value of the field imsi.byte[]
getRand()
Gets the value of the field rand.boolean
getRe_attempt()
Gets the value of the field re-attempt.AddressString
getSgsn_Number()
Gets the value of the field sgsn-Number.AddressString
getVlr_Number()
Gets the value of the field vlr-Number.boolean
hasAccessType()
Tests whether the field accessType has a value.boolean
hasExtensionContainer()
Tests whether the field extensionContainer has a value.boolean
hasFailureCause()
Tests whether the field failureCause has a value.boolean
hasImsi()
Tests whether the field imsi has a value.boolean
hasRand()
Tests whether the field rand has a value.boolean
hasRe_attempt()
Tests whether the field re-attempt has a value.boolean
hasSgsn_Number()
Tests whether the field sgsn-Number has a value.boolean
hasVlr_Number()
Tests whether the field vlr-Number has a value.MAPAuthenticationFailureReportArg
setAccessType(MAPAccessType value)
Sets the value of the field accessType.MAPAuthenticationFailureReportArg
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.MAPAuthenticationFailureReportArg
setFailureCause(MAPFailureCause value)
Sets the value of the field failureCause.MAPAuthenticationFailureReportArg
setImsi(IMSIAddress value)
Sets the value of the field imsi.MAPAuthenticationFailureReportArg
setRand(byte[] value)
Sets the value of the field rand.MAPAuthenticationFailureReportArg
setRe_attempt(boolean value)
Sets the value of the field re-attempt and marks the field as present.MAPAuthenticationFailureReportArg
setRe_attemptPresent(boolean flag)
Sets the presence or absence of the optional field re-attempt.void
setReadOnly()
Sets this and all its fields to be immutable.MAPAuthenticationFailureReportArg
setSgsn_Number(AddressString value)
Sets the value of the field sgsn-Number.MAPAuthenticationFailureReportArg
setVlr_Number(AddressString value)
Sets the value of the field vlr-Number.-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly
-
-
-
-
Method Detail
-
clone
public MAPAuthenticationFailureReportArg clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Specified by:
clone
in classAbstractDataObject
- Returns:
- copy of object
-
copyOf
public static MAPAuthenticationFailureReportArg copyOf(MAPAuthenticationFailureReportArg 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:
- MAPAuthenticationFailureReportArg
-
getAccessType
public MAPAccessType getAccessType()
Gets the value of the field accessType.- Returns:
- value of field accessType, or null if not present
-
getExtensionContainer
public MAPExtensionContainer getExtensionContainer()
Gets the value of the field extensionContainer.- Returns:
- value of field extensionContainer, or null if not present
-
getFailureCause
public MAPFailureCause getFailureCause()
Gets the value of the field failureCause.- Returns:
- value of field failureCause, or null if not present
-
getFieldAccessors
public static FieldAccessor[] getFieldAccessors()
Gets a new array of the accessors for fields of this type.- Returns:
- FieldAccessor[]
-
getFieldsMap
public Map<String,Object> getFieldsMap(boolean withAbsents)
Gets a Map from field-name to field-value. For a field of primitive type, the field-value is boxed. For an absent optional field, the field-value is AbstractFieldsObject.FIELD_ABSENT. For an unitialised mandatory field, the field-value is AbstractFieldsObject.FIELD_UNINITIALISED.- Specified by:
getFieldsMap
in classAbstractFieldsObject
- Parameters:
withAbsents
- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
getImsi
public IMSIAddress getImsi()
Gets the value of the field imsi.- Returns:
- value of field imsi, or null if not present
-
getRand
public byte[] getRand()
Gets the value of the field rand.- Returns:
- value of field rand, or null if not present
-
getRe_attempt
public boolean getRe_attempt()
Gets the value of the field re-attempt.- Returns:
- value of field re-attempt
-
getSgsn_Number
public AddressString getSgsn_Number()
Gets the value of the field sgsn-Number.- Returns:
- value of field sgsn-Number, or null if not present
-
getVlr_Number
public AddressString getVlr_Number()
Gets the value of the field vlr-Number.- Returns:
- value of field vlr-Number, or null if not present
-
hasAccessType
public boolean hasAccessType()
Tests whether the field accessType has a value.- Returns:
- whether the field accessType has a value
-
hasExtensionContainer
public boolean hasExtensionContainer()
Tests whether the field extensionContainer has a value.- Returns:
- whether the field extensionContainer has a value
-
hasFailureCause
public boolean hasFailureCause()
Tests whether the field failureCause has a value.- Returns:
- whether the field failureCause has a value
-
hasImsi
public boolean hasImsi()
Tests whether the field imsi has a value.- Returns:
- whether the field imsi has a value
-
hasRand
public boolean hasRand()
Tests whether the field rand has a value.- Returns:
- whether the field rand has a value
-
hasRe_attempt
public boolean hasRe_attempt()
Tests whether the field re-attempt has a value.- Returns:
- whether the field re-attempt has a value
-
hasSgsn_Number
public boolean hasSgsn_Number()
Tests whether the field sgsn-Number has a value.- Returns:
- whether the field sgsn-Number has a value
-
hasVlr_Number
public boolean hasVlr_Number()
Tests whether the field vlr-Number has a value.- Returns:
- whether the field vlr-Number has a value
-
setAccessType
public MAPAuthenticationFailureReportArg setAccessType(MAPAccessType value) throws IllegalStateException
Sets the value of the field accessType. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setExtensionContainer
public MAPAuthenticationFailureReportArg setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
Sets the value of the field extensionContainer. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setFailureCause
public MAPAuthenticationFailureReportArg setFailureCause(MAPFailureCause value) throws IllegalStateException
Sets the value of the field failureCause.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setImsi
public MAPAuthenticationFailureReportArg setImsi(IMSIAddress value) throws IllegalStateException
Sets the value of the field imsi.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setRand
public MAPAuthenticationFailureReportArg setRand(byte[] value) throws IllegalStateException
Sets the value of the field rand. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setRe_attempt
public MAPAuthenticationFailureReportArg setRe_attempt(boolean value) throws IllegalStateException
Sets the value of the field re-attempt and marks the field as present.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setRe_attemptPresent
public MAPAuthenticationFailureReportArg setRe_attemptPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field re-attempt.- Parameters:
flag
- either true if the field should be marked as present or false if the field should be marked as absent- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setReadOnly
public void setReadOnly()
Sets this and all its fields to be immutable.- Specified by:
setReadOnly
in interfaceDataObject
- Overrides:
setReadOnly
in classAbstractDataObject
-
setSgsn_Number
public MAPAuthenticationFailureReportArg setSgsn_Number(AddressString value) throws IllegalStateException
Sets the value of the field sgsn-Number. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setVlr_Number
public MAPAuthenticationFailureReportArg setVlr_Number(AddressString value) throws IllegalStateException
Sets the value of the field vlr-Number. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
-