org.ssonet.examples.catalog.customer
Class Catalog

java.lang.Object
  |
  +--org.ssonet.examples.catalog.customer.Catalog

public class Catalog
extends java.lang.Object

creates a catalog


Field Summary
 java.lang.String Currency
           
 java.lang.String Host
           
 java.lang.String Info
           
 int numberOfRows
           
 int Port
           
 int Tax
           
 java.lang.String[] temp
           
 java.lang.String Title
           
 
Constructor Summary
Catalog()
           
 
Method Summary
 void initTemp(int number)
          initialize the catalog stringarray to number rows
 void setCurrency(java.lang.String string)
          set Catalog Currency to string
 void setHost(java.lang.String str)
          set Catalog Host to string
 void setInfo(java.lang.String string)
          set Catalog Info to string
 void setPort(java.lang.String string)
          set Catalog Port to string
 void setTax(java.lang.String taxRate)
          Changes string into a number
in case of an error into 16
 void setTemp(int i, java.lang.String string)
          set catalog row i to string
 void setTitle(java.lang.String string)
          set Catalog Title to string
 java.lang.String toString()
          shows the complete catalog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

numberOfRows

public int numberOfRows

Title

public java.lang.String Title

Info

public java.lang.String Info

Host

public java.lang.String Host

Currency

public java.lang.String Currency

Tax

public int Tax

Port

public int Port

temp

public java.lang.String[] temp
Constructor Detail

Catalog

public Catalog()
Method Detail

setTitle

public void setTitle(java.lang.String string)
set Catalog Title to string


setInfo

public void setInfo(java.lang.String string)
set Catalog Info to string


setHost

public void setHost(java.lang.String str)
set Catalog Host to string


setPort

public void setPort(java.lang.String string)
set Catalog Port to string


setCurrency

public void setCurrency(java.lang.String string)
set Catalog Currency to string


setTax

public void setTax(java.lang.String taxRate)
Changes string into a number
in case of an error into 16


initTemp

public void initTemp(int number)
initialize the catalog stringarray to number rows


setTemp

public void setTemp(int i,
                    java.lang.String string)
set catalog row i to string


toString

public java.lang.String toString()
shows the complete catalog

Overrides:
toString in class java.lang.Object


Copyright © 2003 DRIM Team. All Rights Reserved.