Package moise.oe
Class MissionPlayer
- java.lang.Object
-
- moise.oe.Player
-
- moise.oe.MissionPlayer
-
- All Implemented Interfaces:
java.io.Serializable
,ToXML
public class MissionPlayer extends Player implements ToXML
Represents a mission an agent is playing.- Author:
- Jomi Fred Hubner
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private Mission
mission
private SchemeInstance
sch
private static long
serialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description protected
MissionPlayer(Mission mission, OEAgent ag, SchemeInstance sch)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object obj)
org.w3c.dom.Element
getAsDOM(org.w3c.dom.Document document)
Mission
getMission()
SchemeInstance
getScheme()
static java.lang.String
getXMLTag()
int
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
mission
private final Mission mission
-
sch
private final SchemeInstance sch
-
-
Constructor Detail
-
MissionPlayer
protected MissionPlayer(Mission mission, OEAgent ag, SchemeInstance sch) throws MoiseConsistencyException
- Throws:
MoiseConsistencyException
-
-
Method Detail
-
getMission
public Mission getMission()
-
getScheme
public SchemeInstance getScheme()
-
getXMLTag
public static java.lang.String getXMLTag()
-
getAsDOM
public org.w3c.dom.Element getAsDOM(org.w3c.dom.Document document)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-