AssetStateDescriptor asd = getAssetStateDescriptor ( asset_ext_name,
AssetStateDimension asd = getAssetStateDimension ( asset_ext_name,
    public int stateNameToIndex( String asset_ext_name,                                 String state_descriptor_name,                                 String state_desc_value )            throws BelievabilityException    {        AssetStateDescriptor asd =                 getAssetStateDescriptor ( asset_ext_name,                                           state_descriptor_name );        Vector aspv = asd.getPossibleValues();        for ( int index = 0; index < aspv.size(); index++ )        {            StateValue sv = (StateValue) aspv.elementAt( index );            if ( state_desc_value.equalsIgnoreCase( sv.getName() ))                return index;        } // for index                throw new BelievabilityException( "State name cannot be found." );            } // method stateNameToIndex