public class MAPLSAInformation extends AbstractFieldsObject
LSAInformation ::= SEQUENCE { completeDataListIncluded NULL OPTIONAL, -- If segmentation is used, completeDataListIncluded may only be present in the first segment. lsaOnlyAccessIndicator LSAOnlyAccessIndicator OPTIONAL, lsaDataList LSADataList OPTIONAL, extensionContainer ExtensionContainer OPTIONAL, ... }Added in R98.
Used as field type by MAPInsertSubscriberDataArg
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPLSAInformation()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
MAPLSAInformation |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPLSAInformation |
copyOf(MAPLSAInformation 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.
|
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.
|
MAPLSAData[] |
getLsaDataList()
Gets the value of the field lsaDataList.
|
MAPLSAOnlyAccessIndicator |
getLsaOnlyAccessIndicator()
Gets the value of the field lsaOnlyAccessIndicator.
|
boolean |
hasCompleteDataListIncluded()
Tests whether the field completeDataListIncluded is present.
|
boolean |
hasExtensionContainer()
Tests whether the field extensionContainer has a value.
|
boolean |
hasLsaDataList()
Tests whether the field lsaDataList has a value.
|
boolean |
hasLsaOnlyAccessIndicator()
Tests whether the field lsaOnlyAccessIndicator has a value.
|
MAPLSAInformation |
setCompleteDataListIncludedPresent(boolean flag)
Sets the presence or absence of the optional field completeDataListIncluded.
|
MAPLSAInformation |
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.
|
MAPLSAInformation |
setLsaDataList(MAPLSAData[] value)
Sets the value of the field lsaDataList.
|
MAPLSAInformation |
setLsaOnlyAccessIndicator(MAPLSAOnlyAccessIndicator value)
Sets the value of the field lsaOnlyAccessIndicator.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPLSAInformation()
public MAPLSAInformation clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPLSAInformation copyOf(MAPLSAInformation from)
from
- the object from which to copypublic 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 MAPLSAData[] getLsaDataList()
public MAPLSAOnlyAccessIndicator getLsaOnlyAccessIndicator()
public boolean hasCompleteDataListIncluded()
public boolean hasExtensionContainer()
public boolean hasLsaDataList()
public boolean hasLsaOnlyAccessIndicator()
public MAPLSAInformation setCompleteDataListIncludedPresent(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 MAPLSAInformation setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPLSAInformation setLsaDataList(MAPLSAData[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPLSAInformation setLsaOnlyAccessIndicator(MAPLSAOnlyAccessIndicator 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