Previous Table of Contents Next


7.3.7 RecordFile


   A RecordFile is the definition of a file. It may have one or more RecordDefs, defining the structure of the records in the file. Each of these RecordDefs defines a valid structure for records in the file. Subclasses of RecordFile in extensions to support specific languages and systems may be used to represent specific types of files such as COBOL CopyLib files and C-language header files.

   Physical deployments of a RecordFile can be found via the DataManagerDataPackage association in the SoftwareDeployment package.

   Superclasses

   Package

   Attributes

   isSelfDescribing recordDelimiter

True if the contents of fields in the first record of the file contain field names applicable to subsequent records.

type:

multiplicity:

Boolean
exactly one

Contains the value that serves as a logical end-of-record indication in a stream-oriented file. A common example includes the usage of carriage-return characters and carriage-return/linefeed character pairs as new-line characters in ASCII text files.

type:

multiplicity:

String
zero or one

   skipRecords

The number of records to ignore at the beginning of a file. The specific semantics of records that are skipped may be beyond the scope of CWM.

type:

multiplicity:

Integer
zero or one

   References

   record

The record definitions used to describe the layout of individual record instances stored in the file. The ordering of these RecordDefs may be used to indicate the physical sequence in which records of various types are expected.

class:

defined by:

multiplicity:

inverse:

RecordDef
RecordToFile::record
zero or more; ordered
RecordDef::file