public class StructureDataA extends StructureData
EMPTY
Constructor and Description |
---|
StructureDataA(ArrayStructure sa,
int recno)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
convertScalarDouble(StructureMembers.Member m)
Get scalar value as a double, with conversion as needed.
|
float |
convertScalarFloat(StructureMembers.Member m)
Get scalar value as a float, with conversion as needed.
|
int |
convertScalarInt(StructureMembers.Member m)
Get scalar value as a int, with conversion as needed.
|
long |
convertScalarLong(StructureMembers.Member m)
Get scalar value as a int, with conversion as needed.
|
Array |
getArray(StructureMembers.Member m)
Get member data array of any type as an Array.
|
ArraySequence |
getArraySequence(StructureMembers.Member m)
Get ArraySequence for a member of type Sequence.
|
ArrayStructure |
getArrayStructure(StructureMembers.Member m)
Get ArrayStructure for a member of type Structure.
|
byte[] |
getJavaArrayByte(StructureMembers.Member m)
Get member data of type byte array.
|
char[] |
getJavaArrayChar(StructureMembers.Member m)
Get member data of type char array.
|
double[] |
getJavaArrayDouble(StructureMembers.Member m)
Get java double array for a member of type double.
|
float[] |
getJavaArrayFloat(StructureMembers.Member m)
Get member data of type float array.
|
int[] |
getJavaArrayInt(StructureMembers.Member m)
Get member data of type int array.
|
long[] |
getJavaArrayLong(StructureMembers.Member m)
Get member data of type long array.
|
short[] |
getJavaArrayShort(StructureMembers.Member m)
Get member data of type short array.
|
String[] |
getJavaArrayString(StructureMembers.Member m)
Get java array of Strings for a member of type char or String.
|
byte |
getScalarByte(StructureMembers.Member m)
Get member data of type byte.
|
char |
getScalarChar(StructureMembers.Member m)
Get member data of type char.
|
double |
getScalarDouble(StructureMembers.Member m)
Get member data of type double.
|
float |
getScalarFloat(StructureMembers.Member m)
Get member data of type float.
|
int |
getScalarInt(StructureMembers.Member m)
Get member data of type int.
|
long |
getScalarLong(StructureMembers.Member m)
Get member data of type long.
|
short |
getScalarShort(StructureMembers.Member m)
Get member data of type short.
|
String |
getScalarString(StructureMembers.Member m)
Get member data of type String or 1D char.
|
StructureData |
getScalarStructure(StructureMembers.Member m)
Get member data of type Structure.
|
void |
showInternal(Formatter f,
Indent indent) |
convertScalarDouble, convertScalarFloat, convertScalarInt, convertScalarLong, findMember, getArray, getArraySequence, getArrayStructure, getJavaArrayByte, getJavaArrayChar, getJavaArrayDouble, getJavaArrayFloat, getJavaArrayInt, getJavaArrayLong, getJavaArrayShort, getJavaArrayString, getMembers, getName, getScalarByte, getScalarChar, getScalarDouble, getScalarFloat, getScalarInt, getScalarLong, getScalarObject, getScalarObject, getScalarShort, getScalarString, getScalarStructure, getStructureMembers, showInternalMembers, toString
public StructureDataA(ArrayStructure sa, int recno)
sa
- StructureData is always contained in a StructureArray.recno
- the recno in the StructureArray.public double convertScalarDouble(StructureMembers.Member m)
StructureData
convertScalarDouble
in class StructureData
m
- member Variable.public float convertScalarFloat(StructureMembers.Member m)
StructureData
convertScalarFloat
in class StructureData
m
- member Variable.public int convertScalarInt(StructureMembers.Member m)
StructureData
convertScalarInt
in class StructureData
m
- member Variable.public long convertScalarLong(StructureMembers.Member m)
StructureData
convertScalarLong
in class StructureData
m
- member Variable.public Array getArray(StructureMembers.Member m)
StructureData
getArray
in class StructureData
m
- get data from this StructureMembers.Member.public ArraySequence getArraySequence(StructureMembers.Member m)
StructureData
getArraySequence
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type Sequence.public ArrayStructure getArrayStructure(StructureMembers.Member m)
StructureData
getArrayStructure
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type Structure.public byte[] getJavaArrayByte(StructureMembers.Member m)
getJavaArrayByte
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type byte.public char[] getJavaArrayChar(StructureMembers.Member m)
getJavaArrayChar
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type char.public double[] getJavaArrayDouble(StructureMembers.Member m)
StructureData
getJavaArrayDouble
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type double.public float[] getJavaArrayFloat(StructureMembers.Member m)
getJavaArrayFloat
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type float.public int[] getJavaArrayInt(StructureMembers.Member m)
getJavaArrayInt
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type int.public long[] getJavaArrayLong(StructureMembers.Member m)
getJavaArrayLong
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type long.public short[] getJavaArrayShort(StructureMembers.Member m)
getJavaArrayShort
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type short.public String[] getJavaArrayString(StructureMembers.Member m)
StructureData
getJavaArrayString
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type char or String.public byte getScalarByte(StructureMembers.Member m)
getScalarByte
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type byte.public char getScalarChar(StructureMembers.Member m)
getScalarChar
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type char.public double getScalarDouble(StructureMembers.Member m)
StructureData
getScalarDouble
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type double.public float getScalarFloat(StructureMembers.Member m)
getScalarFloat
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type float.public int getScalarInt(StructureMembers.Member m)
getScalarInt
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type int.public long getScalarLong(StructureMembers.Member m)
getScalarLong
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type long.public short getScalarShort(StructureMembers.Member m)
getScalarShort
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type short.public String getScalarString(StructureMembers.Member m)
getScalarString
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type char.public StructureData getScalarStructure(StructureMembers.Member m)
StructureData
getScalarStructure
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type Structure.public void showInternal(Formatter f, Indent indent)
showInternal
in class StructureData