public class HistoricDataQuery extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
HistoricDataQuery.TYPE |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
HistoricDataQuery() |
HistoricDataQuery(IMCDefinition defs) |
HistoricDataQuery(IMCMessage msg) |
HistoricDataQuery(int req_id,
HistoricDataQuery.TYPE type,
int max_size,
HistoricData data) |
Modifier and Type | Method and Description |
---|---|
static HistoricDataQuery |
clone(IMCMessage msg) |
static HistoricDataQuery |
create(java.lang.Object... values) |
HistoricData |
getData() |
int |
getMaxSize() |
int |
getReqId() |
HistoricDataQuery.TYPE |
getType() |
java.lang.String |
getTypeStr() |
short |
getTypeVal() |
HistoricDataQuery |
setData(HistoricData data) |
HistoricDataQuery |
setMaxSize(int max_size) |
HistoricDataQuery |
setReqId(int req_id) |
HistoricDataQuery |
setType(HistoricDataQuery.TYPE type) |
HistoricDataQuery |
setTypeStr(java.lang.String type) |
HistoricDataQuery |
setTypeVal(short type) |
asJSON, asJSON, asMap, asXml, asXmlStripped, cloneMessage, cloneMessage, compareTo, copyFrom, copyToClipoard, decodeTupleList, dump, encodeTupleList, get, getAbbrev, getAgeInSeconds, getAsNumber, getAsString, getBitmask, getDate, getDouble, getDst, getDstEnt, getEntityName, getFieldNames, getFloat, getHeader, getHeaderValue, getInteger, getLong, getLongFieldName, getLongName, getMessage, getMessage, getMessageInfo, getMessageList, getMessageList, getMessageType, getMgid, getPayloadSize, getProtocolFactory, getRawData, getSize, getSourceName, getSrc, getSrcEnt, getString, getString, getTimestamp, getTimestampMillis, getTupleList, getTypeOf, getUnitsOf, getValue, getValues, hasFlag, hexdump, isNull, isPeriodic, makeImmutable, parseJson, parseXml, pasteFromClipoard, payloadMD5, serialize, serialize, serialize, serializePayload, setBitMask, setDst, setDstEnt, setHeader, setMessageInfo, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toByteArray, toByteArray, toString, validate
public static final int ID_STATIC
public HistoricDataQuery()
public HistoricDataQuery(IMCMessage msg)
public HistoricDataQuery(IMCDefinition defs)
public HistoricDataQuery(int req_id, HistoricDataQuery.TYPE type, int max_size, HistoricData data)
public static HistoricDataQuery create(java.lang.Object... values)
public static HistoricDataQuery clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public int getReqId()
public HistoricDataQuery setReqId(int req_id)
req_id
- Request Idpublic HistoricDataQuery.TYPE getType()
public java.lang.String getTypeStr()
public short getTypeVal()
public HistoricDataQuery setType(HistoricDataQuery.TYPE type)
type
- Request Type (enumerated)public HistoricDataQuery setTypeStr(java.lang.String type)
type
- Request Type (as a String)public HistoricDataQuery setTypeVal(short type)
type
- Request Type (integer value)public int getMaxSize()
public HistoricDataQuery setMaxSize(int max_size)
max_size
- Maximum Sizepublic HistoricData getData()
public HistoricDataQuery setData(HistoricData data)
data
- Data