code: private int find(Vector prop_list,String prop_name) throws DevFailed
  	{
  		int i;
  		int nb_prop = prop_list.size();
  		
  		for (i = 0;i < nb_prop;i++)
  		{
  			if (((AttrProperty)(prop_list.elementAt(i))).get_name().equals(prop_name) == true)
  				break;
  		}
  		
  		if (i == nb_prop)
  		{
  			StringBuffer o = new StringBuffer("Property ");
  			o.append(prop_name);
  			o.append(" not found");
  			
  			Except.throw_exception("API_AttrWrongDefined",o.toString(),
  					       "Attribute.find");
  		}
  		
  		return i;
  	}
docs: --------------------------------------------------------------------------