org.sourceforge.jxutil.net.ddm.qddprmd
Class SCALAR
java.lang.Object
|
+--org.sourceforge.jxutil.net.ddm.qddprmd.DATA
|
+--org.sourceforge.jxutil.net.ddm.qddprmd.OBJECT
|
+--org.sourceforge.jxutil.net.ddm.qddprmd.SCALAR
- Direct Known Subclasses:
- BOOLEAN, FDODTA, MGRLVLLS, PKGNAM, PKGNAMCSN, PKGNAMCT, SRVLCNT, SRVLSRV
- public abstract class SCALAR
- extends OBJECT
Scalar Object.
Scalar Object (SCALAR) describes the abstract class of all scalar objects.
A scalar is a byte string onto which one or more data values have been
mapped. Examples of simple scalars (having only a single data value) are
binary numbers, character strings, Boolean, and names.
Instances of mapped scalars must be encoded according to the sequence of
the instance variables for the class. For example, the DATDR must be encoded
year, month, day, hour, minute, second, millisecond, microsecond, nanosecond
for a date and time or year, month, day for just a date.
Another example is the MGRLVL which must be encoded codpnt, mgrlvln.
Field Summary |
static short |
CP
The Code Point. |
Method Summary |
protected void |
writeMembers(DDM ddm,
DATA[] data)
Convenience function to write the members in given order. |
CP
public static final short CP
- The Code Point.
- See Also:
- Constant Field Values
SCALAR
public SCALAR()
writeMembers
protected void writeMembers(DDM ddm,
DATA[] data)
throws IOException
- Convenience function to write the members in given order.
- Parameters:
ddm
- the DDM instance to write to.data
- the DATA members to write.
- Throws:
IOException
- if an I/O error occurs.
Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.