mil.dod.th.ose.core/src/mil/dod/th/ose/core/factory/api/data/BaseFactoryObjectDataManager.java
protected FactoryObjectData tryGetMessage(final UUID uuid) throws FactoryObjectInformationException
    {
        final PersistentData factData = m_PersistentDataStore.find(uuid);
        if (factData != null)
        {
            final byte[] byteData = (byte[])factData.getEntity();
            try
            {
                return FactoryObjectData.parseFrom(byteData, getRegistry());
            }
            catch (final IOException e)
            {
                throw new FactoryObjectInformationException(
                        String.format("Factory information for a %s with UUID [%s] was not parseable.", 
                                getServiceObjectType().getSimpleName(), uuid), e);
            }
        }
        return null;
    }
/**
     * Get the factory object information message from a persistent entity.
     * The message is parsed with the applicable extension registry.
     * @param uuid
     *     the UUID of entity
     * @return 
     *     the factory object information message, will return null if there is not a message associated with the
     *     presented UUID
     * @throws FactoryObjectInformationException
     *     if an error occurs that prevents the message from being parsed
     */
Get the factory object information message from a persistent entity.
The message is parsed with the applicable extension registry.
@param uuid
the UUID of entity
@return
the factory object information message, will return null if there is not a message associated with the
presented UUID
@throws FactoryObjectInformationException
if an error occurs that prevents the message from being parsed
Get the factory object information message from a persistent entity . The message is parsed with the applicable extension registry . @param uuid the UUID of entity @return the factory object information message will return null if there is not a message associated with the presented UUID @throws FactoryObjectInformationException if an error occurs that prevents the message from being parsed
protected FactoryObjectData tryGetMessage(final UUID uuid) throws FactoryObjectInformationException
    {
        final PersistentData factData = m_PersistentDataStore.find(uuid);
        if (factData != null)
        {
            final byte[] byteData = (byte[])factData.getEntity();
            try
            {
                return FactoryObjectData.parseFrom(byteData, getRegistry());
            }
            catch (final IOException e)
            {
                throw new FactoryObjectInformationException(
                        String.format("Factory information for a %s with UUID [%s] was not parseable.", 
                                getServiceObjectType().getSimpleName(), uuid), e);
            }
        }
        return null;
    }
protected FactoryObjectData tryGetMessage ( final UUID uuid ) throws FactoryObjectInformationException { final PersistentData factData = m_PersistentDataStore . find ( uuid ) ; if ( factData != null ) { final byte [ ] byteData = ( byte [ ] ) factData . getEntity ( ) ; try { return FactoryObjectData . parseFrom ( byteData , getRegistry ( ) ) ; } catch ( final IOException e ) { throw new FactoryObjectInformationException ( String . format ( "Factory information for a %s with UUID [%s] was not parseable." , getServiceObjectType ( ) . getSimpleName ( ) , uuid ) , e ) ; } } return null ; }
Get the factory object information message from a persistent entity.
Get the factory object information message from a persistent entity .