public class StructureDataProxy extends StructureData
EMPTY
Constructor and Description |
---|
StructureDataProxy(StructureMembers members,
StructureData org) |
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 java byte array for a member of type byte.
|
char[] |
getJavaArrayChar(StructureMembers.Member m)
Get java char array for a member of type char.
|
double[] |
getJavaArrayDouble(StructureMembers.Member m)
Get java double array for a member of type double.
|
float[] |
getJavaArrayFloat(StructureMembers.Member m)
Get java float array for a member of type float.
|
int[] |
getJavaArrayInt(StructureMembers.Member m)
Get java int array for a member of type int.
|
long[] |
getJavaArrayLong(StructureMembers.Member m)
Get java long array for a member of type long.
|
short[] |
getJavaArrayShort(StructureMembers.Member m)
Get java short array for a member of type short.
|
String[] |
getJavaArrayString(StructureMembers.Member m)
Get java array of Strings for a member of type char or String.
|
StructureData |
getOriginalStructureData() |
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.
|
Object |
getScalarObject(StructureMembers.Member m)
Get member data array of any type as an Object, eg, Float, Double, String etc.
|
short |
getScalarShort(StructureMembers.Member m)
Get member data of type short.
|
String |
getScalarString(StructureMembers.Member m)
Get String value, from rank 0 String or rank 1 char member array.
|
StructureData |
getScalarStructure(StructureMembers.Member m)
Get member data of type Structure.
|
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, getScalarShort, getScalarString, getScalarStructure, getStructureMembers, showInternal, showInternalMembers, toString
public StructureDataProxy(StructureMembers members, StructureData org)
public StructureData getOriginalStructureData()
public Array getArray(StructureMembers.Member m)
StructureData
getArray
in class StructureData
m
- get data from this StructureMembers.Member.public float convertScalarFloat(StructureMembers.Member m)
StructureData
convertScalarFloat
in class StructureData
m
- member Variable.public double convertScalarDouble(StructureMembers.Member m)
StructureData
convertScalarDouble
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 double getScalarDouble(StructureMembers.Member m)
StructureData
getScalarDouble
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type double.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 getScalarFloat(StructureMembers.Member m)
StructureData
getScalarFloat
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type float.public float[] getJavaArrayFloat(StructureMembers.Member m)
StructureData
getJavaArrayFloat
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type float.public byte getScalarByte(StructureMembers.Member m)
StructureData
getScalarByte
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type byte.public byte[] getJavaArrayByte(StructureMembers.Member m)
StructureData
getJavaArrayByte
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type byte.public int getScalarInt(StructureMembers.Member m)
StructureData
getScalarInt
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type int.public int[] getJavaArrayInt(StructureMembers.Member m)
StructureData
getJavaArrayInt
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type int.public short getScalarShort(StructureMembers.Member m)
StructureData
getScalarShort
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type short.public short[] getJavaArrayShort(StructureMembers.Member m)
StructureData
getJavaArrayShort
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type short.public long getScalarLong(StructureMembers.Member m)
StructureData
getScalarLong
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type long.public long[] getJavaArrayLong(StructureMembers.Member m)
StructureData
getJavaArrayLong
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type long.public char getScalarChar(StructureMembers.Member m)
StructureData
getScalarChar
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type char.public char[] getJavaArrayChar(StructureMembers.Member m)
StructureData
getJavaArrayChar
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type char.public String getScalarString(StructureMembers.Member m)
StructureData
getScalarString
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type char or String.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 StructureData getScalarStructure(StructureMembers.Member m)
StructureData
getScalarStructure
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type Structure.public ArrayStructure getArrayStructure(StructureMembers.Member m)
StructureData
getArrayStructure
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type Structure.public ArraySequence getArraySequence(StructureMembers.Member m)
StructureData
getArraySequence
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type Sequence.public Object getScalarObject(StructureMembers.Member m)
StructureData
getScalarObject
in class StructureData
m
- get data from this StructureMembers.Member.