public class Role extends Object implements Serializable
Constructor and Description |
---|
Role(Integer dbID)
Constructor.
|
Role(Integer dbID,
String description,
String name,
Object[] rights)
Constructor with args.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getDbID() |
String |
getDescription() |
String |
getName() |
Object[] |
getRights() |
void |
setDbID(Integer dbID) |
void |
setDescription(String description) |
void |
setName(String name) |
void |
setRights(Object[] rights) |
String |
toString() |
public Role(Integer dbID)
dbID
- database IDpublic Integer getDbID()
public void setDbID(Integer dbID)
dbID
- the dbID to setpublic String getDescription()
public void setDescription(String description)
description
- the description to setpublic String getName()
public void setName(String name)
name
- the name to setpublic Object[] getRights()
public void setRights(Object[] rights)
rights
- the rights to setCopyright © 2010–2020. All rights reserved.