Package com.opencloud.util
Class AbstractFieldsObject
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- All Implemented Interfaces:
DataObject,Serializable
- Direct Known Subclasses:
AbstractEncodedDataObject,ASN1Time,CAP1ExtensionField,CAP2AOCBeforeAnswer,CAP2AOCSubsequent,CAP2CAI_GSM0224,CAP2CAMEL_AChBillingChargingCharacteristics,CAP2CAMEL_AChBillingChargingCharacteristics.TimeDurationCharging,CAP2CAMEL_CallResult,CAP2CAMEL_CallResult.TimeDurationChargingResult,CAP2CAMEL_FCIBillingChargingCharacteristics,CAP2CAMEL_FCIBillingChargingCharacteristics.FCIBCCCAMELsequence1,CAP2CAMEL_SCIBillingChargingCharacteristics,CAP2DPSpecificCriteria,CAP2InitialDPArgExtension,CAP2NA_Info,CAP2NACarrierInformation,CAP2ReleaseIfDurationExceeded,CAP2ServiceInteractionIndicatorsTwo,CAP2TimeIfTariffSwitch,CAP2TimeInformation,CAP3AOCGPRS,CAP3ApplyChargingGPRSArg,CAP3ApplyChargingReportGPRSArg,CAP3BackwardServiceInteractionInd,CAP3CAMEL_FCIGPRSBillingChargingCharacteristics,CAP3CAMEL_FCIGPRSBillingChargingCharacteristics.FCIBCCCAMELsequence1,CAP3CAMEL_FCISMSBillingChargingCharacteristics,CAP3CAMEL_FCISMSBillingChargingCharacteristics.FCIBCCCAMELsequence1,CAP3CAMEL_SCIGPRSBillingChargingCharacteristics,CAP3CancelGPRSArg,CAP3CAP_GPRS_ReferenceNumber,CAP3ChargingCharacteristics,CAP3ChargingResult,CAP3ChargingRollOver,CAP3CompoundCriteria,CAP3ConnectGPRSArg,CAP3ConnectSMSArg,CAP3ContinueGPRSArg,CAP3ContinueWithArgumentArg,CAP3ElapsedTime,CAP3ElapsedTime.TimeGPRSIfTariffSwitch,CAP3ElapsedTimeRollOver,CAP3ElapsedTimeRollOver.RO_TimeGPRSIfTariffSwitch,CAP3EndUserAddress,CAP3EntityReleasedGPRSArg,CAP3EventReportGPRSArg,CAP3EventReportSMSArg,CAP3EventSpecificInformationSMS,CAP3EventSpecificInformationSMS.O_smsFailureSpecificInfo,CAP3EventSpecificInformationSMS.O_smsSubmittedSpecificInfo,CAP3ForwardServiceInteractionInd,CAP3GPRS_QoS,CAP3GPRSEvent,CAP3GPRSEventSpecificInformation,CAP3GPRSEventSpecificInformation.AttachChangeOfPositionSpecificInformation,CAP3GPRSEventSpecificInformation.DetachSpecificInformation,CAP3GPRSEventSpecificInformation.DisconnectSpecificInformation,CAP3GPRSEventSpecificInformation.Pdp_ContextchangeOfPositionSpecificInformation,CAP3GPRSEventSpecificInformation.PDPContextEstablishmentAcknowledgementSpecificInformation,CAP3GPRSEventSpecificInformation.PDPContextEstablishmentSpecificInformation,CAP3GPRSMSClass,CAP3InitialDPGPRSArg,CAP3InitialDPSMSArg,CAP3LocationInformationGPRS,CAP3QualityOfService,CAP3ReleaseGPRSArg,CAP3RequestReportGPRSEventArg,CAP3RequestReportSMSEventArg,CAP3ResetTimerGPRSArg,CAP3ResetTimerSMSArg,CAP3SendChargingInformationGPRSArg,CAP3SMSEvent,CAP3TransferredVolume,CAP3TransferredVolume.VolumeIfTariffSwitch,CAP3TransferredVolumeRollOver,CAP3TransferredVolumeRollOver.RO_VolumeIfTariffSwitch,CAP4AChChargingAddress,CAP4AudibleIndicator,CAP4BCSM_Failure,CAP4Burst,CAP4BurstList,CAP4CallSegmentFailure,CAP4CallSegmentToCancel,CAP4CAMEL_SCIBillingChargingCharacteristicsAlt,CAP4CAP_GPRS_ReferenceNumber,CAP4ChangeOfLocation,CAP4ChangeOfLocationAlt,CAP4CollectInformationArg,CAP4ContinueWithArgumentArgExtension,CAP4DisconnectForwardConnectionWithArgumentArg,CAP4DisconnectLegArg,CAP4DpSpecificCriteriaAlt,CAP4DpSpecificInfoAlt,CAP4DpSpecificInfoAlt.CollectedInfoSpecificInfo,CAP4DpSpecificInfoAlt.OServiceChangeSpecificInfo,CAP4DpSpecificInfoAlt.TServiceChangeSpecificInfo,CAP4EntityReleasedArg,CAP4EventSpecificInformationBCSM.CallAcceptedSpecificInfo,CAP4EventSpecificInformationBCSM.OAbandonSpecificInfo,CAP4EventSpecificInformationBCSM.OChangeOfPositionSpecificInfo,CAP4EventSpecificInformationBCSM.OMidCallSpecificInfo.MidCallEvents,CAP4EventSpecificInformationBCSM.OTermSeizedSpecificInfo,CAP4EventSpecificInformationBCSM.TChangeOfPositionSpecificInfo,CAP4EventSpecificInformationBCSM.TMidCallSpecificInfo.MidCallEvents,CAP4EventSpecificInformationSMS.O_smsSubmissionSpecificInfo,CAP4EventSpecificInformationSMS.T_smsDeliverySpecificInfo,CAP4EventSpecificInformationSMS.T_smsFailureSpecificInfo,CAP4InitiateCallAttemptArg,CAP4InitiateCallAttemptRes,CAP4LegOrCallSegment,CAP4MetDPCriterion,CAP4MetDPCriterionAlt,CAP4MidCallControlInfo,CAP4MoveLegArg,CAP4PlayToneArg,CAP4SplitLegArg,CCApplyChargingArg,CCAssistRequestInstructionsArg,CCBasicGapCriteria,CCBasicGapCriteria.CalledAddressAndService,CCBasicGapCriteria.CallingAddressAndService,CCBCSMEvent,CCBearerCapability,CCCallGapArg,CCCallInformationReportArg,CCCallInformationRequestArg,CCCancelArg,CCCancelFailedArg,CCCollectedDigits,CCCollectedInfo,CCConnectArg,CCConnectToResourceArg,CCConnectToResourceArg.ResourceAddress,CCEstablishTemporaryConnectionArg,CCEventReportBCSMArg,CCEventSpecificInformationBCSM,CCEventSpecificInformationBCSM.AnalyzedInfoSpecificInfo,CCEventSpecificInformationBCSM.CollectedInfoSpecificInfo,CCEventSpecificInformationBCSM.OAnswerSpecificInfo,CCEventSpecificInformationBCSM.OCalledPartyBusySpecificInfo,CCEventSpecificInformationBCSM.ODisconnectSpecificInfo,CCEventSpecificInformationBCSM.OMidCallSpecificInfo,CCEventSpecificInformationBCSM.ONoAnswerSpecificInfo,CCEventSpecificInformationBCSM.RouteSelectFailureSpecificInfo,CCEventSpecificInformationBCSM.TAnswerSpecificInfo,CCEventSpecificInformationBCSM.TCalledPartyBusySpecificInfo,CCEventSpecificInformationBCSM.TDisconnectSpecificInfo,CCEventSpecificInformationBCSM.TMidCallSpecificInfo,CCEventSpecificInformationBCSM.TNoAnswerSpecificInfo,CCFurnishChargingInformationArg,CCGapCriteria,CCGapIndicators,CCGapOnService,CCGapTreatment,CCInbandInfo,CCInformationToSend,CCInitialDPArg,CCLegID,CCMessageID,CCMessageID.Text,CCMessageID.VariableMessage,CCMiscCallInfo,CCPlayAnnouncementArg,CCPromptAndCollectUserInformationArg,CCReceivedInformationArg,CCReleaseCallArg,CCRequestedInformation,CCRequestedInformationValue,CCRequestReportBCSMEventArg,CCResetTimerArg,CCSendChargingInformationArg,CCSpecializedResourceReportArg,CCTone,CCVariablePart,CS1ActivateServiceFilteringArg,CS1ChargingEvent,CS1CollectInformationArg,CS1CounterAndValue,CS1DPSpecificCriteria,CS1EventNotificationChargingArg,CS1ExtensionField,CS1FilteredCallTreatment,CS1FilteringCharacteristics,CS1FilteringCriteria,CS1FilteringCriteria.AddressAndService,CS1FilteringTimeOut,CS1GapTreatment.Both,CS1InitiateCallAttemptArg,CS1ServiceFilteringResponseArg,ExtendibleOctetString,MAPAbsentSubscriberParSeq,MAPAbsentSubscriberSM_Param,MAPAccessNetworkSignalInfo,MAPActivateTraceModeArg,MAPActivateTraceModeRes,MAPADD_Info,MAPAdditional_Number,MAPAlertServiceCentreArg,MAPAllocation_Retention_Priority,MAPAllowedUMTS_Algorithms,MAPAMBR,MAPAnyTimeInterrogationArg,MAPAnyTimeInterrogationRes,MAPAnyTimeModificationArg,MAPAnyTimeModificationRes,MAPAnyTimeSubscriptionInterrogationArg,MAPAnyTimeSubscriptionInterrogationRes,MAPAoIPCodecsList,MAPAPN_Configuration,MAPAPN_ConfigurationProfile,MAPArea,MAPAreaDefinition,MAPAreaEventInfo,MAPATI_NotAllowedParam,MAPATM_NotAllowedParam,MAPATSI_NotAllowedParam,MAPAuthenticationFailureReportArg,MAPAuthenticationFailureReportRes,MAPAuthenticationQuintuplet,MAPAuthenticationSet,MAPBasicServiceCode,MAPBearerServNotProvParam,MAPBeginSubscriberActivityArg,MAPBSSMAP_ServiceHandoverInfo,MAPBusySubscriberParam,MAPCallBarredParam,MAPCallBarringData,MAPCallBarringFeature,MAPCallBarringInfo,MAPCallForwardingData,MAPCallHoldData,MAPCallReportData,MAPCallWaitingData,MAPCAMEL_SubscriptionInfo,MAPCamelInfo,MAPCamelRoutingInfo,MAPCancelLocation_v1ArgSeq,MAPCancelLocationRes,MAPCCBS_Data,MAPCCBS_Feature,MAPCCBS_Indicators,MAPCellGlobalIdOrServiceAreaIdOrLAI,MAPCheckIMEI_v1ArgSeq,MAPCheckIMEIResSeq,MAPChosenRadioResourceInformation,MAPClipData,MAPClirData,MAPCodecList,MAPCSG_SubscriptionData,MAPCUG_CheckInfo,MAPCUG_Feature,MAPCUG_Feature_v1,MAPCUG_Info,MAPCUG_Information,MAPCUG_Information.Cug_Features,MAPCug_RejectParSeq,MAPCUG_Subscription,MAPCurrentSecurityContext,MAPD_CSI,MAPDataMissingParam,MAPDeactivateTraceModeArg,MAPDeactivateTraceModeRes,MAPDeferredmt_lrData,MAPDeleteSubscriberDataArg,MAPDeleteSubscriberDataRes,MAPDestinationNumberCriteria,MAPDP_AnalysedInfoCriterium,MAPEctData,MAPEMLPP_Info,MAPEPC_AV,MAPEPS_Info,MAPEPS_QoS_Subscribed,MAPEPS_SubscriptionData,MAPEPS_SubscriptionDataWithdraw,MAPEraseCC_EntryArg,MAPEraseCC_EntryRes,MAPEventReportData,MAPExt_CallBarringInfoFor_CSE,MAPExt_ExternalSignalInfo,MAPExt_ForwardingInfoFor_CSE,MAPExt_SS_InfoFor_CSE,MAPExtendedRoutingInfo,MAPExtensibleCallBarredParam,MAPExtensibleSystemFailureParam,MAPExtensionContainer,MAPExternalClient,MAPExternalSignalInfo,MAPFacilityNotSupParam,MAPFailureReportArg,MAPFailureReportRes,MAPForwardAccessSignalling_Arg,MAPForwardGroupCallSignallingArg,MAPForwardingData,MAPForwardingFailedParam,MAPForwardingFeature,MAPForwardingInfo,MAPForwardingViolationParam,MAPGenericServiceInfo,MAPGmscCamelSubscriptionInfo,MAPGPRS_CamelTDPData,MAPGPRS_CSI,MAPGPRSMSClass,MAPGPRSSubscriptionData,MAPGPRSSubscriptionDataWithdraw,MAPGSM_SecurityContextData,MAPIdentity,MAPIllegalEquipmentParam,MAPIllegalSS_OperationParam,MAPIllegalSubscriberParam,MAPIMSI_WithLMSI,MAPIncompatibleTerminalParam,MAPInformationNotAvailableParam,MAPInformServiceCentreArg,MAPInsertSubscriberDataArg_v1,MAPInsertSubscriberDataRes,MAPInterrogateSSRes_v1,MAPIP_SM_GW_Guidance,MAPIST_AlertArg,MAPIST_AlertRes,MAPIST_CommandArg,MAPIST_CommandRes,MAPLCS_ClientID,MAPLCS_PrivacyCheck,MAPLCS_PrivacyClass,MAPLCS_QoS,MAPLCSClientExternalID,MAPLCSClientName,MAPLCSCodeword,MAPLCSInformation,MAPLCSLocationInfo,MAPLCSRequestorID,MAPLocationArea,MAPLocationInfo,MAPLocationInformation,MAPLocationInformationEPS,MAPLocationInformationGPRS,MAPLocationInfoWithLMSI,MAPLocationOrForwarding,MAPLocationType,MAPLongTermDenialParam,MAPLSAData,MAPLSAInformation,MAPLSAInformationWithdraw,MAPM_CSI,MAPMAP_AcceptInfo,MAPMAP_CloseInfo,MAPMAP_DialoguePDU,MAPMAP_OpenInfo,MAPMAP_ProviderAbortInfo,MAPMAP_RefuseInfo,MAPMAP_UserAbortChoice,MAPMAP_UserAbortInfo,MAPMC_SS_Info,MAPMessageWaitListFullParam,MAPMG_CSI,MAPMM_EventNotSupported_Param,MAPMNPInfoRes,MAPMO_ForwardSM_Arg,MAPMO_ForwardSM_Res,MAPModificationRequestFor_CB_Info,MAPModificationRequestFor_CF_Info,MAPModificationRequestFor_CH_Info,MAPModificationRequestFor_CLIP_Info,MAPModificationRequestFor_CLIR_Info,MAPModificationRequestFor_CSG,MAPModificationRequestFor_CSI,MAPModificationRequestFor_CW_Info,MAPModificationRequestFor_ECT_Info,MAPModificationRequestFor_IP_SM_GW_Data,MAPModificationRequestFor_ODB_data,MAPMOLR_Class,MAPMSISDN_BS,MAPMT_ForwardSM_Arg,MAPMT_ForwardSM_Res,MAPMT_ForwardSM_VGCS_Arg,MAPMT_ForwardSM_VGCS_Res,MAPMT_smsCAMELTDP_Criteria,MAPNAEA_PreferredCI,MAPNoGroupCallNbParam,MAPNoRoamingNbParam,MAPNoSubscriberReplyParam,MAPNoteInternalHandoverArg,MAPNoteMM_EventArg,MAPNoteMM_EventRes,MAPNoteMsPresentForGprsArg,MAPNoteMsPresentForGprsRes,MAPNoteSubscriberDataModifiedArg,MAPNoteSubscriberDataModifiedRes,MAPNumberChangedParam,MAPO_BcsmCamelTDP_Criteria,MAPO_BcsmCamelTDPData,MAPO_CSI,MAPODB_Data,MAPODB_Info,MAPOngoingGroupCallParam,MAPOR_NotAllowedParam,MAPPCS_Extensions,MAPPDN_GW_Identity,MAPPDN_GW_Update,MAPPDP_Context,MAPPDP_ContextInfo,MAPPerformHandoverArg,MAPPerformHandoverRes,MAPPerformSubsequentHandoverArg,MAPPeriodicLDRInfo,MAPPositionMethodFailure_Param,MAPPrepareGroupCallArg,MAPPrepareGroupCallRes,MAPPrepareHO_Arg,MAPPrepareHO_Res,MAPPrepareSubsequentHO_Arg,MAPPrepareSubsequentHO_Res,MAPPrivateExtension,MAPProcessAccessSignalling_Arg,MAPProcessGroupCallSignallingArg,MAPProvideRoamingNumberArg,MAPProvideRoamingNumberResSeq,MAPProvideSIWFSNumberArg,MAPProvideSIWFSNumberRes,MAPProvideSubscriberInfoArg,MAPProvideSubscriberInfoRes,MAPProvideSubscriberLocation_Arg,MAPProvideSubscriberLocation_Res,MAPPS_SubscriberState,MAPPurgeMS_Arg_v2,MAPPurgeMS_Res,MAPRadioResource,MAPRe_synchronisationInfo,MAPReadyForSM_Arg,MAPReadyForSM_Res,MAPRegisterCC_EntryArg,MAPRegisterCC_EntryRes,MAPRegisterSS_Arg,MAPReleaseResourcesArg,MAPReleaseResourcesRes,MAPRelocationNumber,MAPRemoteUserFreeArg,MAPRemoteUserFreeRes,MAPReportingPLMN,MAPReportingPLMNList,MAPReportSM_DeliveryStatusArg_v1,MAPReportSM_DeliveryStatusResSeq,MAPRequestedInfo,MAPRequestedSubscriptionInfo,MAPResetArg,MAPResourceLimitationParam,MAPResponseTime,MAPRestoreDataArg,MAPRestoreDataRes,MAPResumeCallHandlingArg,MAPResumeCallHandlingRes,MAPRoamingNotAllowedParSeq,MAPRoutingInfoForLCS_Arg,MAPRoutingInfoForLCS_Res,MAPSelectedUMTS_Algorithms,MAPSendAuthenticationInfoArgSeq,MAPSendAuthenticationInfoRes,MAPSendAuthenticationInfoResSeq,MAPSendEndSignal_Arg,MAPSendEndSignal_Res,MAPSendGroupCallEndSignalArg,MAPSendGroupCallEndSignalRes,MAPSendGroupCallInfoArg,MAPSendGroupCallInfoRes,MAPSendIdentificationArgSeq,MAPSendIdentificationRes,MAPSendParametersArg,MAPSendRoutingInfoArg,MAPSendRoutingInfoForGprsArg,MAPSendRoutingInfoForGprsRes,MAPSendRoutingInfoForSMArg,MAPSendRoutingInfoForSMRes,MAPSendRoutingInfoRes,MAPSendRoutingInformationArg,MAPSendRoutingInformationRes,MAPSendRoutingInformationRes.RoutingInfo,MAPSentParameter,MAPServiceType,MAPServingNodeAddress,MAPSetReportingStateArg,MAPSetReportingStateRes,MAPSGSN_CAMEL_SubscriptionInfo,MAPSGSN_Capability,MAPShortTermDenialParam,MAPSIWFSSignallingModifyArg,MAPSIWFSSignallingModifyRes,MAPSLR_Arg_PCS_Extensions,MAPSLR_ArgExtensionContainer,MAPSM_DeliveryFailureCause,MAPSM_DeliveryFailureCauseWithDiagnostic,MAPSM_RP_DA_v1,MAPSM_RP_OA,MAPSMS_CAMEL_TDP_Data,MAPSMS_CSI,MAPSpecificAPNInfo,MAPSS_CamelData,MAPSS_CSI,MAPSS_Data_v1,MAPSS_ForBS_Code,MAPSS_IncompatibilityCause,MAPSS_Information,MAPSS_InvocationNotificationArg,MAPSS_InvocationNotificationRes,MAPSS_NotAvailableParam,MAPSS_SubscriptionOption_v1,MAPStateAttributes,MAPStatusReportArg,MAPStatusReportRes,MAPSubBusyForMT_SMS_Param,MAPSubscriberData,MAPSubscriberId,MAPSubscriberIdentity,MAPSubscriberInfo,MAPSubscriberLocationReport_Arg,MAPSubscriberLocationReport_Res,MAPSubscriberState,MAPSuperChargerInfo,MAPSupportedCodecsList,MAPSystemFailureParam,MAPT_BCSM_CAMEL_TDP_Criteria,MAPT_BcsmCamelTDPData,MAPT_CSI,MAPTargetCellOutsideGCA_Param,MAPTeleservNotProvParam,MAPTraceDepthList,MAPTraceEventList,MAPTraceInterfaceList,MAPTracePropagationList,MAPTraceSubscriberActivityArg,MAPTracingBufferFullParam,MAPUESBI_Iu,MAPUMTS_SecurityContextData,MAPUnauthorizedLCSClient_Param,MAPUnauthorizedRequestingNetwork_Param,MAPUnexpectedDataParam,MAPUnidentifiedSubParam,MAPUnknownOrUnreachableLCSClient_Param,MAPUnknownSubscriberParam,MAPUpdateGprsLocationArg,MAPUpdateGprsLocationRes,MAPUpdateLocation_v1ResSeq,MAPUpdateLocationArg,MAPUserCSGInformation,MAPUSSD_Arg,MAPUSSD_Res,MAPUU_Data,MAPVLR_Capability,MAPVlrCamelSubscriptionInfo,MAPVoiceBroadcastData,MAPVoiceGroupCallData,OpenId
public abstract class AbstractFieldsObject extends AbstractDataObject
An AbstractFieldsObject is an AbstractDataObject for whichequals(),hashCode()andtoString()are defined in terms of fields' names and values.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ObjectFIELD_ABSENTUnique non-null value to represent the absence of an optional field in Maps.static ObjectFIELD_UNINITIALISEDUnique non-null value to represent an uninitialized mandatory field in Maps.
-
Constructor Summary
Constructors Constructor Description AbstractFieldsObject()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Compares some other Object to this one for equality by value (not reference).abstract Map<String,Object>getFieldsMap(boolean withAbsents)Gets a Map from field-name to field-value for all fields defined by the concrete subclass of AbstractFieldsObject in use.inthashCode()Returns a hash code value for this object.StringtoString()Stringize this AbstractFieldsObject to ASN.1 value notation.-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, clone, isReadOnly, setReadOnly
-
-
-
-
Method Detail
-
getFieldsMap
public abstract Map<String,Object> getFieldsMap(boolean withAbsents)
Gets a Map from field-name to field-value for all fields defined by the concrete subclass of AbstractFieldsObject in use. A CHOICE should be distinguished from a SEQUENCE by the sole name/value pair having the character:prefixed on its name.For a field of primitive type, the field-value should be boxed.
If
withAbsents==true, then absent optional fields should also be included with a field-value ofFIELD_ABSENT. Otherwise, absent fields should be omitted from the map entirely.Uninitialised mandatory fields should be included with a field-value of
FIELD_UNINITIALISED. This includes an uninitialised choice.- Parameters:
withAbsents- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
toString
public String toString()
Stringize this AbstractFieldsObject to ASN.1 value notation. If a SEQUENCE, then a list of comma-separated name/value pairs, surrounded by curly braces:{ field1Name field1Value, field2Name field2Value, ...., fieldNName fieldNValue }If a CHOICE, then a labelled value:label : value.
Field values are stringized in a form that depends on their type:
- for byte[]:
'C0FFEE'H(ASN.1 OCTET STRING hstring syntax) - for other arrays:
{ a, b, c, d }(ASN.1 SEQUENCE OF syntax) - for all other types: their toString() representation
Absent optional fields are not included in the stringized form.
Uninitialised mandatory fields are shown as "-- UNINITIALISED --". This includes an uninitialised choice.
- for byte[]:
-
equals
public boolean equals(Object obj)
Compares some other Object to this one for equality by value (not reference). The objects are considered equal iff they have the same field-values, regardless of whether the objects are of the same ASN.1 type.
-
-