jxUtil 0.6

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

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.PKGNAMCSN

public final class PKGNAMCSN
extends SCALAR

RDB Package Name, Consistency Token, and Section Number (PKGNAMCSN) Scalar Object specifies the fully qualified name of a relational database package, its consistency token, and a specific section within the package. The PKGNAMCSN 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 PKGNAMCSN is identical to the sole format used prior to DDM Level 7 where the length is fixed at 68. 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 PKGNAMCSN mandates the SCLDTALEN to precede each of the RDBNAM, RDBCOLID and PKGID. With this format, the PKGNAMCSN has a minimum length of 75 and a maximum length of 785.

See Also:
BNDSQLSTT, CLSQRY, CNTQRY, DSCSQLSTT, EXCSQLIMM, EXCSQLSTT, OPNQRY, PKGSNLST, PRPSQLSTT, QRYNOPRM, QRYPOPRM, ENDBND, CodePoints.LMTBLKPRC, SQL

Field Summary
static short CP
           
private  PKGCNSTKN pkgcnstkn
           
private  PKGID pkgid
           
private  PKGSN pkgsn
           
private  RDBCOLID rdbcolid
           
private  NAMSYMDR rdbnam
           
 
Constructor Summary
PKGNAMCSN(DDM ddm, int len)
           
PKGNAMCSN(NAMSYMDR rdbnam, RDBCOLID rdbcolid, PKGID pkgid, PKGCNSTKN pkgcnstkn, PKGSN pkgsn)
           
 
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

private PKGCNSTKN pkgcnstkn

pkgid

private PKGID pkgid

pkgsn

private PKGSN pkgsn

rdbcolid

private RDBCOLID rdbcolid

rdbnam

private NAMSYMDR rdbnam
Constructor Detail

PKGNAMCSN

public PKGNAMCSN(DDM ddm,
                 int len)
          throws IOException

PKGNAMCSN

public PKGNAMCSN(NAMSYMDR rdbnam,
                 RDBCOLID rdbcolid,
                 PKGID pkgid,
                 PKGCNSTKN pkgcnstkn,
                 PKGSN pkgsn)
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.