testopia.API
Class Component

java.lang.Object
  extended by testopia.API.Component

public class Component
extends java.lang.Object

Allows the user to get a hashmap of the component values by inputing the component ID

Author:
anelson

Constructor Summary
Component(java.lang.String userName, java.lang.String password, java.net.URL url)
           
 
Method Summary
 java.util.HashMap<java.lang.String,java.lang.Object> getComponentByID(int id)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Component

public Component(java.lang.String userName,
                 java.lang.String password,
                 java.net.URL url)
Parameters:
userName - - your testopia/bugzilla username
password - - the password for your account
url - - the url of the testopia server
Method Detail

getComponentByID

public java.util.HashMap<java.lang.String,java.lang.Object> getComponentByID(int id)
Parameters:
id - the ID of the component that will be returned. Null is returned if the component can't be found
Returns:
the product name that corresponds the specified product ID