jxUtil 0.6

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

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

public class RDBCOLID
extends FIELD

RDB Collection Identifier. (RDBCOLID) identifies a unique collection of objects contained in a relational database, and it is used for user-defined grouping. Prior to DDM Level 7, the RDBCOLID has a fixed length of 18 characters, including right blank padding if the collection ID is less than 18 characters long. As of DDM Level 7, the RDBCOLID can accommodate a collection ID of up to 255 characters in length, and its format will vary depending on the length of the collection ID: * Length of collection ID 18 characters There is no change to the format of the RDBCOLID. The length of the RDBCOLID remains fixed at 18 which includes any right blank padding if necessary. * Length of collection ID > 18 characters The length of the RDBCOLID is identical to the length of the collection ID. No right blank padding is required.


Field Summary
static short CP
           
private  NAMSYMDR name
           
 
Constructor Summary
RDBCOLID(DDM ddm, int len)
           
RDBCOLID(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

RDBCOLID

public RDBCOLID(DDM ddm,
                int len)
         throws IOException

RDBCOLID

public RDBCOLID(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.