mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/asset/AssetModel.java
private boolean isPositionSetAvailableAsync()
    {
        final CommandCapabilities commands = getAssetFactoryCommandCapabilitiesAsync();
        
        //make sure commands are supported
        if (commands != null)
        {
            return commands.getSupportedCommands().contains(CommandTypeEnum.SET_POSITION_COMMAND);
        }
        
        return false;
    }
/**
     * Get whether the asset's capability to set location is available.
     * @return
     *      boolean of whether the asset's set location is available
     */
Get whether the asset's capability to set location is available.
@return
boolean of whether the asset's set location is available
Get whether the asset ' s capability to set location is available . @return boolean of whether the asset ' s set location is available
private boolean isPositionSetAvailableAsync()
    {
        final CommandCapabilities commands = getAssetFactoryCommandCapabilitiesAsync();
        if (commands != null)
        {
            return commands.getSupportedCommands().contains(CommandTypeEnum.SET_POSITION_COMMAND);
        }
        return false;
    }
private boolean isPositionSetAvailableAsync ( ) { final CommandCapabilities commands = getAssetFactoryCommandCapabilitiesAsync ( ) ; if ( commands != null ) { return commands . getSupportedCommands ( ) . contains ( CommandTypeEnum . SET_POSITION_COMMAND ) ; } return false ; }
Get whether the asset's capability to set location is available.
Get whether the asset ' s capability to set location is available .
//make sure commands are supported