FileDocCategorySizeDatePackage
TimestampValue.javaAPI DocExample562Thu Jun 28 16:14:16 BST 2001com.ora.jsp.sql.value

TimestampValue.java

package com.ora.jsp.sql.value;

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

/**
 * This class represents a Timestamp value used by the SQL tags.
 *
 * @author Hans Bergsten, Gefion software <hans@gefionsoftware.com>
 * @version 1.0
 */
public class TimestampValue extends Value {
    private Timestamp value;

    public TimestampValue(Timestamp value) {
        this.value = value;
    }

    public Timestamp getTimestamp() {
        return value;
    }

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