jfreerails.world.player
Class Player.WorldPrincipal
java.lang.Object
jfreerails.world.player.FreerailsPrincipal
jfreerails.world.player.Player.WorldPrincipal
- All Implemented Interfaces:
- java.io.Serializable, java.security.Principal, FreerailsSerializable
- Enclosing class:
- Player
private static class Player.WorldPrincipal
- extends FreerailsPrincipal
A FreerailsPrincipal that is not a player.
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
principalName
private final java.lang.String principalName
Player.WorldPrincipal
public Player.WorldPrincipal(java.lang.String name)
getName
public java.lang.String getName()
toString
public java.lang.String toString()
- Specified by:
toString in interface java.security.Principal- Overrides:
toString in class java.lang.Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface java.security.Principal- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals in interface java.security.Principal- Overrides:
equals in class java.lang.Object