Oracle Application Server TopLink API Reference
10g (9.0.4.3)

B10491-02

oracle.toplink.tools.schemaframework
Class ViewDefinition

java.lang.Object
  extended byoracle.toplink.tools.schemaframework.DatabaseObjectDefinition
      extended byoracle.toplink.tools.schemaframework.ViewDefinition

All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class ViewDefinition
extends DatabaseObjectDefinition

Purpose: Allow for creation of views.

See Also:
Serialized Form

Field Summary

 

Fields inherited from class oracle.toplink.tools.schemaframework.DatabaseObjectDefinition
name, qualifier

 

Constructor Summary
ViewDefinition()
           

 

Method Summary
 java.io.Writer buildCreationWriter(oracle.toplink.publicinterface.Session session, java.io.Writer writer)
          INTERNAL: Return the DDL to create the view.
 java.io.Writer buildDeletionWriter(oracle.toplink.publicinterface.Session session, java.io.Writer writer)
          INTERNAL: Return the DDL to drop the view.
 java.lang.String getSelectClause()
          The select clause is the select statement that is mapped into the view.
 void setSelectClause(java.lang.String selectClause)
          The select clause is the select statement that is mapped into the view.

 

Methods inherited from class oracle.toplink.tools.schemaframework.DatabaseObjectDefinition
createObject, createOnDatabase, dropFromDatabase, dropObject, getFullName, getName, getQualifier, setName, setQualifier, toString

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

ViewDefinition

public ViewDefinition()
Method Detail

buildCreationWriter

public java.io.Writer buildCreationWriter(oracle.toplink.publicinterface.Session session,
                                          java.io.Writer writer)
                                   throws ValidationException
INTERNAL: Return the DDL to create the view.
Specified by:
buildCreationWriter in class DatabaseObjectDefinition
Throws:
ValidationException

buildDeletionWriter

public java.io.Writer buildDeletionWriter(oracle.toplink.publicinterface.Session session,
                                          java.io.Writer writer)
                                   throws ValidationException
INTERNAL: Return the DDL to drop the view.
Specified by:
buildDeletionWriter in class DatabaseObjectDefinition
Throws:
ValidationException

getSelectClause

public java.lang.String getSelectClause()
The select clause is the select statement that is mapped into the view. This is database specific SQL code.

setSelectClause

public void setSelectClause(java.lang.String selectClause)
The select clause is the select statement that is mapped into the view. This is database specific SQL code.

Copyright © 1998, 2004 Oracle Corporation. All Rights Reserved.