public static class LisDataFormatSpecificationRecord.Datum extends Object
Constructor and Description |
---|
Datum(String mnemonic,
String unit,
int nDimensions,
int representationCode)
Create a type 1 datum with default settings for N/A properties.
|
Datum(String mnemonic,
String unit,
int nDimensions,
int representationCode,
int size)
Create a type 1 datum with default settings for N/A properties.
|
Datum(String mnemonic,
String serviceId,
String serviceOrderNo,
String unit,
int apiCodes,
int fileNumber,
int dataSize,
int nSamples,
int representationCode,
int[] processIndicators)
Create a type 1 datum.
|
Datum(String mnemonic,
String serviceId,
String serviceOrderNo,
String unit,
int apiLogType,
int apiCurveType,
int apiCurveClass,
int apiModifier,
int fileNumber,
int dataSize,
int processLevel,
int nSamples,
int representationCode)
Create a type 0 datum.
|
Modifier and Type | Method and Description |
---|---|
int |
getApiCodes()
Return API codes of this datum.
|
int |
getApiCurveClass()
Return API curve class of this datum.
|
int |
getApiCurveType()
Return API curve type of this datum.
|
int |
getApiLogType()
Return API log type of this datum.
|
int |
getApiModifier()
Return API modifier of this datum.
|
int |
getDataSize()
Return size set a side for values of this curve per frame.
|
int |
getFileNumber()
Return file number of this datum.
|
String |
getMnemonic()
Return mnemonic (i.e.
|
int |
getNSamples()
Return number of samples per depth of this datum.
|
int[] |
getProcessIndicators()
Get process indicators of this datum.
|
int |
getProcessLevel()
Return process level of this datum.
|
int |
getRepresentationCode()
Return data type for the values of this datum.
|
String |
getServiceId()
Return service ID of this datum.
|
String |
getServiceOrderNo()
Return service order number of this datum.
|
int |
getType()
Return type of this datum.
|
String |
getUnit()
Return unit of this datum.
|
String |
toString() |
public Datum(String mnemonic, String serviceId, String serviceOrderNo, String unit, int apiLogType, int apiCurveType, int apiCurveClass, int apiModifier, int fileNumber, int dataSize, int processLevel, int nSamples, int representationCode)
mnemonic
- Curve mnemonic. Non-null.serviceId
- Service ID. Null if N/A.serviceOrderNo
- Service order no. Null if N/A.unit
- Curve unit. Null if N/A.apiLogType
- API log type. -1 if N/A.apiCurveType
- API curve type. -1 if N/A.apiCurveClass
- API curve class. -1 if N/A.apiModifier
- API modifier. -1 if N/A.fileNumber
- File number. -1 if N/A.dataSize
- Data size in bytes per depth. <0,>.processLevel
- Process level. -1 if N/A.nSamples
- Number of samples per depth. [1,>.representationCode
- Data type specification.IllegalArgumentException
- if mnemonic is null.IllegalArgumentException
- if dataSize <= 0.IllegalArgumentException
- if nSamples <= 0.IllegalArgumentException
- if representationCode is invalid.public Datum(String mnemonic, String serviceId, String serviceOrderNo, String unit, int apiCodes, int fileNumber, int dataSize, int nSamples, int representationCode, int[] processIndicators)
mnemonic
- Curve mnemonic. Non-null.serviceId
- Service ID. Null if N/A.serviceOrderNo
- Service order no. Null if N/A.unit
- Curve unit. Null if N/A.apiCodes
- API codes. -1 if N/A.fileNumber
- File number. -1 if N/A.dataSize
- Data size in bytes per depth. <0,>.nSamples
- Number of samples per depth. [1,>.representationCode
- Data type specification.processIndicators
- Array of five. Null if N/A.IllegalArgumentException
- if mnemonic is null.IllegalArgumentException
- if dataSize <= 0.IllegalArgumentException
- if nSamples <= 0.IllegalArgumentException
- if representationCode is invalid.public Datum(String mnemonic, String unit, int nDimensions, int representationCode)
mnemonic
- Curve mnemonic. Non-null.unit
- Curve unit. Null if N/A.nDimensions
- Number of dimensions in curve. [1,>.representationCode
- Data type specification.IllegalArgumentException
- if mnemonic is null.IllegalArgumentException
- if nDimensions <= 0.IllegalArgumentException
- if representationCode is invalid.public Datum(String mnemonic, String unit, int nDimensions, int representationCode, int size)
Have explicit setting for size needed if the datum represents ASCII text. In this case the size arguments specifies the longest possible text string of the curve.
mnemonic
- Curve mnemonic. Non-null.unit
- Curve unit. Null if N/A.nDimensions
- Number of dimensions in curve. [1,>.representationCode
- Data type specification.size
- Data size. <0,>.IllegalArgumentException
- if mnemonic is null.IllegalArgumentException
- if nDimensions <= 0.IllegalArgumentException
- if representationCode is invalid.IllegalArgumentException
- if size <= 0.public int getType()
public String getMnemonic()
public String getServiceId()
public String getServiceOrderNo()
public String getUnit()
public int getApiLogType()
public int getApiCurveType()
public int getApiCurveClass()
public int getApiModifier()
public int getApiCodes()
public int getFileNumber()
public int getDataSize()
public int getProcessLevel()
public int getNSamples()
public int getRepresentationCode()
public int[] getProcessIndicators()
Copyright © 2024 Petroware AS - https://petroware.no