SPT RWT Application API

com.sptci.rwt
Class ViewMetaData

java.lang.Object
  extended by com.sptci.rwt.MetaData
      extended by com.sptci.rwt.ObjectMetaData
          extended by com.sptci.rwt.TableTypeMetaData
              extended by com.sptci.rwt.ViewMetaData
All Implemented Interfaces:
Serializable

public class ViewMetaData
extends TableTypeMetaData

A value object that represents metadata for views. Metadata for views are more complete in the Information Schema and hence additional details (over and above those in TableMetaData are fetched from it.

© Copyright 2007 Sans Pareil Technologies, Inc.

Version:
$Id: ViewMetaData.java 4123 2008-05-25 21:49:01Z rakesh $
Author:
Rakesh Vidyadharan 2007-09-26
See Also:
Serialized Form

Field Summary
private  String checkOption
          The check_option column in the information_schema.views view.
private  String definition
          The query expression defining the view (null if the view is not owned by a currently enabled role)
private  boolean insertable
          A flag used to indicate whether the view supports INSERT statements.
private  boolean updatable
          A flag used to indicate whether the view supports UPDATE and DELETE statements.
 
Constructor Summary
ViewMetaData()
           
 
Method Summary
 String getCheckOption()
          Returns checkOption.
 String getDefinition()
          Returns definition.
 boolean getInsertable()
          Returns insertable.
 boolean getUpdatable()
          Returns updatable.
protected  void setCheckOption(String checkOption)
          Set checkOption.
protected  void setDefinition(String definition)
          Set definition.
protected  void setInsertable(boolean insertable)
          Set insertable.
protected  void setUpdatable(boolean updatable)
          Set updatable.
 
Methods inherited from class com.sptci.rwt.TableTypeMetaData
getColumn, getColumns, getNumberOfRows, setColumns, setNumberOfRows
 
Methods inherited from class com.sptci.rwt.ObjectMetaData
getCatalogue, getComment, getRoot, setCatalogue, setComment, setRoot
 
Methods inherited from class com.sptci.rwt.MetaData
equals, getName, hashCode, setName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

definition

private String definition
The query expression defining the view (null if the view is not owned by a currently enabled role)


checkOption

private String checkOption
The check_option column in the information_schema.views view.


updatable

private boolean updatable
A flag used to indicate whether the view supports UPDATE and DELETE statements.


insertable

private boolean insertable
A flag used to indicate whether the view supports INSERT statements.

Constructor Detail

ViewMetaData

public ViewMetaData()
Method Detail

getDefinition

public String getDefinition()
Returns definition.

Returns:
The value/reference of/to definition.

setDefinition

protected void setDefinition(String definition)
Set definition.

Parameters:
definition - The value to set.

getCheckOption

public String getCheckOption()
Returns checkOption.

Returns:
The value/reference of/to checkOption.

setCheckOption

protected void setCheckOption(String checkOption)
Set checkOption.

Parameters:
checkOption - The value to set.

getUpdatable

public boolean getUpdatable()
Returns updatable.

Returns:
The value/reference of/to updatable.

setUpdatable

protected void setUpdatable(boolean updatable)
Set updatable.

Parameters:
updatable - The value to set.

getInsertable

public boolean getInsertable()
Returns insertable.

Returns:
The value/reference of/to insertable.

setInsertable

protected void setInsertable(boolean insertable)
Set insertable.

Parameters:
insertable - The value to set.

SPT RWT Application API