public class MAPGSM_SecurityContextData extends AbstractFieldsObject
GSM-SecurityContextData ::= SEQUENCE { kc Kc, cksn Cksn, ... }Added in R99.
Used as field type by MAPCurrentSecurityContext
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPGSM_SecurityContextData()
Constructs an object with uninitialised state.
|
MAPGSM_SecurityContextData(byte[] Kc_param,
Cksn Cksn_param)
Constructs an object from given values for all fields.
|
Modifier and Type | Method and Description |
---|---|
MAPGSM_SecurityContextData |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPGSM_SecurityContextData |
copyOf(MAPGSM_SecurityContextData 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.
|
Cksn |
getCksn()
Gets the value of the field cksn.
|
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.
|
byte[] |
getKc()
Gets the value of the field kc.
|
boolean |
hasCksn()
Tests whether the field cksn has a value.
|
boolean |
hasKc()
Tests whether the field kc has a value.
|
MAPGSM_SecurityContextData |
setCksn(Cksn value)
Sets the value of the field cksn.
|
MAPGSM_SecurityContextData |
setKc(byte[] value)
Sets the value of the field kc.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPGSM_SecurityContextData()
public MAPGSM_SecurityContextData(byte[] Kc_param, Cksn Cksn_param)
Kc_param
- value for that fieldCksn_param
- value for that fieldpublic MAPGSM_SecurityContextData clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPGSM_SecurityContextData copyOf(MAPGSM_SecurityContextData from)
from
- the object from which to copypublic Cksn getCksn()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic byte[] getKc()
public boolean hasCksn()
public boolean hasKc()
public MAPGSM_SecurityContextData setCksn(Cksn value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPGSM_SecurityContextData setKc(byte[] 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