FileDocCategorySizeDatePackage
TimestampColumn.javaAPI DocExample582Thu Jun 28 16:14:16 BST 2001com.ora.jsp.sql.column

TimestampColumn.java

package com.ora.jsp.sql.column;

import java.sql.*;
import com.ora.jsp.sql.Column;

/**
 * This class represents a Timestamp column.
 *
 * @author Hans Bergsten, Gefion software <hans@gefionsoftware.com>
 * @version 1.0
 */
public class TimestampColumn extends Column {
    private Timestamp value;

    public TimestampColumn(String name, Timestamp value) {
        super(name);
        this.value = value;
    }

    public Timestamp getTimestamp() {
        return value;
    }

    public String getString() {
        return value.toString();
    }
}