public class SimpleRoleFactory extends Object implements RoleFactory
Role objects.| Constructor and Description |
|---|
SimpleRoleFactory() |
| Modifier and Type | Method and Description |
|---|---|
Role |
create(String inName,
String inDescription)
Creates a
Role object with the given attributes. |
public Role create(String inName, String inDescription)
RoleFactoryRole object with the given attributes.create in interface RoleFactoryinName - a String valueinDescription - a String valueRole valueCopyright © 2019. All rights reserved.