public class DataDescriptor
extends java.lang.Object
Constructor and Description |
---|
DataDescriptor(short fxy,
BufrTableLookup lookup) |
Modifier and Type | Method and Description |
---|---|
float |
convert(long raw) |
static float |
convert(long raw,
int scale,
int refVal,
int bitWidth) |
boolean |
equals2(java.lang.Object o) |
int |
getBitWidth() |
int |
getByteWidthCDM()
Get the number of bytes the CDM datatype will take
|
java.lang.String |
getDesc() |
short |
getFxy() |
java.lang.String |
getFxyName() |
java.lang.String |
getName() |
int |
getRefVal() |
int |
getScale() |
java.lang.String |
getSource() |
java.util.List<DataDescriptor> |
getSubKeys() |
int |
getTotalBits() |
int |
getType() |
java.lang.String |
getUnits() |
int |
hashCode2() |
boolean |
isLocal() |
boolean |
isLocalOverride() |
boolean |
isOkForVariable() |
boolean |
isVarLength() |
java.lang.String |
toString() |
static void |
transferInfo(java.util.List<DataDescriptor> fromList,
java.util.List<DataDescriptor> toList)
Transfer info from the "proto message" to another message with the exact same structure.
|
public DataDescriptor(short fxy, BufrTableLookup lookup)
public java.util.List<DataDescriptor> getSubKeys()
public boolean isOkForVariable()
public boolean isLocal()
public boolean isLocalOverride()
public java.lang.String getFxyName()
public short getFxy()
public java.lang.String getName()
public java.lang.String getSource()
public int getType()
public int getScale()
public int getRefVal()
public java.lang.String getUnits()
public java.lang.String getDesc()
public float convert(long raw)
public static float convert(long raw, int scale, int refVal, int bitWidth)
public static void transferInfo(java.util.List<DataDescriptor> fromList, java.util.List<DataDescriptor> toList)
fromList
- transfer from heretoList
- to herepublic int getBitWidth()
public int getByteWidthCDM()
public java.lang.String toString()
toString
in class java.lang.Object
public int getTotalBits()
public boolean isVarLength()
public boolean equals2(java.lang.Object o)
public int hashCode2()