import java.sql.*;
import java.math.*;
public class b_ty extends a_ty implements SQLData 
{ 
    public int value1;
    public int value2;
    private String sql_type;

    public String getSQLTypeName() { return "b_ty"; }

    public void readSQL (SQLInput stream, String type) throws SQLException
    {
        sql_type = type; 
        value1 = stream.readInt();
        value2 = stream.readInt();
    }

    public void writeSQL (SQLOutput stream) throws SQLException
    { 
        stream.writeInt(value1);
        stream.writeInt(value2);
    }
    /*
     * This constructor isn't required by the java.sql.SQLData 
     * interface
     */
    public String toString()
    {
        String str = "int_col1: " + value1 + "    int_col2: " + value2;

        return(str);
    }


}
