public class MAPLSAData extends AbstractFieldsObject
LSAData ::= SEQUENCE { lsaIdentity LSAIdentity, lsaAttributes LSAAttributes, lsaActiveModeIndicator NULL OPTIONAL, extensionContainer ExtensionContainer OPTIONAL, ... }Added in R98.
Used in array as field type by MAPLSAInformation
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPLSAData()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
MAPLSAData |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPLSAData |
copyOf(MAPLSAData 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.
|
byte[] |
getLsaAttributes()
Gets the value of the field lsaAttributes.
|
LocalisedServiceAreaId |
getLsaIdentity()
Gets the value of the field lsaIdentity.
|
boolean |
hasExtensionContainer()
Tests whether the field extensionContainer has a value.
|
boolean |
hasLsaActiveModeIndicator()
Tests whether the field lsaActiveModeIndicator is present.
|
boolean |
hasLsaAttributes()
Tests whether the field lsaAttributes has a value.
|
boolean |
hasLsaIdentity()
Tests whether the field lsaIdentity has a value.
|
MAPLSAData |
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.
|
MAPLSAData |
setLsaActiveModeIndicatorPresent(boolean flag)
Sets the presence or absence of the optional field lsaActiveModeIndicator.
|
MAPLSAData |
setLsaAttributes(byte[] value)
Sets the value of the field lsaAttributes.
|
MAPLSAData |
setLsaIdentity(LocalisedServiceAreaId value)
Sets the value of the field lsaIdentity.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPLSAData clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPLSAData copyOf(MAPLSAData 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 byte[] getLsaAttributes()
public LocalisedServiceAreaId getLsaIdentity()
public boolean hasExtensionContainer()
public boolean hasLsaActiveModeIndicator()
public boolean hasLsaAttributes()
public boolean hasLsaIdentity()
public MAPLSAData setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPLSAData setLsaActiveModeIndicatorPresent(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 MAPLSAData setLsaAttributes(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPLSAData setLsaIdentity(LocalisedServiceAreaId 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