SPT RWT Application API

com.sptci.rwt
Class Column

java.lang.Object
  extended by com.sptci.rwt.Column
All Implemented Interfaces:
Serializable

public class Column
extends Object
implements Serializable

A simple value object that represents a column in a result set row.

© Copyright 2007 Sans Pareil Technologies, Inc.

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

Field Summary
private  Object content
          The object that represents the contents of the column.
private  String name
          The name of the column.
private  int type
          The Types value for the data type of the column.
 
Constructor Summary
Column()
           
 
Method Summary
 Object getContent()
          Returns content.
 String getName()
          Returns name.
 int getType()
          Returns type.
protected  void setContent(Object content)
          Set content.
protected  void setName(String name)
          Set name.
protected  void setType(int type)
          Set type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private String name
The name of the column.


type

private int type
The Types value for the data type of the column.


content

private Object content
The object that represents the contents of the column.

Constructor Detail

Column

public Column()
Method Detail

getName

public String getName()
Returns name.

Returns:
The value/reference of/to name.

setName

protected void setName(String name)
Set name.

Parameters:
name - The value to set.

getType

public int getType()
Returns type.

Returns:
The value/reference of/to type.

setType

protected void setType(int type)
Set type.

Parameters:
type - The value to set.

getContent

public Object getContent()
Returns content.

Returns:
The value/reference of/to content.

setContent

protected void setContent(Object content)
Set content.

Parameters:
content - The value to set.

SPT RWT Application API