private static ActiveParticipant toActiveParticipant(ActiveParticipantBuilder activeParticipantBuilder) { ActiveParticipant ap = new ActiveParticipant(); ap.setUserID(activeParticipantBuilder.userID); ap.setUserIDTypeCode(activeParticipantBuilder.userIDTypeCode); ap.setUserTypeCode(activeParticipantBuilder.userTypeCode); ap.setAlternativeUserID(activeParticipantBuilder.altUserID); ap.setUserName(activeParticipantBuilder.userName); ap.setUserIsRequestor(activeParticipantBuilder.requester); ap.setNetworkAccessPointID(activeParticipantBuilder.napID); ap.setNetworkAccessPointTypeCode(activeParticipantBuilder.napTypeCode); ap.setMediaType(activeParticipantBuilder.mediaType); for (RoleIDCode roleID : activeParticipantBuilder.roleIDCode) ap.getRoleIDCode().add(roleID); return ap; }
private static ActiveParticipant toActiveParticipant(ActiveParticipantBuilder activeParticipantBuilder) { ActiveParticipant ap = new ActiveParticipant(); ap.setUserID(activeParticipantBuilder.userID); ap.setUserIDTypeCode(activeParticipantBuilder.userIDTypeCode); ap.setUserTypeCode(activeParticipantBuilder.userTypeCode); ap.setAlternativeUserID(activeParticipantBuilder.altUserID); ap.setUserName(activeParticipantBuilder.userName); ap.setUserIsRequestor(activeParticipantBuilder.requester); ap.setNetworkAccessPointID(activeParticipantBuilder.napID); ap.setNetworkAccessPointTypeCode(activeParticipantBuilder.napTypeCode); ap.setMediaType(activeParticipantBuilder.mediaType); for (RoleIDCode roleID : activeParticipantBuilder.roleIDCode) ap.getRoleIDCode().add(roleID); return ap; }