wt.vc.views
Class LoadView
java.lang.Object
wt.vc.views.LoadView
- public class LoadView
- extends Object
Creates and persists views and view associations based on input from a
comma seperated value (csv) file. Method names and parameters are defined
in csvmapfile.txt.
wt.load.StandardLoadService.load
reads records from a .csv file
and passes the fields in a hashtable to methods defined in this class.
These methods then create view and view association objects.
- See Also:
StandardLoadService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoadView
public LoadView()
createView
public static boolean createView(Hashtable nv,
Hashtable cmd_line,
Vector return_objects)
- Processes "View" lines from a csv load file. Creates a new
view using the attributes contained in the Hashtable parameter.
- Parameters:
nv
- Name/Value pairs of view attributes.
The attributes are as follows:
cmd_line
- command line argument that can contain supplemental load datareturn_objects
- Vector
of the object(s) created by this method.
Used by wt.load.StandardLoadService
for accurate user feedback messages.
associateViews
public static boolean associateViews(Hashtable nv,
Hashtable cmd_line,
Vector return_objects)
- Processes "ViewAssociation" lines from a csv load file. Creates a view
association between the parent and child view using the attributes contained
in the Hashtable parameter.
- Parameters:
nv
- Name/Value pairs of view attributes.
The attributes are as follows:
cmd_line
- command line argument that can contain supplemental load datareturn_objects
- Vector
of the object(s) created by this method.
Used by wt.load.StandardLoadService
for accurate user feedback messages.