public class MAPCallBarringData extends AbstractFieldsObject
CallBarringData ::= SEQUENCE { callBarringFeatureList Ext-CallBarFeatureList, password Password OPTIONAL, -- 4-digit NumericString wrongPasswordAttemptsCounter WrongPasswordAttemptsCounter OPTIONAL, notificationToCSE NULL OPTIONAL, extensionContainer ExtensionContainer OPTIONAL, ... }Added in R99.
Used as field type by MAPAnyTimeSubscriptionInterrogationRes
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPCallBarringData()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
MAPCallBarringData |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPCallBarringData |
copyOf(MAPCallBarringData 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.
|
MAPExt_CallBarringFeature[] |
getCallBarringFeatureList()
Gets the value of the field callBarringFeatureList.
|
MAPExtensionContainer |
getExtensionContainer()
Gets the value of the field extensionContainer.
|
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.
|
String |
getPassword()
Gets the value of the field password.
|
int |
getWrongPasswordAttemptsCounter()
Gets the value of the field wrongPasswordAttemptsCounter.
|
boolean |
hasCallBarringFeatureList()
Tests whether the field callBarringFeatureList has a value.
|
boolean |
hasExtensionContainer()
Tests whether the field extensionContainer has a value.
|
boolean |
hasNotificationToCSE()
Tests whether the field notificationToCSE is present.
|
boolean |
hasPassword()
Tests whether the field password has a value.
|
boolean |
hasWrongPasswordAttemptsCounter()
Tests whether the field wrongPasswordAttemptsCounter has a value.
|
MAPCallBarringData |
setCallBarringFeatureList(MAPExt_CallBarringFeature[] value)
Sets the value of the field callBarringFeatureList.
|
MAPCallBarringData |
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.
|
MAPCallBarringData |
setNotificationToCSEPresent(boolean flag)
Sets the presence or absence of the optional field notificationToCSE.
|
MAPCallBarringData |
setPassword(String value)
Sets the value of the field password.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
MAPCallBarringData |
setWrongPasswordAttemptsCounter(int value)
Sets the value of the field wrongPasswordAttemptsCounter and marks the field as present.
|
MAPCallBarringData |
setWrongPasswordAttemptsCounterPresent(boolean flag)
Sets the presence or absence of the optional field wrongPasswordAttemptsCounter.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPCallBarringData()
public MAPCallBarringData clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPCallBarringData copyOf(MAPCallBarringData from)
from
- the object from which to copypublic MAPExt_CallBarringFeature[] getCallBarringFeatureList()
public MAPExtensionContainer getExtensionContainer()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic String getPassword()
public int getWrongPasswordAttemptsCounter()
public boolean hasCallBarringFeatureList()
public boolean hasExtensionContainer()
public boolean hasNotificationToCSE()
public boolean hasPassword()
public boolean hasWrongPasswordAttemptsCounter()
public MAPCallBarringData setCallBarringFeatureList(MAPExt_CallBarringFeature[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPCallBarringData setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPCallBarringData setNotificationToCSEPresent(boolean flag) throws IllegalStateException
flag
- either true if the field should be marked as present or false if the field should be marked as absentIllegalStateException
- if this instance has been marked as read-onlypublic MAPCallBarringData setPassword(String value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic void setReadOnly()
setReadOnly
in interface DataObject
setReadOnly
in class AbstractDataObject
public MAPCallBarringData setWrongPasswordAttemptsCounter(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPCallBarringData setWrongPasswordAttemptsCounterPresent(boolean flag) throws IllegalStateException
flag
- either true if the field should be marked as present or false if the field should be marked as absentIllegalStateException
- if this instance has been marked as read-only