mil.dod.th.ose.core/src/mil/dod/th/ose/core/impl/asset/AssetImpl.java
private synchronized void updatePosition(final String sensorId, final Coordinates location,
        final Orientation orientation) throws FactoryObjectInformationException
    {
        // pull out position objects
        if (location != null)
        {
            m_AssetLocation.put(sensorId, location);
            m_AssetDataManager.setCoordinates(getUuid(), m_AssetLocation);
        }
        if (orientation != null)
        {
            m_AssetOrientation.put(sensorId, orientation);
            m_AssetDataManager.setOrientation(getUuid(), m_AssetOrientation);
        }
    }
/**
     * Update the position of the asset.
     * 
     * @param sensorId
     *            sensor ID or null
     * @param location
     *            the coordinates information to update the asset's location to
     * @param orientation
     *            the orientation information to update the asset's orientation to
     * @throws FactoryObjectInformationException
     *            if the new location information could not be persisted
     */
Update the position of the asset.

@param sensorId
sensor ID or null
@param location
the coordinates information to update the asset's location to
@param orientation
the orientation information to update the asset's orientation to
@throws FactoryObjectInformationException
if the new location information could not be persisted
Update the position of the asset . @param sensorId sensor ID or null @param location the coordinates information to update the asset ' s location to @param orientation the orientation information to update the asset ' s orientation to @throws FactoryObjectInformationException if the new location information could not be persisted
private synchronized void updatePosition(final String sensorId, final Coordinates location,
        final Orientation orientation) throws FactoryObjectInformationException
    {
        if (location != null)
        {
            m_AssetLocation.put(sensorId, location);
            m_AssetDataManager.setCoordinates(getUuid(), m_AssetLocation);
        }
        if (orientation != null)
        {
            m_AssetOrientation.put(sensorId, orientation);
            m_AssetDataManager.setOrientation(getUuid(), m_AssetOrientation);
        }
    }
private synchronized void updatePosition ( final String sensorId , final Coordinates location , final Orientation orientation ) throws FactoryObjectInformationException { if ( location != null ) { m_AssetLocation . put ( sensorId , location ) ; m_AssetDataManager . setCoordinates ( getUuid ( ) , m_AssetLocation ) ; } if ( orientation != null ) { m_AssetOrientation . put ( sensorId , orientation ) ; m_AssetDataManager . setOrientation ( getUuid ( ) , m_AssetOrientation ) ; } }
Update the position of the asset.
Update the position of the asset .
// pull out position objects