jxUtil 0.6

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

java.lang.Object
  |
  +--org.sourceforge.jxutil.net.ddm.qddprmd.DATA
        |
        +--org.sourceforge.jxutil.net.ddm.qddprmd.FIELD
              |
              +--org.sourceforge.jxutil.net.ddm.qddrdbd.PKGID

public final class PKGID
extends FIELD

RDB Package Identifier. (PKGID) Field specifies the identifier of a relational database package. The combination of the RDBCOLID, PKGID, and VRSNAM uniquely identifies a package within the application server site RDB. Prior to DDM Level 7, the PKGID has a fixed length of 18 characters, including right blank padding if the package identifier is less than 18 characters long. As of DDM Level 7, the PKGID can accommodate a package identifier of up to 255 characters in length, and its format will vary depending on the length of the package identifier: * Length of package identifier <= 18 characters l There is no change to the format of the PKGID. The length of the PKGID remains fixed at 18 which includes any right blank padding if necessary. * Length of package identifier > 18 characters l The length of the PKGID is identical to the length of the package identifier. No right blank padding is required.

See Also:
PKGNAM, PKGNAMCSN, PKGNAMCT, SQL

Field Summary
static short CP
           
private  NAMSYMDR name
           
 
Constructor Summary
PKGID(DDM ddm, int len)
           
PKGID(NAMSYMDR name)
           
 
Method Summary
 String toString()
          Pretty print.
 void write(DDM ddm)
          Write out the object.
 
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

name

private NAMSYMDR name
Constructor Detail

PKGID

public PKGID(DDM ddm,
             int len)
      throws IOException

PKGID

public PKGID(NAMSYMDR name)
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.