@Embeddable public class RoleWithParameters extends Object
Modifier | Constructor and Description |
---|---|
protected |
RoleWithParameters()
Creates an empty instance.
|
|
RoleWithParameters(String roleName,
List<RoleUnitParameter> paramValues)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
RoleUnitName |
getFullName()
Returns a role unit name with this role name and all parameters.
|
Map<String,String> |
getMap()
Returns a map of parameters (name, value).
|
String |
getParameterName(int idx)
Returns the parameter name for the given index.
|
String |
getParamValue(int idx)
Return the parameter value for the given index.
|
String |
getRoleName()
Returns the role name.
|
protected RoleWithParameters()
public RoleWithParameters(String roleName, List<RoleUnitParameter> paramValues)
roleName
- paramValues
- public String getRoleName()
public Map<String,String> getMap()
public RoleUnitName getFullName()
RoleUnitName
instance.public String getParameterName(int idx)
idx
- the parameter indexIndexOutOfBoundsException
- if the given index is out of boundspublic String getParamValue(int idx)
idx
- Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.