public final class LisProgramOverlayHeaderRecord extends LisRecord
This record defines an overlay load (Record Type 102) which follows.
See LIS 79 Documentation Section 4.1.12.
Threading:
This class is immutable.
LisRecord.Type
Constructor and Description |
---|
LisProgramOverlayHeaderRecord(String programName,
String phaseName,
String version,
Date tapeGenerationDate,
Date linkDate,
int loadAddress,
int loadSize,
int transferAddress)
Create a LIS program overlay header record.
|
Modifier and Type | Method and Description |
---|---|
Date |
getLinkDate()
Return link date of this LIS record.
|
int |
getLoadAddress()
Return load address for the program of this LIS record.
|
int |
getLoadSize()
Return load size of the program of this LIS record.
|
String |
getPhaseName()
Return phase name of this LIS record.
|
String |
getProgramName()
Return program name of this LIS record.
|
int |
getSize()
Return size (in bytes) of this record.
|
Date |
getTapeGenerationDate()
Return tape generation date of this LIS record.
|
int |
getTransferAddress()
Return transfer address of the program of this LIS record.
|
String |
getVersion()
Return program version of this LIS record.
|
getAttributes, getType, toString
public LisProgramOverlayHeaderRecord(String programName, String phaseName, String version, Date tapeGenerationDate, Date linkDate, int loadAddress, int loadSize, int transferAddress)
programName
- Program name. Non-null.phaseName
- Phase name. Non-null.version
- Version. Non-null.tapeGenerationDate
- Tape generation date. Null if not provided.linkDate
- Link date. Null if not provided.loadAddress
- Load address. [0,65535].loadSize
- Load size. [0,65535].transferAddress
- Transfer address. [0,65535].IllegalArgumentException
- If programName, phaseName or version is null, or
if loadAddress, loadSize or transferAddress is out of bounds.public String getProgramName()
public String getPhaseName()
public String getVersion()
public Date getTapeGenerationDate()
public Date getLinkDate()
public int getLoadAddress()
public int getLoadSize()
public int getTransferAddress()
Copyright © 2024 Petroware AS - https://petroware.no