public class DDMRecordFormat
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
DDMField |
getField(int index)
Returns the field at the specified index, or null if the index is not valid.
|
DDMField |
getField(java.lang.String fieldName)
Returns the field with the specified name, or null if no such field exists in this record format.
|
int |
getFieldCount()
Returns the number of fields in this record format.
|
java.lang.String |
getFile()
Returns the name of the file (WHFILE) for this record format.
|
int |
getLength()
Returns the total length in bytes of this record format.
|
java.lang.String |
getLibrary()
Returns the library (WHLIB) in which the file resides.
|
java.lang.String |
getName()
Returns the name (WHNAME) of this record format.
|
int |
getRecommendedBatchSize()
Returns the recommended batch size to use for reading or writing records with this record format.
|
java.lang.String |
getText()
Returns the text description (WHTEXT) of this record format.
|
java.lang.String |
getType()
Returns the file type (WHFTYP) of record format.
|
DDMRecordFormat |
newCopy()
Returns a new copy of this record format, which includes a new copy of each DDMField.
|
public DDMRecordFormat newCopy()
public java.lang.String getName()
public java.lang.String getLibrary()
public java.lang.String getFile()
public java.lang.String getType()
public java.lang.String getText()
public int getLength()
public int getRecommendedBatchSize()
public int getFieldCount()
public DDMField getField(int index)
public DDMField getField(java.lang.String fieldName)