# Class: com.pnfsoftware.jeb.core.dao.impl.JDB2Reader.RecordDescription

Description of a JDB2 record located in a database file.

## Constructor: RecordDescription
- parameter: `type`, type: `int`
- parameter: `flags`, type: `int`
- parameter: `crcValue`, type: `java.lang.Integer`
- parameter: `dataOffset`, type: `long`
- parameter: `dataSize`, type: `int`

Description: Create a record description.
parameter: type: record type
parameter: flags: record flags
parameter: crcValue: optional CRC value
parameter: dataOffset: absolute offset of the payload in the JDB2 file
parameter: dataSize: payload size in bytes

## Method: getCrcValue
- return type: `int`

Description: Get the stored CRC value for the record payload.
return: the CRC value

## Method: getFlags
- return type: `int`

Description: Get the record flags.
return: the record flags

## Method: getOffsetToData
- return type: `long`

Description: Get the absolute offset of the record payload in the JDB2 file.
return: the payload offset

## Method: getSizeOfData
- return type: `int`

Description: Get the payload size in bytes.
return: the payload size

## Method: getType
- return type: `int`

Description: Get the record type.
return: the record type

