public class TrexAttribute extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
TrexAttribute.ATTR_TYPE |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
TrexAttribute() |
TrexAttribute(IMCDefinition defs) |
TrexAttribute(IMCMessage msg) |
TrexAttribute(java.lang.String name,
TrexAttribute.ATTR_TYPE attr_type,
java.lang.String min,
java.lang.String max) |
Modifier and Type | Method and Description |
---|---|
static TrexAttribute |
clone(IMCMessage msg) |
static TrexAttribute |
create(java.lang.Object... values) |
TrexAttribute.ATTR_TYPE |
getAttrType() |
java.lang.String |
getAttrTypeStr() |
short |
getAttrTypeVal() |
java.lang.String |
getMax() |
java.lang.String |
getMin() |
java.lang.String |
getName() |
TrexAttribute |
setAttrType(TrexAttribute.ATTR_TYPE attr_type) |
TrexAttribute |
setAttrTypeStr(java.lang.String attr_type) |
TrexAttribute |
setAttrTypeVal(short attr_type) |
TrexAttribute |
setMax(java.lang.String max) |
TrexAttribute |
setMin(java.lang.String min) |
TrexAttribute |
setName(java.lang.String name) |
asJSON, asJSON, asMap, asXml, asXmlStripped, cloneMessage, cloneMessage, compareTo, copyFrom, 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, main, makeImmutable, parseJson, parseXml, payloadMD5, serialize, serialize, serialize, serializePayload, setBitMask, setDst, setDstEnt, setHeader, setMessageInfo, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toString, validate
public static final int ID_STATIC
public TrexAttribute()
public TrexAttribute(IMCMessage msg)
public TrexAttribute(IMCDefinition defs)
public TrexAttribute(java.lang.String name, TrexAttribute.ATTR_TYPE attr_type, java.lang.String min, java.lang.String max)
public static TrexAttribute create(java.lang.Object... values)
public static TrexAttribute clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public java.lang.String getName()
public TrexAttribute setName(java.lang.String name)
name
- Attribute Namepublic TrexAttribute.ATTR_TYPE getAttrType()
public java.lang.String getAttrTypeStr()
public short getAttrTypeVal()
public TrexAttribute setAttrType(TrexAttribute.ATTR_TYPE attr_type)
attr_type
- Attribute type (enumerated)public TrexAttribute setAttrTypeStr(java.lang.String attr_type)
attr_type
- Attribute type (as a String)public TrexAttribute setAttrTypeVal(short attr_type)
attr_type
- Attribute type (integer value)public java.lang.String getMin()
public TrexAttribute setMin(java.lang.String min)
min
- Minimumpublic java.lang.String getMax()
public TrexAttribute setMax(java.lang.String max)
max
- Maximum