public class FieldJcVariableAccess
extends java.lang.Object
VariableAccess_ifc
.
It is proper for the GUI-access.Modifier and Type | Field and Description |
---|---|
(package private) MemSegmJc |
instance
The instance where the field is member of.
|
(package private) int |
nrofArrayElements
If 0 then it is a scalar.
|
(package private) FieldJc |
theField
The field in the given instance.
|
(package private) long |
timeLastRefreshed |
(package private) long |
timeRequestRefresh |
static int |
version
Version, history and license.
|
Constructor and Description |
---|
FieldJcVariableAccess(java.lang.Object instance,
java.lang.reflect.Field theField) |
Modifier and Type | Method and Description |
---|---|
int |
getDimension(int dimension) |
double |
getDouble() |
double |
getDouble(int... ixArray) |
float |
getFloat() |
float |
getFloat(int... ixArray) |
int |
getInt() |
int |
getInt(int... ixArray) |
long |
getLastRefreshTime() |
long |
getLong() |
long |
getLong(int... ixArray) |
java.lang.String |
getString() |
java.lang.String |
getString(int... ixArray) |
long |
getTimeRequestRefresh() |
char |
getType() |
boolean |
isRefreshed() |
boolean |
isRequestedValue(long timeEarlyRequested,
boolean retryFaultyVariables) |
void |
requestValue() |
void |
requestValue(long timeRequested) |
void |
requestValue(long timeRequested,
java.lang.Runnable run) |
double |
setDouble(double value) |
double |
setDouble(double value,
int... ixArray) |
float |
setFloat(float value) |
float |
setFloat(float value,
int... ixArray) |
int |
setInt(int value) |
int |
setInt(int value,
int... ixArray) |
long |
setLong(long value) |
long |
setLong(long value,
int... ixArray) |
void |
setRefreshed(long time) |
java.lang.String |
setString(java.lang.String value) |
java.lang.String |
setString(java.lang.String value,
int... ixArray) |
public static final int version
getLong(int...)
and setLong(long, int...)
not implemented, only formal
requestValue(long)
etc. from VariableAccess_ifc
.
InspcMng#version
.
final FieldJc theField
long timeLastRefreshed
long timeRequestRefresh
MemSegmJc instance
int nrofArrayElements
public FieldJcVariableAccess(java.lang.Object instance, java.lang.reflect.Field theField)
public int getInt(int... ixArray)
public long getLong(int... ixArray)
public float getFloat(int... ixArray)
public float setFloat(float value, int... ixArray)
public double getDouble(int... ixArray)
public double setDouble(double value, int... ixArray)
public java.lang.String getString(int... ixArray)
public int setInt(int value, int... ixArray)
public long setLong(long value, int... ixArray)
public java.lang.String setString(java.lang.String value, int... ixArray)
public char getType()
public int getDimension(int dimension)
public void requestValue(long timeRequested)
public void requestValue()
public void requestValue(long timeRequested, java.lang.Runnable run)
public boolean isRequestedValue(long timeEarlyRequested, boolean retryFaultyVariables)
public boolean isRefreshed()
public long getLastRefreshTime()
public void setRefreshed(long time)
public long getTimeRequestRefresh()
public double getDouble()
public float getFloat()
public int getInt()
public long getLong()
public java.lang.String getString()
public double setDouble(double value)
public float setFloat(float value)
public int setInt(int value)
public long setLong(long value)
public java.lang.String setString(java.lang.String value)