Boolean isRecording = importBooleanType(unformatString(flvObject.element("isRecording").getText()));
Date recordEnd = CalendarPatterns.parseDateWithHour(unformatString(flvObject.element("recordEnd").getText()));
Date recordStart = CalendarPatterns.parseDateWithHour(unformatString(flvObject.element("recordStart").getText()));
FlvRecording flvRecording = new FlvRecording();
flvRecording.setAlternateDownload(alternateDownload);
flvRecording.setComment(comment);
flvRecording.setFileHash(fileHash);
flvRecording.setFileName(fileName);
flvRecording.setPreviewImage(previewImage);
flvRecording.setRecorderStreamId(recorderStreamId);
flvRecording.setFileSize(fileSize);
flvRecording.setFlvHeight(flvHeight);
flvRecording.setFlvWidth(flvWidth);
flvRecording.setHeight(height);
flvRecording.setWidth(width);
flvRecording.setInsertedBy(insertedBy);
flvRecording.setOrganization_id(organization_id);
flvRecording.setOwnerId(ownerId);
flvRecording.setParentFileExplorerItemId(parentFileExplorerItemId);
flvRecording.setProgressPostProcessing(progressPostProcessing);
flvRecording.setRoom_id(room_id);
flvRecording.setInserted(inserted);
flvRecording.setIsFolder(isFolder);
flvRecording.setIsImage(isImage);
flvRecording.setIsInterview(isInterview);
flvRecording.setIsPresentation(isPresentation);
flvRecording.setIsRecording(isRecording);
flvRecording.setRecordEnd(recordEnd);
flvRecording.setRecordStart(recordStart);
flvRecording.setDeleted(deleted);
flvRecording.setFlvRecordingMetaData(new LinkedList<FlvRecordingMetaData>());
Element flvrecordingmetadatas = flvObject.element("flvrecordingmetadatas");
for (Iterator<Element> innerIterMetas = flvrecordingmetadatas.elementIterator( "flvrecordingmetadata" ); innerIterMetas.hasNext(); ) {
Element flvrecordingmetadataObj = innerIterMetas.next();
String freeTextUserName = unformatString(flvrecordingmetadataObj.element("freeTextUserName").getText());
String fullWavAudioData = unformatString(flvrecordingmetadataObj.element("fullWavAudioData").getText());
String streamName = unformatString(flvrecordingmetadataObj.element("streamName").getText());
String wavAudioData = unformatString(flvrecordingmetadataObj.element("wavAudioData").getText());
Integer initialGapSeconds = importIntegerType(unformatString(flvrecordingmetadataObj.element("initialGapSeconds").getText()));
Long insertedBy1 = importLongType(unformatString(flvrecordingmetadataObj.element("insertedBy").getText()));
Integer interiewPodId = importIntegerType(unformatString(flvrecordingmetadataObj.element("interiewPodId").getText()));
Boolean audioIsValid = importBooleanType(unformatString(flvrecordingmetadataObj.element("audioIsValid").getText()));
Date inserted1 = CalendarPatterns.parseDateWithHour(unformatString(flvrecordingmetadataObj.element("inserted").getText()));
Boolean isAudioOnly = importBooleanType(unformatString(flvrecordingmetadataObj.element("isAudioOnly").getText()));
Boolean isScreenData = importBooleanType(unformatString(flvrecordingmetadataObj.element("isScreenData").getText()));
Boolean isVideoOnly = importBooleanType(unformatString(flvrecordingmetadataObj.element("isVideoOnly").getText()));
Date recordEnd1 = CalendarPatterns.parseDateWithHour(unformatString(flvrecordingmetadataObj.element("recordEnd").getText()));
Date recordStart1 = CalendarPatterns.parseDateWithHour(unformatString(flvrecordingmetadataObj.element("recordStart").getText()));
Date updated = CalendarPatterns.parseDateWithHour(unformatString(flvrecordingmetadataObj.element("updated").getText()));
FlvRecordingMetaData flvrecordingmetadata = new FlvRecordingMetaData();
flvrecordingmetadata.setFreeTextUserName(freeTextUserName);
flvrecordingmetadata.setFullWavAudioData(fullWavAudioData);
flvrecordingmetadata.setStreamName(streamName);
flvrecordingmetadata.setWavAudioData(wavAudioData);
flvrecordingmetadata.setInitialGapSeconds(initialGapSeconds);
flvrecordingmetadata.setInsertedBy(insertedBy1);
flvrecordingmetadata.setInteriewPodId(interiewPodId);
flvrecordingmetadata.setAudioIsValid(audioIsValid);
flvrecordingmetadata.setInserted(inserted1);
flvrecordingmetadata.setIsAudioOnly(isAudioOnly);
flvrecordingmetadata.setIsScreenData(isScreenData);
flvrecordingmetadata.setIsVideoOnly(isVideoOnly);
flvrecordingmetadata.setRecordEnd(recordEnd1);
flvrecordingmetadata.setRecordStart(recordStart1);
flvrecordingmetadata.setUpdated(updated);
flvrecordingmetadata.setDeleted("false");
flvRecording.getFlvRecordingMetaData().add(flvrecordingmetadata);
}
flvList.add(flvRecording);