public class MapFeature extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
MapFeature.FEATURE_TYPE |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
MapFeature() |
MapFeature(IMCDefinition defs) |
MapFeature(IMCMessage msg) |
MapFeature(java.lang.String id,
MapFeature.FEATURE_TYPE feature_type,
short rgb_red,
short rgb_green,
short rgb_blue,
java.util.Collection<MapPoint> feature) |
Modifier and Type | Method and Description |
---|---|
static MapFeature |
clone(IMCMessage msg) |
static MapFeature |
create(java.lang.Object... values) |
java.util.Vector<MapPoint> |
getFeature() |
MapFeature.FEATURE_TYPE |
getFeatureType() |
java.lang.String |
getFeatureTypeStr() |
short |
getFeatureTypeVal() |
java.lang.String |
getId() |
short |
getRgbBlue() |
short |
getRgbGreen() |
short |
getRgbRed() |
MapFeature |
setFeature(java.util.Collection<MapPoint> feature) |
MapFeature |
setFeatureType(MapFeature.FEATURE_TYPE feature_type) |
MapFeature |
setFeatureTypeStr(java.lang.String feature_type) |
MapFeature |
setFeatureTypeVal(short feature_type) |
MapFeature |
setId(java.lang.String id) |
MapFeature |
setRgbBlue(short rgb_blue) |
MapFeature |
setRgbGreen(short rgb_green) |
MapFeature |
setRgbRed(short rgb_red) |
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 MapFeature()
public MapFeature(IMCMessage msg)
public MapFeature(IMCDefinition defs)
public MapFeature(java.lang.String id, MapFeature.FEATURE_TYPE feature_type, short rgb_red, short rgb_green, short rgb_blue, java.util.Collection<MapPoint> feature)
public static MapFeature create(java.lang.Object... values)
public static MapFeature clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public java.lang.String getId()
public MapFeature setId(java.lang.String id)
id
- Identifierpublic MapFeature.FEATURE_TYPE getFeatureType()
public java.lang.String getFeatureTypeStr()
public short getFeatureTypeVal()
public MapFeature setFeatureType(MapFeature.FEATURE_TYPE feature_type)
feature_type
- FeatureType (enumerated)public MapFeature setFeatureTypeStr(java.lang.String feature_type)
feature_type
- FeatureType (as a String)public MapFeature setFeatureTypeVal(short feature_type)
feature_type
- FeatureType (integer value)public short getRgbRed()
public MapFeature setRgbRed(short rgb_red)
rgb_red
- RedComponentpublic short getRgbGreen()
public MapFeature setRgbGreen(short rgb_green)
rgb_green
- GreenComponentpublic short getRgbBlue()
public MapFeature setRgbBlue(short rgb_blue)
rgb_blue
- BlueComponentpublic java.util.Vector<MapPoint> getFeature()
public MapFeature setFeature(java.util.Collection<MapPoint> feature)
feature
- Feature