Class CAP4InitialDPArgExtension
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- CAP2InitialDPArgExtension
-
- CAP4InitialDPArgExtension
-
- All Implemented Interfaces:
DataObject,Serializable
public class CAP4InitialDPArgExtension extends CAP2InitialDPArgExtension
API for CAP-gsmSSF-gsmSCF-ops-args.InitialDPArgExtension. Generated from the following ASN.1 type definition and the adaptations below.InitialDPArgExtension ::= SEQUENCE { gmscAddress ISDN-AddressString OPTIONAL, forwardingDestinationNumber CalledPartyNumber OPTIONAL, ms-Classmark2 MS-Classmark2 OPTIONAL, iMEI IMEI OPTIONAL, supportedCamelPhases SupportedCamelPhases OPTIONAL, offeredCamel4Functionalities OfferedCamel4Functionalities OPTIONAL, bearerCapability2 BearerCapability OPTIONAL, ext-basicServiceCode2 Ext-BasicServiceCode OPTIONAL, highLayerCompatibility2 HighLayerCompatibility OPTIONAL, lowLayerCompatibility LowLayerCompatibility OPTIONAL, lowLayerCompatibility2 LowLayerCompatibility OPTIONAL, ... enhancedDialledServicesAllowed NULL OPTIONAL, uu-Data UU-Data OPTIONAL, collectInformationAllowed NULL OPTIONAL } CAP-gsmSSF-gsmSCF-ops-args { InitialDPArgExtension { @parentType com.opencloud.slee.resources.cgin.cap_v2.CAP2InitialDPArgExtension } }Used as field type by
CAP4InitialDPArg.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description CAP4InitialDPArgExtension()Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CAP4InitialDPArgExtensionclone()Constructs a copy of this object and everything reachable from it.static CAP4InitialDPArgExtensioncopyOf(CAP2InitialDPArgExtension 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.CCBearerCapabilitygetBearerCapability2()Gets the value of the field bearerCapability2.MAPExt_BasicServiceCodegetExt_basicServiceCode2()Gets the value of the field ext-basicServiceCode2.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.CalledPartyNumbergetForwardingDestinationNumber()Gets the value of the field forwardingDestinationNumber.HighLayerCompatibilitygetHighLayerCompatibility2()Gets the value of the field highLayerCompatibility2.IMEIAddressgetIMEI()Gets the value of the field iMEI.byte[]getLowLayerCompatibility()Gets the value of the field lowLayerCompatibility.byte[]getLowLayerCompatibility2()Gets the value of the field lowLayerCompatibility2.byte[]getMs_Classmark2()Gets the value of the field ms-Classmark2.MAPOfferedCamel4FunctionalitiesgetOfferedCamel4Functionalities()Gets the value of the field offeredCamel4Functionalities.MAPSupportedCamelPhasesgetSupportedCamelPhases()Gets the value of the field supportedCamelPhases.MAPUU_DatagetUu_Data()Gets the value of the field uu-Data.booleanhasBearerCapability2()Tests whether the field bearerCapability2 has a value.booleanhasCollectInformationAllowed()Tests whether the field collectInformationAllowed is present.booleanhasEnhancedDialledServicesAllowed()Tests whether the field enhancedDialledServicesAllowed is present.booleanhasExt_basicServiceCode2()Tests whether the field ext-basicServiceCode2 has a value.booleanhasForwardingDestinationNumber()Tests whether the field forwardingDestinationNumber has a value.booleanhasHighLayerCompatibility2()Tests whether the field highLayerCompatibility2 has a value.booleanhasIMEI()Tests whether the field iMEI has a value.booleanhasLowLayerCompatibility()Tests whether the field lowLayerCompatibility has a value.booleanhasLowLayerCompatibility2()Tests whether the field lowLayerCompatibility2 has a value.booleanhasMs_Classmark2()Tests whether the field ms-Classmark2 has a value.booleanhasOfferedCamel4Functionalities()Tests whether the field offeredCamel4Functionalities has a value.booleanhasSupportedCamelPhases()Tests whether the field supportedCamelPhases has a value.booleanhasUu_Data()Tests whether the field uu-Data has a value.CAP4InitialDPArgExtensionsetBearerCapability2(CCBearerCapability value)Sets the value of the field bearerCapability2.CAP4InitialDPArgExtensionsetCollectInformationAllowedPresent(boolean flag)Sets the presence or absence of the optional field collectInformationAllowed.CAP4InitialDPArgExtensionsetEnhancedDialledServicesAllowedPresent(boolean flag)Sets the presence or absence of the optional field enhancedDialledServicesAllowed.CAP4InitialDPArgExtensionsetExt_basicServiceCode2(MAPExt_BasicServiceCode value)Sets the value of the field ext-basicServiceCode2.CAP4InitialDPArgExtensionsetForwardingDestinationNumber(CalledPartyNumber value)Sets the value of the field forwardingDestinationNumber.CAP4InitialDPArgExtensionsetGmscAddress(AddressString value)Sets the value of the field gmscAddress.CAP4InitialDPArgExtensionsetHighLayerCompatibility2(HighLayerCompatibility value)Sets the value of the field highLayerCompatibility2.CAP4InitialDPArgExtensionsetIMEI(IMEIAddress value)Sets the value of the field iMEI.CAP4InitialDPArgExtensionsetLowLayerCompatibility(byte[] value)Sets the value of the field lowLayerCompatibility.CAP4InitialDPArgExtensionsetLowLayerCompatibility2(byte[] value)Sets the value of the field lowLayerCompatibility2.CAP4InitialDPArgExtensionsetMs_Classmark2(byte[] value)Sets the value of the field ms-Classmark2.CAP4InitialDPArgExtensionsetOfferedCamel4Functionalities(MAPOfferedCamel4Functionalities value)Sets the value of the field offeredCamel4Functionalities.voidsetReadOnly()Sets this and all its fields to be immutable.CAP4InitialDPArgExtensionsetSupportedCamelPhases(MAPSupportedCamelPhases value)Sets the value of the field supportedCamelPhases.CAP4InitialDPArgExtensionsetUu_Data(MAPUU_Data value)Sets the value of the field uu-Data.-
Methods inherited from class com.opencloud.slee.resources.cgin.cap_v2.CAP2InitialDPArgExtension
getGmscAddress, getNaCarrierInformation, hasGmscAddress, hasNaCarrierInformation, setNaCarrierInformation
-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly
-
-
-
-
Method Detail
-
clone
public CAP4InitialDPArgExtension clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clonein interfaceDataObject- Overrides:
clonein classCAP2InitialDPArgExtension- Returns:
- copy of object
-
copyOf
public static CAP4InitialDPArgExtension copyOf(CAP2InitialDPArgExtension 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.- Parameters:
from- the object from which to copy- Returns:
- CAP4InitialDPArgExtension
-
getBearerCapability2
public CCBearerCapability getBearerCapability2()
Gets the value of the field bearerCapability2.- Returns:
- value of field bearerCapability2, or null if not present
-
getExt_basicServiceCode2
public MAPExt_BasicServiceCode getExt_basicServiceCode2()
Gets the value of the field ext-basicServiceCode2.- Returns:
- value of field ext-basicServiceCode2, or null if not present
-
getFieldAccessors
public static FieldAccessor[] getFieldAccessors()
Gets a new array of the accessors for fields of this type.- Returns:
- FieldAccessor[]
-
getFieldsMap
public Map<String,Object> getFieldsMap(boolean withAbsents)
Gets a Map from field-name to field-value. For a field of primitive type, the field-value is boxed. For an absent optional field, the field-value is AbstractFieldsObject.FIELD_ABSENT. For an unitialised mandatory field, the field-value is AbstractFieldsObject.FIELD_UNINITIALISED.- Overrides:
getFieldsMapin classCAP2InitialDPArgExtension- Parameters:
withAbsents- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
getForwardingDestinationNumber
public CalledPartyNumber getForwardingDestinationNumber()
Gets the value of the field forwardingDestinationNumber.- Returns:
- value of field forwardingDestinationNumber, or null if not present
-
getHighLayerCompatibility2
public HighLayerCompatibility getHighLayerCompatibility2()
Gets the value of the field highLayerCompatibility2.- Returns:
- value of field highLayerCompatibility2, or null if not present
-
getIMEI
public IMEIAddress getIMEI()
Gets the value of the field iMEI.- Returns:
- value of field iMEI, or null if not present
-
getLowLayerCompatibility
public byte[] getLowLayerCompatibility()
Gets the value of the field lowLayerCompatibility.- Returns:
- value of field lowLayerCompatibility, or null if not present
-
getLowLayerCompatibility2
public byte[] getLowLayerCompatibility2()
Gets the value of the field lowLayerCompatibility2.- Returns:
- value of field lowLayerCompatibility2, or null if not present
-
getMs_Classmark2
public byte[] getMs_Classmark2()
Gets the value of the field ms-Classmark2.- Returns:
- value of field ms-Classmark2, or null if not present
-
getOfferedCamel4Functionalities
public MAPOfferedCamel4Functionalities getOfferedCamel4Functionalities()
Gets the value of the field offeredCamel4Functionalities.- Returns:
- value of field offeredCamel4Functionalities, or null if not present
-
getSupportedCamelPhases
public MAPSupportedCamelPhases getSupportedCamelPhases()
Gets the value of the field supportedCamelPhases.- Returns:
- value of field supportedCamelPhases, or null if not present
-
getUu_Data
public MAPUU_Data getUu_Data()
Gets the value of the field uu-Data.- Returns:
- value of field uu-Data, or null if not present
-
hasBearerCapability2
public boolean hasBearerCapability2()
Tests whether the field bearerCapability2 has a value.- Returns:
- whether the field bearerCapability2 has a value
-
hasCollectInformationAllowed
public boolean hasCollectInformationAllowed()
Tests whether the field collectInformationAllowed is present.- Returns:
- whether the field collectInformationAllowed is present
-
hasEnhancedDialledServicesAllowed
public boolean hasEnhancedDialledServicesAllowed()
Tests whether the field enhancedDialledServicesAllowed is present.- Returns:
- whether the field enhancedDialledServicesAllowed is present
-
hasExt_basicServiceCode2
public boolean hasExt_basicServiceCode2()
Tests whether the field ext-basicServiceCode2 has a value.- Returns:
- whether the field ext-basicServiceCode2 has a value
-
hasForwardingDestinationNumber
public boolean hasForwardingDestinationNumber()
Tests whether the field forwardingDestinationNumber has a value.- Returns:
- whether the field forwardingDestinationNumber has a value
-
hasHighLayerCompatibility2
public boolean hasHighLayerCompatibility2()
Tests whether the field highLayerCompatibility2 has a value.- Returns:
- whether the field highLayerCompatibility2 has a value
-
hasIMEI
public boolean hasIMEI()
Tests whether the field iMEI has a value.- Returns:
- whether the field iMEI has a value
-
hasLowLayerCompatibility
public boolean hasLowLayerCompatibility()
Tests whether the field lowLayerCompatibility has a value.- Returns:
- whether the field lowLayerCompatibility has a value
-
hasLowLayerCompatibility2
public boolean hasLowLayerCompatibility2()
Tests whether the field lowLayerCompatibility2 has a value.- Returns:
- whether the field lowLayerCompatibility2 has a value
-
hasMs_Classmark2
public boolean hasMs_Classmark2()
Tests whether the field ms-Classmark2 has a value.- Returns:
- whether the field ms-Classmark2 has a value
-
hasOfferedCamel4Functionalities
public boolean hasOfferedCamel4Functionalities()
Tests whether the field offeredCamel4Functionalities has a value.- Returns:
- whether the field offeredCamel4Functionalities has a value
-
hasSupportedCamelPhases
public boolean hasSupportedCamelPhases()
Tests whether the field supportedCamelPhases has a value.- Returns:
- whether the field supportedCamelPhases has a value
-
hasUu_Data
public boolean hasUu_Data()
Tests whether the field uu-Data has a value.- Returns:
- whether the field uu-Data has a value
-
setBearerCapability2
public CAP4InitialDPArgExtension setBearerCapability2(CCBearerCapability value) throws IllegalStateException
Sets the value of the field bearerCapability2. If null, marks the field as absent.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setCollectInformationAllowedPresent
public CAP4InitialDPArgExtension setCollectInformationAllowedPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field collectInformationAllowed.- Parameters:
flag- either true if the field should be marked as present or false if the field should be marked as absent- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setEnhancedDialledServicesAllowedPresent
public CAP4InitialDPArgExtension setEnhancedDialledServicesAllowedPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field enhancedDialledServicesAllowed.- Parameters:
flag- either true if the field should be marked as present or false if the field should be marked as absent- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setExt_basicServiceCode2
public CAP4InitialDPArgExtension setExt_basicServiceCode2(MAPExt_BasicServiceCode value) throws IllegalStateException
Sets the value of the field ext-basicServiceCode2. If null, marks the field as absent.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setForwardingDestinationNumber
public CAP4InitialDPArgExtension setForwardingDestinationNumber(CalledPartyNumber value) throws IllegalStateException
Sets the value of the field forwardingDestinationNumber. If null, marks the field as absent.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setGmscAddress
public CAP4InitialDPArgExtension setGmscAddress(AddressString value) throws IllegalStateException
Sets the value of the field gmscAddress. If null, marks the field as absent.- Overrides:
setGmscAddressin classCAP2InitialDPArgExtension- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setHighLayerCompatibility2
public CAP4InitialDPArgExtension setHighLayerCompatibility2(HighLayerCompatibility value) throws IllegalStateException
Sets the value of the field highLayerCompatibility2. If null, marks the field as absent.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setIMEI
public CAP4InitialDPArgExtension setIMEI(IMEIAddress value) throws IllegalStateException
Sets the value of the field iMEI. If null, marks the field as absent.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setLowLayerCompatibility
public CAP4InitialDPArgExtension setLowLayerCompatibility(byte[] value) throws IllegalStateException
Sets the value of the field lowLayerCompatibility. If null, marks the field as absent.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setLowLayerCompatibility2
public CAP4InitialDPArgExtension setLowLayerCompatibility2(byte[] value) throws IllegalStateException
Sets the value of the field lowLayerCompatibility2. If null, marks the field as absent.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setMs_Classmark2
public CAP4InitialDPArgExtension setMs_Classmark2(byte[] value) throws IllegalStateException
Sets the value of the field ms-Classmark2. If null, marks the field as absent.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setOfferedCamel4Functionalities
public CAP4InitialDPArgExtension setOfferedCamel4Functionalities(MAPOfferedCamel4Functionalities value) throws IllegalStateException
Sets the value of the field offeredCamel4Functionalities. If null, marks the field as absent.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setReadOnly
public void setReadOnly()
Sets this and all its fields to be immutable.- Specified by:
setReadOnlyin interfaceDataObject- Overrides:
setReadOnlyin classCAP2InitialDPArgExtension
-
setSupportedCamelPhases
public CAP4InitialDPArgExtension setSupportedCamelPhases(MAPSupportedCamelPhases value) throws IllegalStateException
Sets the value of the field supportedCamelPhases. If null, marks the field as absent.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setUu_Data
public CAP4InitialDPArgExtension setUu_Data(MAPUU_Data value) throws IllegalStateException
Sets the value of the field uu-Data. If null, marks the field as absent.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
-