|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sptci.rwt.MetaData
com.sptci.rwt.ObjectMetaData
com.sptci.rwt.TableTypeMetaData
com.sptci.rwt.ViewMetaData
public class ViewMetaData
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.
| 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 |
|---|
private String definition
private String checkOption
check_option column in the
information_schema.views view.
private boolean updatable
UPDATE
and DELETE statements.
private boolean insertable
INSERT
statements.
| Constructor Detail |
|---|
public ViewMetaData()
| Method Detail |
|---|
public String getDefinition()
definition.
protected void setDefinition(String definition)
definition.
definition - The value to set.public String getCheckOption()
checkOption.
protected void setCheckOption(String checkOption)
checkOption.
checkOption - The value to set.public boolean getUpdatable()
updatable.
protected void setUpdatable(boolean updatable)
updatable.
updatable - The value to set.public boolean getInsertable()
insertable.
protected void setInsertable(boolean insertable)
insertable.
insertable - The value to set.
|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||