FileDocCategorySizeDatePackage
Fruit.javaAPI DocExample665Tue Aug 22 20:53:32 BST 2000None

Fruit

public class Fruit extends Object implements SQLData
Example 4.3.

Fields Summary
private String
name
private String
sqlTypeName
Constructors Summary
public Fruit()

        super();
    
public Fruit(String nom)

        super();
        name = nom;
    
Methods Summary
public java.lang.StringgetName()

        return name;
    
public java.lang.StringgetSQLTypeName()

        return sqlTypeName;
    
public voidreadSQL(java.sql.SQLInput is, java.lang.String type)

        sqlTypeName = type;
        name = is.readString();
    
public voidwriteSQL(java.sql.SQLOutput os)

        os.writeString(name);