public abstract class DlisType extends Object
See RP66 V1 Appendix B. The generic base class is DlisType that each specific type derives from.
Modifier and Type | Class and Description |
---|---|
static class |
DlisType.ASCII
Representation of the DLIS type ASCII.
|
static class |
DlisType.ATTREF
Representation of the DLIS type ATTREF.
|
static class |
DlisType.BINARY
Representation of the DLIS type BINARY.
|
static class |
DlisType.CDOUBL
Representation of the DLIS type CDOUBL.
|
static class |
DlisType.CSINGL
Representation of the DLIS type CSINGL.
|
static class |
DlisType.DRATIO
Representation of the DLIS type DRATIO.
|
static class |
DlisType.DTIME
Representation of the DLIS type DTIME.
|
static class |
DlisType.FDOUB1
Representation of the DLIS type FDOUB1.
|
static class |
DlisType.FDOUB2
Representation of the DLIS type FDOUB2.
|
static class |
DlisType.FDOUBL
Representation of the DLIS type FDOUBL.
|
static class |
DlisType.FRATIO
Representation of the DLIS type FRATIO.
|
static class |
DlisType.FSHORT
Representation of the DLIS type FSHORT.
|
static class |
DlisType.FSING1
Representation of the DLIS type FSING1.
|
static class |
DlisType.FSING2
Representation of the DLIS type FSING2.
|
static class |
DlisType.FSINGL
Representation of the DLIS type FSINGL.
|
static class |
DlisType.IDENT
Representation of the DLIS type IDENT.
|
static class |
DlisType.IRLONG
Representation of the DLIS type IRLONG.
|
static class |
DlisType.IRNORM
Representation of the DLIS type IRNORM.
|
static class |
DlisType.ISINGL
Representation of the DLIS type ISINGL.
|
static class |
DlisType.ISLONG
Representation of the DLIS type ISLONG.
|
static class |
DlisType.ISNORM
Representation of the DLIS type ISNORM.
|
static class |
DlisType.IULONG
Representation of the DLIS type IULONG.
|
static class |
DlisType.IUNORM
Representation of the DLIS type IUNORM.
|
static class |
DlisType.LOGICL
Representation of the DLIS type LOGICL.
|
static class |
DlisType.OBJREF
Representation of the DLIS type OBJREF.
|
static class |
DlisType.OBNAME
Representation of the DLIS type OBNAME.
|
static class |
DlisType.ORIGIN
Representation of the DLIS type ORIGIN.
|
static class |
DlisType.RLONG
Representation of the DLIS type RLONG.
|
static class |
DlisType.RNORM
Representation of the DLIS type RNORM.
|
static class |
DlisType.SLONG
Representation of the DLIS type SLONG.
|
static class |
DlisType.SNORM
Representation of the DLIS type SNORM.
|
static class |
DlisType.SSHORT
Representation of the DLIS type SSHORT.
|
static class |
DlisType.STATUS
Representation of the DLIS type STATUS.
|
static class |
DlisType.TASCII
Representation of the DLIS type TASCII.
|
static class |
DlisType.TIDENT
Representation of the DLIS type TIDENT.
|
static class |
DlisType.TUNORM
Representation of the DLIS type TUNORM.
|
static class |
DlisType.ULONG
Representation of the DLIS type ULONG.
|
static class |
DlisType.UNITS
Representation of the DLIS type UNITS.
|
static class |
DlisType.UNORM
Representation of the DLIS type UNORM.
|
static class |
DlisType.USHORT
Representation of the DLIS type USHORT.
|
static class |
DlisType.UVARI
Representation of the DLIS type UVARI.
|
static class |
DlisType.VSINGL
Representation of the DLIS type VSINGL.
|
Constructor and Description |
---|
DlisType() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
Double |
getAsDouble()
Return the value of this instance as a double.
|
Integer |
getAsInteger()
Return the value of this instance as an integer.
|
String |
getAsString()
Return a string representation of this instance.
|
abstract Object |
getValue()
Return the value of this instance.
|
Class<?> |
getValueType()
Return the Java type of the value of this instance.
|
int |
hashCode() |
boolean |
isNoValue()
Check if the value of this instance represents a no-value.
|
abstract void |
setValue(Object v)
Set the value of this instance.
|
public abstract Object getValue()
public abstract void setValue(Object v)
v
- The value to set. May be null to indicate
absent, in case the no-value for the type will be
set instead.public Class<?> getValueType()
public boolean isNoValue()
public String getAsString()
public Double getAsDouble()
public Integer getAsInteger()
Copyright © 2024 Petroware AS - https://petroware.no