public class Announce extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
Announce.SYS_TYPE |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
Announce() |
Announce(IMCDefinition defs) |
Announce(IMCMessage msg) |
Announce(java.lang.String sys_name,
Announce.SYS_TYPE sys_type,
int owner,
double lat,
double lon,
float height,
java.lang.String services) |
Modifier and Type | Method and Description |
---|---|
static Announce |
clone(IMCMessage msg) |
static Announce |
create(java.lang.Object... values) |
double |
getHeight() |
double |
getLat() |
double |
getLon() |
int |
getOwner() |
java.lang.String |
getServices() |
java.lang.String |
getSysName() |
Announce.SYS_TYPE |
getSysType() |
java.lang.String |
getSysTypeStr() |
short |
getSysTypeVal() |
Announce |
setHeight(double height) |
Announce |
setLat(double lat) |
Announce |
setLon(double lon) |
Announce |
setOwner(int owner) |
Announce |
setServices(java.lang.String services) |
Announce |
setSysName(java.lang.String sys_name) |
Announce |
setSysType(Announce.SYS_TYPE sys_type) |
Announce |
setSysTypeStr(java.lang.String sys_type) |
Announce |
setSysTypeVal(short sys_type) |
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 Announce()
public Announce(IMCMessage msg)
public Announce(IMCDefinition defs)
public Announce(java.lang.String sys_name, Announce.SYS_TYPE sys_type, int owner, double lat, double lon, float height, java.lang.String services)
public static Announce create(java.lang.Object... values)
public static Announce clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public java.lang.String getSysName()
public Announce setSysName(java.lang.String sys_name)
sys_name
- System Namepublic Announce.SYS_TYPE getSysType()
public java.lang.String getSysTypeStr()
public short getSysTypeVal()
public Announce setSysType(Announce.SYS_TYPE sys_type)
sys_type
- System Type (enumerated)public Announce setSysTypeStr(java.lang.String sys_type)
sys_type
- System Type (as a String)public Announce setSysTypeVal(short sys_type)
sys_type
- System Type (integer value)public int getOwner()
public Announce setOwner(int owner)
owner
- Control Ownerpublic double getLat()
public Announce setLat(double lat)
lat
- Latitude WGS-84 (rad)public double getLon()
public Announce setLon(double lon)
lon
- Longitude WGS-84 (rad)public double getHeight()
public Announce setHeight(double height)
height
- Height WGS-84 (m)public java.lang.String getServices()
public Announce setServices(java.lang.String services)
services
- Services