FileDocCategorySizeDatePackage
ByteValue.javaAPI DocExample512Thu Jun 28 16:14:16 BST 2001com.ora.jsp.sql.value

ByteValue.java

package com.ora.jsp.sql.value;

import com.ora.jsp.sql.Value;

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

    public ByteValue(byte value) {
        this.value = value;
    }

    public byte getByte() {
        return value;
    }

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