mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/observation/ObservationMgrImpl.java
private GuiObservation compileSingleGuiObservation(final Observation observation)
    {
        final List<RelatedObservationIdentity> types = new ArrayList<>();
        for (ObservationRef obsRef : observation.getRelatedObservations())
        {
            final Observation referencedObs = m_ObservationStore.find(obsRef.getUuid());
            
            if (referencedObs != null)
            {
                types.add(new RelatedObservationIdentity(true, determineObservationSubType(referencedObs)));
            }
            else
            {
                types.add(new RelatedObservationIdentity(false, null));
                
                Logging.log(LogService.LOG_ERROR, "Could not find related observation with uuid %s " 
                        + "for observation with uuid %s. ", obsRef.getUuid(), observation.getUuid());
            }
        }
        
        return new GuiObservation(observation, types);
    }
/**
     * Method that accepts an observation and compiles it as a gui displayable observation.
     * 
     * @param observation
     *  the observation to be converted.
     * @return
     *  the converted observation.
     */
Method that accepts an observation and compiles it as a gui displayable observation.

@param observation
the observation to be converted.
@return
the converted observation.
Method that accepts an observation and compiles it as a gui displayable observation . @param observation the observation to be converted . @return the converted observation .
private GuiObservation compileSingleGuiObservation(final Observation observation)
    {
        final List<RelatedObservationIdentity> types = new ArrayList<>();
        for (ObservationRef obsRef : observation.getRelatedObservations())
        {
            final Observation referencedObs = m_ObservationStore.find(obsRef.getUuid());
            if (referencedObs != null)
            {
                types.add(new RelatedObservationIdentity(true, determineObservationSubType(referencedObs)));
            }
            else
            {
                types.add(new RelatedObservationIdentity(false, null));
                Logging.log(LogService.LOG_ERROR, "Could not find related observation with uuid %s " 
                        + "for observation with uuid %s. ", obsRef.getUuid(), observation.getUuid());
            }
        }
        return new GuiObservation(observation, types);
    }
private GuiObservation compileSingleGuiObservation ( final Observation observation ) { final List < RelatedObservationIdentity > types = new ArrayList < > ( ) ; for ( ObservationRef obsRef : observation . getRelatedObservations ( ) ) { final Observation referencedObs = m_ObservationStore . find ( obsRef . getUuid ( ) ) ; if ( referencedObs != null ) { types . add ( new RelatedObservationIdentity ( true , determineObservationSubType ( referencedObs ) ) ) ; } else { types . add ( new RelatedObservationIdentity ( false , null ) ) ; Logging . log ( LogService . LOG_ERROR , "Could not find related observation with uuid %s " + "for observation with uuid %s. " , obsRef . getUuid ( ) , observation . getUuid ( ) ) ; } } return new GuiObservation ( observation , types ) ; }
Method that accepts an observation and compiles it as a gui displayable observation.
Method that accepts an observation and compiles it as a gui displayable observation .