Class View
- java.lang.Object
-
- org.apache.torque.templates.model.View
-
public class View extends Object
The model of the view tag in a Torque schema file.- Version:
- $Id: $
-
-
Field Summary
Fields Modifier and Type Field Description Boolean_abstractWhether the data object class is abstract.StringbaseClassThe base class of the data object class.StringbasePeerThe base class of the peer class.List<ViewColumn>columnListThe columns of this view.StringcreateSqlThe complete SQL for creating the view.StringdescriptionA description of the view.StringjavaNameThe unqualified name of the data object class.StringnameThe view's name.List<Option>optionListThe options for this view.DatabaseparentThe database to which this view belongs.BooleanskipSqlWhether sql generation should be skipped.StringsqlSuffixThe remainder of the sql for the view after column definitions.
-
Constructor Summary
Constructors Constructor Description View()
-
-
-
Field Detail
-
parent
public Database parent
The database to which this view belongs.
-
columnList
public List<ViewColumn> columnList
The columns of this view.
-
name
public String name
The view's name.
-
baseClass
public String baseClass
The base class of the data object class.
-
basePeer
public String basePeer
The base class of the peer class.
-
_abstract
public Boolean _abstract
Whether the data object class is abstract.
-
javaName
public String javaName
The unqualified name of the data object class. If null, the class name will be determined from the name attribute.
-
sqlSuffix
public String sqlSuffix
The remainder of the sql for the view after column definitions.
-
createSql
public String createSql
The complete SQL for creating the view. If set, overrides all other means of generating the SQL for view creation.
-
skipSql
public Boolean skipSql
Whether sql generation should be skipped.
-
description
public String description
A description of the view.
-
-