public class Role extends AbstractDto
Constructor and Description |
---|
Role() |
Role(java.lang.Integer id,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
static Role |
forName(java.lang.String name) |
java.lang.Integer |
getId() |
java.lang.String |
getName() |
void |
setId(java.lang.Integer id) |
void |
setName(java.lang.String name) |
java.lang.String |
toString() |
static Role |
valueOf(java.lang.String roleString) |
public static Role forName(java.lang.String name)
public java.lang.Integer getId()
public java.lang.String getName()
public void setName(java.lang.String name)
public void setId(java.lang.Integer id)
public static Role valueOf(java.lang.String roleString)
public java.lang.String toString()
toString
in class AbstractDto