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 names
    `Role.Name` | `getERole()` |
    `String` | `getRole()` |
    `int` | `hashCode()` | Based on underlying role name
    `void` | `setRole​(Role.Name x)` |
    `void` | `setRole​(String x)` |
    `String` | `toString()` |

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Role

          public Role()

  - ### Method Detail

    - #### getRole

          public String getRole()

    - #### setRole

          public void setRole​(String x)

    - #### setRole

          public void setRole​(Role.Name x)

    - #### getERole

          public Role.Name getERole()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### equals

          public boolean equals​(Object x)

      Equality is based on the role names
      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Based on underlying role name
      Overrides:
        `hashCode` in class `Object`