public class PlanSpecification extends IMCMessage
PlanCommand
).PlanManeuver
message for details on maneuverModifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
PlanSpecification() |
PlanSpecification(IMCDefinition defs) |
PlanSpecification(IMCMessage msg) |
PlanSpecification(java.lang.String plan_id,
java.lang.String description,
java.lang.String vnamespace,
java.util.Collection<PlanVariable> variables,
java.lang.String start_man_id,
java.util.Collection<PlanManeuver> maneuvers,
java.util.Collection<PlanTransition> transitions,
java.util.Collection<IMCMessage> start_actions,
java.util.Collection<IMCMessage> end_actions) |
Modifier and Type | Method and Description |
---|---|
static PlanSpecification |
clone(IMCMessage msg) |
static PlanSpecification |
create(java.lang.Object... values) |
java.lang.String |
getDescription() |
java.util.Vector<IMCMessage> |
getEndActions() |
java.util.Vector<PlanManeuver> |
getManeuvers() |
java.lang.String |
getPlanId() |
java.util.Vector<IMCMessage> |
getStartActions() |
java.lang.String |
getStartManId() |
java.util.Vector<PlanTransition> |
getTransitions() |
java.util.Vector<PlanVariable> |
getVariables() |
java.lang.String |
getVnamespace() |
PlanSpecification |
setDescription(java.lang.String description) |
PlanSpecification |
setEndActions(java.util.Collection<IMCMessage> end_actions) |
PlanSpecification |
setManeuvers(java.util.Collection<PlanManeuver> maneuvers) |
PlanSpecification |
setPlanId(java.lang.String plan_id) |
PlanSpecification |
setStartActions(java.util.Collection<IMCMessage> start_actions) |
PlanSpecification |
setStartManId(java.lang.String start_man_id) |
PlanSpecification |
setTransitions(java.util.Collection<PlanTransition> transitions) |
PlanSpecification |
setVariables(java.util.Collection<PlanVariable> variables) |
PlanSpecification |
setVnamespace(java.lang.String vnamespace) |
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 PlanSpecification()
public PlanSpecification(IMCMessage msg)
public PlanSpecification(IMCDefinition defs)
public PlanSpecification(java.lang.String plan_id, java.lang.String description, java.lang.String vnamespace, java.util.Collection<PlanVariable> variables, java.lang.String start_man_id, java.util.Collection<PlanManeuver> maneuvers, java.util.Collection<PlanTransition> transitions, java.util.Collection<IMCMessage> start_actions, java.util.Collection<IMCMessage> end_actions)
public static PlanSpecification create(java.lang.Object... values)
public static PlanSpecification clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public java.lang.String getPlanId()
public PlanSpecification setPlanId(java.lang.String plan_id)
plan_id
- Plan IDpublic java.lang.String getDescription()
public PlanSpecification setDescription(java.lang.String description)
description
- Plan Descriptionpublic java.lang.String getVnamespace()
public PlanSpecification setVnamespace(java.lang.String vnamespace)
vnamespace
- Namespacepublic java.util.Vector<PlanVariable> getVariables()
public PlanSpecification setVariables(java.util.Collection<PlanVariable> variables)
variables
- Plan Variablespublic java.lang.String getStartManId()
public PlanSpecification setStartManId(java.lang.String start_man_id)
start_man_id
- Starting maneuverpublic java.util.Vector<PlanManeuver> getManeuvers()
public PlanSpecification setManeuvers(java.util.Collection<PlanManeuver> maneuvers)
maneuvers
- Maneuverspublic java.util.Vector<PlanTransition> getTransitions()
public PlanSpecification setTransitions(java.util.Collection<PlanTransition> transitions)
transitions
- Transitionspublic java.util.Vector<IMCMessage> getStartActions()
public PlanSpecification setStartActions(java.util.Collection<IMCMessage> start_actions)
start_actions
- Start Actionspublic java.util.Vector<IMCMessage> getEndActions()
public PlanSpecification setEndActions(java.util.Collection<IMCMessage> end_actions)
end_actions
- End Actions