private static ParticipantObjectIdentification toParticipantObjectIdentification( ParticipantObjectIdentificationBuilder participantObjectIdentificationBuilder) { ParticipantObjectIdentification poi = new ParticipantObjectIdentification(); poi.setParticipantObjectID(participantObjectIdentificationBuilder.id); poi.setParticipantObjectIDTypeCode(participantObjectIdentificationBuilder.idType); poi.setParticipantObjectName(participantObjectIdentificationBuilder.name); poi.setParticipantObjectQuery(participantObjectIdentificationBuilder.query); poi.setParticipantObjectTypeCode(participantObjectIdentificationBuilder.type); poi.setParticipantObjectTypeCodeRole(participantObjectIdentificationBuilder.role); poi.setParticipantObjectDataLifeCycle(participantObjectIdentificationBuilder.lifeCycle); poi.setParticipantObjectSensitivity(participantObjectIdentificationBuilder.sensitivity); if (participantObjectIdentificationBuilder.desc != null) poi.setParticipantObjectDescription(toParticipantObjectDescription(participantObjectIdentificationBuilder.desc)); for (ParticipantObjectDetail participantObjectDetail : participantObjectIdentificationBuilder.detail) poi.getParticipantObjectDetail().add(participantObjectDetail); return poi; }
private static ParticipantObjectIdentification toParticipantObjectIdentification( ParticipantObjectIdentificationBuilder participantObjectIdentificationBuilder) { ParticipantObjectIdentification poi = new ParticipantObjectIdentification(); poi.setParticipantObjectID(participantObjectIdentificationBuilder.id); poi.setParticipantObjectIDTypeCode(participantObjectIdentificationBuilder.idType); poi.setParticipantObjectName(participantObjectIdentificationBuilder.name); poi.setParticipantObjectQuery(participantObjectIdentificationBuilder.query); poi.setParticipantObjectTypeCode(participantObjectIdentificationBuilder.type); poi.setParticipantObjectTypeCodeRole(participantObjectIdentificationBuilder.role); poi.setParticipantObjectDataLifeCycle(participantObjectIdentificationBuilder.lifeCycle); poi.setParticipantObjectSensitivity(participantObjectIdentificationBuilder.sensitivity); if (participantObjectIdentificationBuilder.desc != null) poi.setParticipantObjectDescription(toParticipantObjectDescription(participantObjectIdentificationBuilder.desc)); for (ParticipantObjectDetail participantObjectDetail : participantObjectIdentificationBuilder.detail) poi.getParticipantObjectDetail().add(participantObjectDetail); return poi; }