|
TANGO Java API ( TangORB-7.3.3.jar) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfr.esrf.TangoApi.DeviceDataHistoryDAODefaultImpl
public class DeviceDataHistoryDAODefaultImpl
Class Description:
This class manage data object for Tango device history Data access.
Usage example:
| Constructor Summary | |
|---|---|
DeviceDataHistoryDAODefaultImpl()
|
|
| Method Summary | |
|---|---|
org.omg.CORBA.Any |
extractAny(DeviceDataHistory deviceDataHistory)
extract method for a CORBA Any. |
boolean |
extractBoolean(DeviceDataHistory deviceDataHistory)
extract method for a boolean. |
boolean[] |
extractBooleanArray(DeviceDataHistory deviceDataHistory)
extract method for a byte Array. |
byte[] |
extractByteArray(DeviceDataHistory deviceDataHistory)
extract method for a byte Array. |
DevEncoded |
extractDevEncoded(DeviceDataHistory deviceDataHistory)
extract method for an DevEncoded |
DevEncoded[] |
extractDevEncodedArray(DeviceDataHistory deviceDataHistory)
extract method for a DevEncoded Array. |
DevState |
extractDevState(DeviceDataHistory deviceDataHistory)
extract method for an DevState. |
DevState[] |
extractDevStateArray(DeviceDataHistory deviceDataHistory)
extract method for an DevState Array. |
double |
extractDouble(DeviceDataHistory deviceDataHistory)
extract method for a double. |
double[] |
extractDoubleArray(DeviceDataHistory deviceDataHistory)
extract method for a double Array. |
DevVarDoubleStringArray |
extractDoubleStringArray(DeviceDataHistory deviceDataHistory)
extract method for a DevVarDoubleStringArray. |
float |
extractFloat(DeviceDataHistory deviceDataHistory)
extract method for a float. |
float[] |
extractFloatArray(DeviceDataHistory deviceDataHistory)
extract method for a float Array. |
int |
extractLong(DeviceDataHistory deviceDataHistory)
extract method for a long. |
long |
extractLong64(DeviceDataHistory deviceDataHistory)
extract method for a long. |
long[] |
extractLong64Array(DeviceDataHistory deviceDataHistory)
extract method for a long Array. |
int[] |
extractLongArray(DeviceDataHistory deviceDataHistory)
extract method for a long Array. |
DevVarLongStringArray |
extractLongStringArray(DeviceDataHistory deviceDataHistory)
extract method for a DevVarLongStringArray. |
short |
extractShort(DeviceDataHistory deviceDataHistory)
extract method for a short. |
short[] |
extractShortArray(DeviceDataHistory deviceDataHistory)
extract method for a short Array. |
java.lang.String |
extractString(DeviceDataHistory deviceDataHistory)
extract method for a String. |
java.lang.String[] |
extractStringArray(DeviceDataHistory deviceDataHistory)
extract method for a String Array. |
short |
extractUChar(DeviceDataHistory deviceDataHistory)
extract method for an unsigned char. |
short[] |
extractUCharArray(DeviceDataHistory deviceDataHistory)
extract method for an unsigned char Array. |
int |
extractULong(DeviceDataHistory deviceDataHistory)
extract method for an unsigned long. |
long |
extractULong64(DeviceDataHistory deviceDataHistory)
extract method for a long. |
long[] |
extractULong64Array(DeviceDataHistory deviceDataHistory)
extract method for a long Array. |
int[] |
extractULongArray(DeviceDataHistory deviceDataHistory)
extract method for an unsigned long Array. |
short |
extractUShort(DeviceDataHistory deviceDataHistory)
extract method for an unsigned short. |
short[] |
extractUShortArray(DeviceDataHistory deviceDataHistory)
extract method for an unsigned short Array. |
AttrQuality |
getAttrQuality(DeviceDataHistory deviceDataHistory)
return AttrQuality if from attribute. |
int |
getDataLength(DeviceDataHistory ddh)
|
int |
getDimX(DeviceDataHistory deviceDataHistory)
Return attribute dim_x if from attribute. |
int |
getDimY(DeviceDataHistory deviceDataHistory)
Return attribute dim_y if from attribute. |
DevError[] |
getErrStack(DeviceDataHistory deviceDataHistory)
Returns the attribute errors list |
java.lang.String |
getName(DeviceDataHistory deviceDataHistory)
Return attribute name. |
int |
getNbRead(DeviceDataHistory deviceDataHistory)
Return number of data read. |
int |
getNbWritten(DeviceDataHistory deviceDataHistory)
Return number of data written. |
long |
getTime(DeviceDataHistory deviceDataHistory)
return time in milliseconds since EPOCH to build a Date class. |
TimeVal |
getTimeVal(DeviceDataHistory deviceDataHistory)
Return attribute time value. |
long |
getTimeValSec(DeviceDataHistory deviceDataHistory)
Return attribute time value in seconds since EPOCH. |
int |
getType(DeviceDataHistory deviceDataHistory)
Returns attribute Tango type. |
int |
getWrittenDimX(DeviceDataHistory deviceDataHistory)
Return attribute written dim_x. |
int |
getWrittenDimY(DeviceDataHistory deviceDataHistory)
Return attribute written dim_y. |
boolean |
hasFailed(DeviceDataHistory deviceDataHistory)
Returns true is attribute failed |
void |
init(DeviceDataHistory deviceDataHistory,
DevAttrHistory_3 att_histo)
Constructor from an AttributeValue for Device_3Impl. |
void |
init(DeviceDataHistory deviceDataHistory,
DevAttrHistory att_histo)
Constructor from an AttributeValue. |
void |
init(DeviceDataHistory deviceDataHistory,
java.lang.String cmdname,
DevCmdHistory cmd_hist)
Constructor from a DevCmdHistory. |
void |
init(DeviceDataHistory deviceDataHistory,
java.lang.String name,
int source,
long t)
Constructor from an AttributeValue for Device_4Impl. |
void |
init(DeviceDataHistory deviceDataHistory,
java.lang.String name,
int source,
TimeVal time)
Constructor from an AttributeValue for Device_4Impl. |
int |
insert(DeviceDataHistory ddh,
boolean[] values,
int base)
Insert values between base and (base-length) if not failed and return base for next insertion. |
int |
insert(DeviceDataHistory ddh,
DevEncoded[] values,
int base)
Insert values between base and (base-length) if not failed and return base for next insertion. |
int |
insert(DeviceDataHistory ddh,
DevState[] values,
int base)
Insert values between base and (base-length) if not failed and return base for next insertion. |
int[] |
insert(DeviceDataHistory ddh,
DevVarDoubleStringArray dsa,
int[] bases)
Insert values between base and (base-length) if not failed and return base for next insertion. |
int[] |
insert(DeviceDataHistory ddh,
DevVarLongStringArray lsa,
int[] bases)
Insert values between base and (base-length) if not failed and return base for next insertion. |
void |
insert(DeviceDataHistory ddh,
double[] values)
Insert values |
int |
insert(DeviceDataHistory ddh,
double[] values,
int base)
Insert values between base and (base-length) if not failed and return base for next insertion. |
int |
insert(DeviceDataHistory ddh,
float[] values,
int base)
Insert values between base and (base-length) if not failed and return base for next insertion. |
int |
insert(DeviceDataHistory ddh,
int[] values,
int base)
Insert values between base and (base-length) if not failed and return base for next insertion. |
int |
insert(DeviceDataHistory ddh,
long[] values,
int base)
Insert values between base and (base-length) if not failed and return base for next insertion. |
int |
insert(DeviceDataHistory ddh,
short[] values,
int base)
Insert values between base and (base-length) if not failed and return base for next insertion. |
void |
insert(DeviceDataHistory ddh,
java.lang.String[] values)
Insert values |
int |
insert(DeviceDataHistory ddh,
java.lang.String[] values,
int base)
Insert values between base and (base-length) if not failed and return base for next insertion. |
void |
setAttrQuality(DeviceDataHistory deviceDataHistory,
AttrQuality q)
Set AttrQuality if from attribute. |
void |
setDimX(DeviceDataHistory deviceDataHistory,
int dim)
Ret Seturn attribute dim_x if from attribute. |
void |
setDimY(DeviceDataHistory deviceDataHistory,
int dim)
Ret Seturn attribute dim_y if from attribute. |
void |
setErrStack(DeviceDataHistory deviceDataHistory,
DevError[] err)
Set the attribute errors list |
void |
setTimeVal(DeviceDataHistory deviceDataHistory,
TimeVal tval)
Set attribute time value. |
void |
setWrittenDimX(DeviceDataHistory deviceDataHistory,
int dim)
Set attribute written dim_x. |
void |
setWrittenDimY(DeviceDataHistory deviceDataHistory,
int dim)
Set attribute written dim_y. |
org.omg.CORBA.TypeCode |
type(DeviceDataHistory deviceDataHistory)
Returns the attribute type |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeviceDataHistoryDAODefaultImpl()
| Method Detail |
|---|
public void init(DeviceDataHistory deviceDataHistory,
java.lang.String cmdname,
DevCmdHistory cmd_hist)
throws DevFailed
init in interface IDeviceDataHistoryDAODevFailed
public void init(DeviceDataHistory deviceDataHistory,
DevAttrHistory att_histo)
throws DevFailed
init in interface IDeviceDataHistoryDAODevFailed
public void init(DeviceDataHistory deviceDataHistory,
DevAttrHistory_3 att_histo)
throws DevFailed
init in interface IDeviceDataHistoryDAODevFailed
public void init(DeviceDataHistory deviceDataHistory,
java.lang.String name,
int source,
TimeVal time)
throws DevFailed
init in interface IDeviceDataHistoryDAODevFailed
public void init(DeviceDataHistory deviceDataHistory,
java.lang.String name,
int source,
long t)
throws DevFailed
init in interface IDeviceDataHistoryDAODevFailed
public void setTimeVal(DeviceDataHistory deviceDataHistory,
TimeVal tval)
setTimeVal in interface IDeviceDataHistoryDAOpublic TimeVal getTimeVal(DeviceDataHistory deviceDataHistory)
getTimeVal in interface IDeviceDataHistoryDAOpublic long getTimeValSec(DeviceDataHistory deviceDataHistory)
getTimeValSec in interface IDeviceDataHistoryDAOpublic long getTime(DeviceDataHistory deviceDataHistory)
getTime in interface IDeviceDataHistoryDAO
public void setAttrQuality(DeviceDataHistory deviceDataHistory,
AttrQuality q)
throws DevFailed
setAttrQuality in interface IDeviceDataHistoryDAODevFailed
public AttrQuality getAttrQuality(DeviceDataHistory deviceDataHistory)
throws DevFailed
getAttrQuality in interface IDeviceDataHistoryDAODevFailed
public void setDimX(DeviceDataHistory deviceDataHistory,
int dim)
throws DevFailed
setDimX in interface IDeviceDataHistoryDAODevFailed
public void setDimY(DeviceDataHistory deviceDataHistory,
int dim)
throws DevFailed
setDimY in interface IDeviceDataHistoryDAODevFailed
public int getDimX(DeviceDataHistory deviceDataHistory)
throws DevFailed
getDimX in interface IDeviceDataHistoryDAODevFailed
public int getDimY(DeviceDataHistory deviceDataHistory)
throws DevFailed
getDimY in interface IDeviceDataHistoryDAODevFailedpublic boolean hasFailed(DeviceDataHistory deviceDataHistory)
hasFailed in interface IDeviceDataHistoryDAO
public void setErrStack(DeviceDataHistory deviceDataHistory,
DevError[] err)
setErrStack in interface IDeviceDataHistoryDAOpublic DevError[] getErrStack(DeviceDataHistory deviceDataHistory)
getErrStack in interface IDeviceDataHistoryDAOpublic java.lang.String getName(DeviceDataHistory deviceDataHistory)
getName in interface IDeviceDataHistoryDAOpublic int getNbRead(DeviceDataHistory deviceDataHistory)
getNbRead in interface IDeviceDataHistoryDAOpublic int getNbWritten(DeviceDataHistory deviceDataHistory)
getNbWritten in interface IDeviceDataHistoryDAO
public void setWrittenDimX(DeviceDataHistory deviceDataHistory,
int dim)
setWrittenDimX in interface IDeviceDataHistoryDAO
public void setWrittenDimY(DeviceDataHistory deviceDataHistory,
int dim)
setWrittenDimY in interface IDeviceDataHistoryDAOpublic int getWrittenDimX(DeviceDataHistory deviceDataHistory)
getWrittenDimX in interface IDeviceDataHistoryDAOpublic int getWrittenDimY(DeviceDataHistory deviceDataHistory)
getWrittenDimY in interface IDeviceDataHistoryDAO
public org.omg.CORBA.Any extractAny(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractAny in interface IDeviceDataHistoryDAODevFailed
public boolean extractBoolean(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractBoolean in interface IDeviceDataHistoryDAODevFailed
public short extractUChar(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractUChar in interface IDeviceDataHistoryDAODevFailed
public short extractShort(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractShort in interface IDeviceDataHistoryDAODevFailed
public short extractUShort(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractUShort in interface IDeviceDataHistoryDAODevFailed
public int extractLong(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractLong in interface IDeviceDataHistoryDAODevFailed
public int extractULong(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractULong in interface IDeviceDataHistoryDAODevFailed
public long extractLong64(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractLong64 in interface IDeviceDataHistoryDAODevFailed - in case of read_attribute failed
or if AttrQuality is ATTR_INVALID.
public long extractULong64(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractULong64 in interface IDeviceDataHistoryDAODevFailed - in case of read_attribute failed
or if AttrQuality is ATTR_INVALID.
public float extractFloat(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractFloat in interface IDeviceDataHistoryDAODevFailed
public double extractDouble(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractDouble in interface IDeviceDataHistoryDAODevFailed
public java.lang.String extractString(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractString in interface IDeviceDataHistoryDAODevFailed
public DevState extractDevState(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractDevState in interface IDeviceDataHistoryDAODevFailed - in case of read_attribute failed
or if AttrQuality is ATTR_INVALID.
public DevEncoded extractDevEncoded(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractDevEncoded in interface IDeviceDataHistoryDAODevFailed - in case of read_attribute failed
or if AttrQuality is ATTR_INVALID.
public boolean[] extractBooleanArray(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractBooleanArray in interface IDeviceDataHistoryDAODevFailed
public byte[] extractByteArray(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractByteArray in interface IDeviceDataHistoryDAODevFailed
public short[] extractUCharArray(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractUCharArray in interface IDeviceDataHistoryDAODevFailed
public short[] extractShortArray(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractShortArray in interface IDeviceDataHistoryDAODevFailed
public short[] extractUShortArray(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractUShortArray in interface IDeviceDataHistoryDAODevFailed
public int[] extractLongArray(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractLongArray in interface IDeviceDataHistoryDAODevFailed
public int[] extractULongArray(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractULongArray in interface IDeviceDataHistoryDAODevFailed
public long[] extractLong64Array(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractLong64Array in interface IDeviceDataHistoryDAODevFailed - in case of read_attribute failed
or if AttrQuality is ATTR_INVALID.
public long[] extractULong64Array(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractULong64Array in interface IDeviceDataHistoryDAODevFailed - in case of read_attribute failed
or if AttrQuality is ATTR_INVALID.
public float[] extractFloatArray(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractFloatArray in interface IDeviceDataHistoryDAODevFailed
public double[] extractDoubleArray(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractDoubleArray in interface IDeviceDataHistoryDAODevFailed
public java.lang.String[] extractStringArray(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractStringArray in interface IDeviceDataHistoryDAODevFailed
public DevState[] extractDevStateArray(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractDevStateArray in interface IDeviceDataHistoryDAODevFailed - in case of read_attribute failed
or if AttrQuality is ATTR_INVALID.
public DevEncoded[] extractDevEncodedArray(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractDevEncodedArray in interface IDeviceDataHistoryDAODevFailed
public DevVarLongStringArray extractLongStringArray(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractLongStringArray in interface IDeviceDataHistoryDAODevFailed
public DevVarDoubleStringArray extractDoubleStringArray(DeviceDataHistory deviceDataHistory)
throws DevFailed
extractDoubleStringArray in interface IDeviceDataHistoryDAODevFailedpublic org.omg.CORBA.TypeCode type(DeviceDataHistory deviceDataHistory)
type in interface IDeviceDataHistoryDAO
public int getType(DeviceDataHistory deviceDataHistory)
throws DevFailed
IDeviceDataHistoryDAO
getType in interface IDeviceDataHistoryDAODevFailed
public int getDataLength(DeviceDataHistory ddh)
throws DevFailed
getDataLength in interface IDeviceDataHistoryDAODevFailed
public int insert(DeviceDataHistory ddh,
boolean[] values,
int base)
throws DevFailed
insert in interface IDeviceDataHistoryDAOddh - DeviceDataHistory object.values - values to be insertedbase - base index to start to get values
DevFailed
public int insert(DeviceDataHistory ddh,
short[] values,
int base)
throws DevFailed
insert in interface IDeviceDataHistoryDAOddh - DeviceDataHistory object.values - values to be insertedbase - base index to start to get values
DevFailed
public int insert(DeviceDataHistory ddh,
int[] values,
int base)
throws DevFailed
insert in interface IDeviceDataHistoryDAOddh - DeviceDataHistory object.values - values to be insertedbase - base index to start to get values
DevFailed
public int insert(DeviceDataHistory ddh,
long[] values,
int base)
throws DevFailed
insert in interface IDeviceDataHistoryDAOddh - DeviceDataHistory object.values - values to be insertedbase - base index to start to get values
DevFailed
public int insert(DeviceDataHistory ddh,
float[] values,
int base)
throws DevFailed
insert in interface IDeviceDataHistoryDAOddh - DeviceDataHistory object.values - values to be insertedbase - base index to start to get values
DevFailed
public int insert(DeviceDataHistory ddh,
double[] values,
int base)
throws DevFailed
insert in interface IDeviceDataHistoryDAOddh - DeviceDataHistory object.values - values to be insertedbase - base index to start to get values
DevFailed
public int insert(DeviceDataHistory ddh,
java.lang.String[] values,
int base)
throws DevFailed
insert in interface IDeviceDataHistoryDAOddh - DeviceDataHistory object.values - values to be insertedbase - base index to start to get values
DevFailed
public int insert(DeviceDataHistory ddh,
DevState[] values,
int base)
throws DevFailed
insert in interface IDeviceDataHistoryDAOddh - DeviceDataHistory object.values - values to be insertedbase - base index to start to get values
DevFailed
public int insert(DeviceDataHistory ddh,
DevEncoded[] values,
int base)
throws DevFailed
insert in interface IDeviceDataHistoryDAOddh - DeviceDataHistory object.values - values to be insertedbase - base index to start to get values
DevFailed
public int[] insert(DeviceDataHistory ddh,
DevVarLongStringArray lsa,
int[] bases)
throws DevFailed
insert in interface IDeviceDataHistoryDAOddh - DeviceDataHistory object.lsa - values to be insertedbases - strin base index and numeric base insex to start to get values
DevFailed
public int[] insert(DeviceDataHistory ddh,
DevVarDoubleStringArray dsa,
int[] bases)
throws DevFailed
insert in interface IDeviceDataHistoryDAOddh - DeviceDataHistory object.dsa - values to be insertedbases - strin base index and numeric base insex to start to get values
DevFailed
public void insert(DeviceDataHistory ddh,
double[] values)
throws DevFailed
insert in interface IDeviceDataHistoryDAOvalues - values to be inserted
DevFailed
public void insert(DeviceDataHistory ddh,
java.lang.String[] values)
throws DevFailed
insert in interface IDeviceDataHistoryDAOvalues - values to be inserted
DevFailed
|
TANGO Java API ( TangORB-7.3.3.jar) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||