Package moise.oe
Class Permission
- java.lang.Object
-
- moise.oe.Permission
-
- All Implemented Interfaces:
java.io.Serializable
public class Permission extends java.lang.Object implements java.io.Serializable
represents an agent's obligation or permission- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Mission
mis
(package private) RolePlayer
rp
(package private) SchemeInstance
sch
-
Constructor Summary
Constructors Constructor Description Permission(RolePlayer rp, Mission mis, 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, java.lang.String tag)
Mission
getMission()
RolePlayer
getRolePlayer()
SchemeInstance
getScheme()
int
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
rp
RolePlayer rp
-
mis
Mission mis
-
sch
SchemeInstance sch
-
-
Constructor Detail
-
Permission
public Permission(RolePlayer rp, Mission mis, SchemeInstance sch)
-
-
Method Detail
-
getRolePlayer
public RolePlayer getRolePlayer()
-
getMission
public Mission getMission()
-
getScheme
public SchemeInstance getScheme()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
getAsDOM
public org.w3c.dom.Element getAsDOM(org.w3c.dom.Document document, java.lang.String tag)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-