1. A software tool comprising program code on a computer usable medium, the software tool comprising: means for receiving view definitions; and means for generating object-oriented class definitions from the view definitions, wherein a view collection v is of the view type V and has an implementation M for V specified as a SELECT statement, and wherein the means for generating produces the class definitions according to the following rules: a) ordering elements in an object language class constructor as an ordering of elements in a FROM clause of M; b) passing, as an argument to an object constructor, a handle on a binding of an ith element, if the ith element in the FROM clause is a view type; and c) passing, as another argument to the object constructor, a row type if the jth element in the FROM clause of M is a relational table and ordering arguments of the row type as an order to columns present in the row type.