mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/observation/ObservationMgrImpl.java
private ObservationSubTypeEnum determineDigitalMediaSubType(final Observation observation)
    {
        if (observation.isSetAudioMetadata())
        {
            return ObservationSubTypeEnum.AUDIO_METADATA;
        }
        else if (observation.isSetImageMetadata())
        {
            return ObservationSubTypeEnum.IMAGE_METADATA;
        }
        else if (observation.isSetVideoMetadata())
        {
            return ObservationSubTypeEnum.VIDEO_METADATA;
        }
        else if (observation.isSetChannelMetadata())
        {
            return ObservationSubTypeEnum.CHANNEL_METADATA;
        }
        return ObservationSubTypeEnum.NONE;
    }
/**
     * Method used to determine the sub type of a digital media observation.
     * 
     * @param observation
     *      Observation to determine the digital media sub type of.
     * @return
     *      The observation sub type of the digital media observation.
     */
Method used to determine the sub type of a digital media observation.

@param observation
Observation to determine the digital media sub type of.
@return
The observation sub type of the digital media observation.
Method used to determine the sub type of a digital media observation . @param observation Observation to determine the digital media sub type of . @return The observation sub type of the digital media observation .
private ObservationSubTypeEnum determineDigitalMediaSubType(final Observation observation)
    {
        if (observation.isSetAudioMetadata())
        {
            return ObservationSubTypeEnum.AUDIO_METADATA;
        }
        else if (observation.isSetImageMetadata())
        {
            return ObservationSubTypeEnum.IMAGE_METADATA;
        }
        else if (observation.isSetVideoMetadata())
        {
            return ObservationSubTypeEnum.VIDEO_METADATA;
        }
        else if (observation.isSetChannelMetadata())
        {
            return ObservationSubTypeEnum.CHANNEL_METADATA;
        }
        return ObservationSubTypeEnum.NONE;
    }
private ObservationSubTypeEnum determineDigitalMediaSubType ( final Observation observation ) { if ( observation . isSetAudioMetadata ( ) ) { return ObservationSubTypeEnum . AUDIO_METADATA ; } else if ( observation . isSetImageMetadata ( ) ) { return ObservationSubTypeEnum . IMAGE_METADATA ; } else if ( observation . isSetVideoMetadata ( ) ) { return ObservationSubTypeEnum . VIDEO_METADATA ; } else if ( observation . isSetChannelMetadata ( ) ) { return ObservationSubTypeEnum . CHANNEL_METADATA ; } return ObservationSubTypeEnum . NONE ; }
Method used to determine the sub type of a digital media observation.
Method used to determine the sub type of a digital media observation .