mil.dod.th.ose.core/src/mil/dod/th/ose/core/impl/asset/AssetImpl.java
private Response updatePositionByCommand(final String sensorId, final Coordinates location,
            final Orientation orientation) throws CommandExecutionException
    {
        try
        {
            updatePosition(sensorId, location, orientation);
        }
        catch (final FactoryObjectInformationException e)
        {
            throw new CommandExecutionException(
                    String.format("Unable to update asset %s with new position information!", getName()), e);
        }

        return new SetPositionResponse().withSensorId(sensorId);
    }
/**
     * Update the position of the asset for the {@link SetPositionCommand}.
     * 
     * @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
     * @return response message for the command
     * @throws CommandExecutionException
     *            if the new location information could not be persisted
     */
Update the position of the asset for the  SetPositionCommand.


Update the position of the asset for the SetPositionCommand .
private Response updatePositionByCommand(final String sensorId, final Coordinates location,
            final Orientation orientation) throws CommandExecutionException
    {
        try
        {
            updatePosition(sensorId, location, orientation);
        }
        catch (final FactoryObjectInformationException e)
        {
            throw new CommandExecutionException(
                    String.format("Unable to update asset %s with new position information!", getName()), e);
        }
        return new SetPositionResponse().withSensorId(sensorId);
    }
private Response updatePositionByCommand ( final String sensorId , final Coordinates location , final Orientation orientation ) throws CommandExecutionException { try { updatePosition ( sensorId , location , orientation ) ; } catch ( final FactoryObjectInformationException e ) { throw new CommandExecutionException ( String . format ( "Unable to update asset %s with new position information!" , getName ( ) ) , e ) ; } return new SetPositionResponse ( ) . withSensorId ( sensorId ) ; }
Update the position of the asset for the {@link SetPositionCommand}.
Update the position of the asset for the { @link SetPositionCommand } .