Enterprise Administration > Windchill Data Loading > Creating Load Methods > Creating New Methods for Loading > About Load Methods
  
About Load Methods
All the methods that are called by the load framework follow the same signature:
public static boolean myMethod (HashTable nv, HashTable cmd_line, Vector v)
The method returns true if the function is successful, and false if it is not. The parameters are as follows:
nv parameter—A hash table of the attribute names from the map file as the keys and the corresponding strings from one line of the data file as the value.
cmd_line parameter—A hash table of the extra attributes from the command line (parameters that are not defined in the interface). This allows substitution of values from the command line into the data file at runtime.
return_objects parameter—A vector of the objects created or worked upon by the createNewClass method. After the object is manipulated, add it to the vector. For example:
return_objects.addElement(doc);
This vector is used to return more informative messages to the command line. If the object that was manipulated by this method does not implement getIdentity, or if that information would not be useful in a message to the command line, a string should be added to the return_object instead. For example:
String msg = "Type = Content Item, Identity =
" + appData.getFileName();
return_objects.addElement(msg);