public class MAPIP_SM_GW_Guidance extends AbstractFieldsObject
IP-SM-GW-Guidance ::= SEQUENCE { minimumDeliveryTimeValue SM-DeliveryTimerValue, recommendedDeliveryTimeValue SM-DeliveryTimerValue, extensionContainer ExtensionContainer OPTIONAL, ... }Added in release 10.
Used as field type by MAPRoutingInfoForSM_Res
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPIP_SM_GW_Guidance()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
MAPIP_SM_GW_Guidance |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPIP_SM_GW_Guidance |
copyOf(MAPIP_SM_GW_Guidance 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.
|
int |
getMinimumDeliveryTimeValue()
Gets the value of the field minimumDeliveryTimeValue.
|
int |
getRecommendedDeliveryTimeValue()
Gets the value of the field recommendedDeliveryTimeValue.
|
boolean |
hasExtensionContainer()
Tests whether the field extensionContainer has a value.
|
boolean |
hasMinimumDeliveryTimeValue()
Tests whether the field minimumDeliveryTimeValue has a value.
|
boolean |
hasRecommendedDeliveryTimeValue()
Tests whether the field recommendedDeliveryTimeValue has a value.
|
MAPIP_SM_GW_Guidance |
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.
|
MAPIP_SM_GW_Guidance |
setMinimumDeliveryTimeValue(int value)
Sets the value of the field minimumDeliveryTimeValue and marks the field as present.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
MAPIP_SM_GW_Guidance |
setRecommendedDeliveryTimeValue(int value)
Sets the value of the field recommendedDeliveryTimeValue and marks the field as present.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPIP_SM_GW_Guidance()
public MAPIP_SM_GW_Guidance clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPIP_SM_GW_Guidance copyOf(MAPIP_SM_GW_Guidance 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 int getMinimumDeliveryTimeValue()
public int getRecommendedDeliveryTimeValue()
public boolean hasExtensionContainer()
public boolean hasMinimumDeliveryTimeValue()
public boolean hasRecommendedDeliveryTimeValue()
public MAPIP_SM_GW_Guidance setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPIP_SM_GW_Guidance setMinimumDeliveryTimeValue(int 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 MAPIP_SM_GW_Guidance setRecommendedDeliveryTimeValue(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-only