Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.globalretailtech.data
Class Dialog  view Dialog download Dialog.java

java.lang.Object
  extended bycom.globalretailtech.data.DBRecord
      extended bycom.globalretailtech.data.Dialog

public class Dialog
extends DBRecord

Dialog holds the root information for a POS dialog, that is a sequence of events that a POS user must execute to complete a given transaction.


Field Summary
private static int[] col_types
           
private static java.lang.String[] columns
           
private  int configno
           
private  java.util.Vector dialogevents
           
private  int dialogid
           
private  java.lang.String dialogname
           
private  int dialogtype
           
private  int helpid
           
private static java.lang.String table
           
static int TYPE
           
 
Fields inherited from class com.globalretailtech.data.DBRecord
BOOLEAN, BYTE, DATA, DATE, DOUBLE, INT, STRING
 
Constructor Summary
Dialog()
           
 
Method Summary
 int boID()
           
 int boType()
           
 java.util.Vector columnObjects()
          Temporary base class implementations for xml import/export.
 int configNo()
           
 DBRecord copy()
          Copies the record, used to create a new record during population.
 java.util.Vector dialogEvents()
           
 int dialogID()
           
 java.lang.String dialogName()
           
 int dialogType()
           
static java.lang.String getByConfigNo(int no)
           
static java.lang.String getByID(int id)
           
 int helpID()
           
 java.util.Vector parents()
           
 void populate(java.sql.ResultSet rset)
          Called by fetch method in DBContext to move entity data from the result set to the record
 void relations()
          Called by fetch method in DBContext to service any entity relationships (child records).
 boolean save()
          Entity save.
 void setConfigName(java.lang.String value)
           
 void setConfigNo(int value)
           
 void setDialogEvents(java.util.Vector value)
           
 void setDialogID(int value)
           
 void setDialogType(int value)
           
 void setHelpID(int value)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 java.lang.String toXML()
          Abstract implementation of toXML ()
 boolean update()
          Entity update.
 
Methods inherited from class com.globalretailtech.data.DBRecord
getUpdateString, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final int TYPE
See Also:
Constant Field Values

table

private static java.lang.String table

columns

private static java.lang.String[] columns

col_types

private static int[] col_types

dialogid

private int dialogid

configno

private int configno

helpid

private int helpid

dialogtype

private int dialogtype

dialogname

private java.lang.String dialogname

dialogevents

private java.util.Vector dialogevents
Constructor Detail

Dialog

public Dialog()
Method Detail

dialogID

public int dialogID()

configNo

public int configNo()

helpID

public int helpID()

dialogType

public int dialogType()

dialogName

public java.lang.String dialogName()

setDialogID

public void setDialogID(int value)

setConfigNo

public void setConfigNo(int value)

setHelpID

public void setHelpID(int value)

setDialogType

public void setDialogType(int value)

setConfigName

public void setConfigName(java.lang.String value)

getByID

public static java.lang.String getByID(int id)

getByConfigNo

public static java.lang.String getByConfigNo(int no)

parents

public java.util.Vector parents()

copy

public DBRecord copy()
Description copied from class: DBRecord
Copies the record, used to create a new record during population.

Specified by:
copy in class DBRecord

populate

public void populate(java.sql.ResultSet rset)
Description copied from class: DBRecord
Called by fetch method in DBContext to move entity data from the result set to the record

Specified by:
populate in class DBRecord

save

public boolean save()
Description copied from class: DBRecord
Entity save.

Specified by:
save in class DBRecord

update

public boolean update()
Description copied from class: DBRecord
Entity update.

Specified by:
update in class DBRecord

boID

public int boID()

boType

public int boType()

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).


dialogEvents

public java.util.Vector dialogEvents()

setDialogEvents

public void setDialogEvents(java.util.Vector value)

relations

public void relations()
Description copied from class: DBRecord
Called by fetch method in DBContext to service any entity relationships (child records).

Specified by:
relations in class DBRecord

toXML

public java.lang.String toXML()
Abstract implementation of toXML ()

Specified by:
toXML in class DBRecord

columnObjects

public java.util.Vector columnObjects()
Description copied from class: DBRecord
Temporary base class implementations for xml import/export. Some of these will eventually become abstract.

Overrides:
columnObjects in class DBRecord