SPT RWT Application API

com.sptci.rwt
Class ObjectMetaData

java.lang.Object
  extended by com.sptci.rwt.MetaData
      extended by com.sptci.rwt.ObjectMetaData
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ColumnMetaData, ProcedureMetaData, SequenceMetaData, TableTypeMetaData

public abstract class ObjectMetaData
extends MetaData

An abstract value object that is used to represent database objects such as tables, views, columns etc that support having comments.

© Copyright 2007 Sans Pareil Technologies, Inc.

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

Field Summary
private  CatalogueMetaData catalogue
          A reference to the parent catalogue to which this object belongs.
private  String comment
          The comments associated with the table.
private  RootMetaData root
          A reference to the parent catalogue/schema to which this object belongs.
 
Constructor Summary
ObjectMetaData()
           
 
Method Summary
 CatalogueMetaData getCatalogue()
          Returns catalogue.
 String getComment()
          Returns comment.
 RootMetaData getRoot()
          Returns root.
protected  void setCatalogue(CatalogueMetaData catalogue)
          Set catalogue.
protected  void setComment(String comment)
          Set comment.
protected  void setRoot(RootMetaData root)
          Set root.
 
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

comment

private String comment
The comments associated with the table.


catalogue

private CatalogueMetaData catalogue
A reference to the parent catalogue to which this object belongs.


root

private RootMetaData root
A reference to the parent catalogue/schema to which this object belongs.

Constructor Detail

ObjectMetaData

public ObjectMetaData()
Method Detail

getComment

public String getComment()
Returns comment.

Returns:
The value/reference of/to comment.

setComment

protected void setComment(String comment)
Set comment.

Parameters:
comment - The value to set.

getCatalogue

public CatalogueMetaData getCatalogue()
Returns catalogue.

Returns:
The value/reference of/to catalogue.

setCatalogue

protected void setCatalogue(CatalogueMetaData catalogue)
Set catalogue.

Parameters:
catalogue - The value to set.

getRoot

public RootMetaData getRoot()
Returns root.

Returns:
The value/reference of/to root.

setRoot

protected void setRoot(RootMetaData root)
Set root.

Parameters:
root - The value to set.

SPT RWT Application API