jxUtil 0.6

org.sourceforge.jxutil.net.ddm.qddrdbd
Class PKGNAMCT

java.lang.Object
  |
  +--org.sourceforge.jxutil.net.ddm.qddprmd.DATA
        |
        +--org.sourceforge.jxutil.net.ddm.qddprmd.OBJECT
              |
              +--org.sourceforge.jxutil.net.ddm.qddprmd.SCALAR
                    |
                    +--org.sourceforge.jxutil.net.ddm.qddrdbd.PKGNAMCT

public final class PKGNAMCT
extends SCALAR

RDB Package Name and Consistency Token (PKGNAMCT) Scalar Object specifies the fully qualified name of relational database package and its consistency token. The PKGNAMCT can have one of the following two formats depending on the length of the RDBNAM, RDBCOLID and PKGID contained therein: RDBNAM, RDBCOLID and PKGID all have a length of 18 This format of the PKGNAMCT is identical to the sole format used prior to DDM Level 7 where the length is fixed at 66. The use of the SCLDTALEN is disallowed with this format. At least one of RDBNAM, RDBCOLID and PKGID has a length > 18 This format of the PKGNAMCT mandates the SCLDTALEN to precede each of the RDBNAM, RDBCOLID and PKGID. With this format, the PKGNAMCT has a minimum length of 73 and a maximum length of 783.

See Also:
BGNBND, BGNBNDRM, ENDBND, EXCSQLSET, PKGATHOPT, CodePoints.PKGRPLALW, PKGRPLOPT, SQL

Field Summary
static short CP
           
 PKGCNSTKN pkgcnstkn
           
 PKGID pkgid
           
 RDBCOLID rdbcolid
           
 NAMSYMDR rdbnam
           
 
Constructor Summary
PKGNAMCT(DDM ddm, int len)
           
PKGNAMCT(NAMSYMDR rdbnam, RDBCOLID rdbcolid, PKGID pkgid, PKGCNSTKN pkgcnstkn)
           
 
Method Summary
 String toString()
          Pretty print.
 void write(DDM ddm)
          Write out the object.
 
Methods inherited from class org.sourceforge.jxutil.net.ddm.qddprmd.SCALAR
writeMembers
 
Methods inherited from class org.sourceforge.jxutil.net.ddm.qddprmd.DATA
getCP
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CP

public static final short CP
See Also:
Constant Field Values

pkgcnstkn

public PKGCNSTKN pkgcnstkn

pkgid

public PKGID pkgid

rdbcolid

public RDBCOLID rdbcolid

rdbnam

public NAMSYMDR rdbnam
Constructor Detail

PKGNAMCT

public PKGNAMCT(DDM ddm,
                int len)
         throws IOException

PKGNAMCT

public PKGNAMCT(NAMSYMDR rdbnam,
                RDBCOLID rdbcolid,
                PKGID pkgid,
                PKGCNSTKN pkgcnstkn)
Method Detail

toString

public String toString()
Description copied from class: DATA
Pretty print.

Overrides:
toString in class DATA
Returns:
the class name and code point value.

write

public void write(DDM ddm)
           throws IOException
Description copied from class: DATA
Write out the object.

Overrides:
write in class DATA
Parameters:
ddm - the DDM stream
IOException

jxUtil 0.6

Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.