public ParticipantObjectIdentificationType addParticipantObjectIdentification ( CodedValueType objectIDTypeCode , String objectName , byte [ ] objectQuery , List < TypeValuePairType > objectDetail , String objectID , RFC3881ParticipantObjectTypeCodes objectTypeCode , RFC3881ParticipantObjectTypeRoleCodes objectTypeCodeRole , RFC3881ParticipantObjectDataLifeCycleCodes objectDataLifeCycle , String objectSensitivity ) { ParticipantObjectIdentificationType participantBlock = new ParticipantObjectIdentificationType ( ) ; participantBlock . setParticipantObjectIDTypeCode ( objectIDTypeCode ) ; participantBlock . setParticipantObjectName ( objectName ) ; participantBlock . setParticipantObjectQuery ( objectQuery ) ; if ( ! EventUtils . isEmptyOrNull ( objectDetail , true ) ) { participantBlock . getParticipantObjectDetail ( ) . addAll ( objectDetail ) ; } participantBlock . setParticipantObjectID ( objectID ) ; if ( ! EventUtils . isEmptyOrNull ( objectTypeCode ) ) { participantBlock . setParticipantObjectTypeCode ( objectTypeCode . getCode ( ) ) ; } if ( ! EventUtils . isEmptyOrNull ( objectTypeCodeRole ) ) { participantBlock . setParticipantObjectTypeCodeRole ( objectTypeCodeRole . getCode ( ) ) ; } if ( ! EventUtils . isEmptyOrNull ( objectDataLifeCycle ) ) { participantBlock . setParticipantObjectDataLifeCycle ( objectDataLifeCycle . getCode ( ) ) ; } participantBlock . setParticipantObjectSensitivity ( objectSensitivity ) ; getAuditMessage ( ) . getParticipantObjectIdentification ( ) . add ( participantBlock ) ; return participantBlock ; }
Create and add an Participant Object Identification block to this audit event message