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, asXml, cloneMessage, cloneMessage, compareTo, copyFrom, decodeTupleList, dump, encodeTupleList, get, getAbbrev, getAsNumber, getAsString, getBitmask, getDate, getDouble, getDst, getDstEnt, getFieldNames, getFloat, getHeader, getHeaderValue, getInteger, getLong, getLongFieldName, getLongName, getMessage, getMessage, 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, parseXml, payloadMD5, serialize, serialize, setBitMask, setDst, setDstEnt, setHeader, 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 java.lang.String getDescription()
public java.lang.String getVnamespace()
public java.util.Vector<PlanVariable> getVariables()
public java.lang.String getStartManId()
public java.util.Vector<PlanManeuver> getManeuvers()
public java.util.Vector<PlanTransition> getTransitions()
public java.util.Vector<IMCMessage> getStartActions()
public java.util.Vector<IMCMessage> getEndActions()
public PlanSpecification setPlanId(java.lang.String plan_id)
plan_id
- Plan IDpublic PlanSpecification setDescription(java.lang.String description)
description
- Plan Descriptionpublic PlanSpecification setVnamespace(java.lang.String vnamespace)
vnamespace
- Namespacepublic PlanSpecification setVariables(java.util.Collection<PlanVariable> variables)
variables
- Plan Variablespublic PlanSpecification setStartManId(java.lang.String start_man_id)
start_man_id
- Starting maneuverpublic PlanSpecification setManeuvers(java.util.Collection<PlanManeuver> maneuvers)
maneuvers
- Maneuverspublic PlanSpecification setTransitions(java.util.Collection<PlanTransition> transitions)
transitions
- Transitionspublic PlanSpecification setStartActions(java.util.Collection<IMCMessage> start_actions)
start_actions
- Start Actionspublic PlanSpecification setEndActions(java.util.Collection<IMCMessage> end_actions)
end_actions
- End Actions