Package edu.wisc.game.sql
Class Role
- java.lang.Object
-
- edu.wisc.game.sql.Role
-
@Entity public class Role extends Object
A role is simply a database-storable wrapper around the role name
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Role.Name
-
Constructor Summary
Constructors Constructor Description Role()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object x)
Equality is based on the role namesRole.Name
getERole()
String
getRole()
int
hashCode()
Based on underlying role namevoid
setRole(Role.Name x)
void
setRole(String x)
String
toString()
-