|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.microfocus.cobol.lang.internal.CobolBytes
com.microfocus.cobol.lang.internal.CobolField
com.microfocus.cobol.lang.internal.CobolAlphanumeric
Field Summary |
Fields inherited from class com.microfocus.cobol.lang.internal.CobolField |
descriptor, F_BWZ, F_DBCS, F_EBCDIC, F_IBMCOMP, F_NONE, F_TRUNC, occurs, S_LEADING_INCLUDED, S_LEADING_SEPARATE, S_SIGNED_DEFAULT, S_TRAILING_INCLUDED, S_TRAILING_SEPARATE, S_UNSIGNED, T_ALPHANUMERIC, T_BCD, T_BINARY, T_DISPLAY, T_EDITED_ALPHANUMERIC, T_EDITED_DISPLAY, T_EDITED_FLOAT, T_FLOAT, T_PORTABLE_BINARY, T_UBCD |
Fields inherited from class com.microfocus.cobol.lang.internal.CobolBytes |
length, offset, record |
Constructor Summary | |
CobolAlphanumeric(CobolRecord record,
int id,
int offset,
int length,
int flags)
Creates a new Cobol alphanumeric data item. |
|
CobolAlphanumeric(CobolRecord record,
int id,
int offset,
int length,
int occurs,
int flags)
Creates a new Cobol alphanumeric data item. |
|
CobolAlphanumeric(CobolRecord record,
int id,
int offset,
int length,
int occurs,
int flags,
String picture)
Creates a new Cobol alphanumeric-edited data item. |
|
CobolAlphanumeric(CobolRecord record,
int id,
int offset,
int length,
int flags,
String picture)
Creates a new Cobol alphanumeric-edited data item. |
Method Summary | |
void |
setString(String data)
Set the CobolAlphanumeric to the specified String value |
String |
toString()
Convert the CobolAlphanumeric to its String representation |
Methods inherited from class com.microfocus.cobol.lang.internal.CobolBytes |
getBytesValue, getRecord, setBytes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CobolAlphanumeric(CobolRecord record, int id, int offset, int length, int occurs, int flags)
record
- The record area containing the data itemid
- An identifier for the data item that is unique within the record. Zero if none specifiedoffset
- The offset of the data item within the record area. (0 = start)length
- The number of bytes in the data itemoccurs
- The number of array entriesflags
- Additional type information. Valid flags are F_NONE, F_EBCDIC, F_DBCSICobolType
public CobolAlphanumeric(CobolRecord record, int id, int offset, int length, int flags)
record
- The record area containing the data itemid
- An identifier for the data item that is unique within the record. Zero if none specifiedoffset
- The offset of the data item within the record area. (0 = start)length
- The number of bytes in the data itemflags
- Additional type information. Valid flags are F_NONE, F_EBCDIC, F_DBCSICobolType
public CobolAlphanumeric(CobolRecord record, int id, int offset, int length, int occurs, int flags, String picture)
record
- The record area containing the data itemid
- An identifier for the data item that is unique within the record. Zero if none specifiedoffset
- The offset of the data item within the record area. (0 = start)length
- The number of bytes in the data itemoccurs
- The number of array entriesflags
- Additional type information. Valid flags are F_NONE, F_EBCDIC, F_DBCSpicture
- The Cobol picture clause of the alphanumeric edited data itemICobolType
public CobolAlphanumeric(CobolRecord record, int id, int offset, int length, int flags, String picture)
record
- The record area containing the data itemid
- An identifier for the data item that is unique within the record. Zero if none specifiedoffset
- The offset of the data item within the record area. (0 = start)length
- The number of bytes in the data item.flags
- Additional type information. Valid flags are F_NONE, F_EBCDIC, F_DBCSpicture
- The Cobol picture clause of the alphanumeric edited data item.ICobolType
Method Detail |
public void setString(String data) throws CobolRecordException
setString
in class CobolField
CobolRecordException
- If an error occurspublic String toString()
toString
in class CobolField
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2000 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.