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

Quick Search    Search Deep

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

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

public class Subscriber
extends DBRecord

Subscriber is a user in the business unit hierachy. Not a POS user.


Field Summary
private static int[] col_types
           
private static java.lang.String[] columns
           
private  int subscriberid
           
private  java.util.Vector subscribermap
           
private  java.lang.String subscribername
           
private  java.lang.String subscriberpass
           
private static java.lang.String table
           
 
Fields inherited from class com.globalretailtech.data.DBRecord
BOOLEAN, BYTE, DATA, DATE, DOUBLE, INT, STRING
 
Constructor Summary
Subscriber()
           
 
Method Summary
 java.util.Vector columnObjects()
          Temporary base class implementations for xml import/export.
 DBRecord copy()
          Copies the record, used to create a new record during population.
static int getID(int n)
           
static java.lang.String getUser(java.lang.String n)
           
 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 setSubscriberID(int value)
           
 void setSubscriberMap(java.util.Vector value)
           
 void setSubscriberName(java.lang.String value)
           
 void setSubscriberPass(java.lang.String value)
           
 int subscriberID()
           
 java.util.Vector subscriberMap()
           
 java.lang.String subscriberName()
           
 java.lang.String subscriberPass()
           
 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

table

private static java.lang.String table

columns

private static java.lang.String[] columns

col_types

private static int[] col_types

subscriberid

private int subscriberid

subscribername

private java.lang.String subscribername

subscriberpass

private java.lang.String subscriberpass

subscribermap

private java.util.Vector subscribermap
Constructor Detail

Subscriber

public Subscriber()
Method Detail

subscriberID

public int subscriberID()

subscriberName

public java.lang.String subscriberName()

subscriberPass

public java.lang.String subscriberPass()

setSubscriberID

public void setSubscriberID(int value)

setSubscriberName

public void setSubscriberName(java.lang.String value)

setSubscriberPass

public void setSubscriberPass(java.lang.String value)

getID

public static int getID(int n)

getUser

public static java.lang.String getUser(java.lang.String n)

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

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()).


subscriberMap

public java.util.Vector subscriberMap()

setSubscriberMap

public void setSubscriberMap(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