@Embeddable public class RoleWithParameters extends Object
Modifier | Constructor and Description |
---|---|
protected |
RoleWithParameters()
Creates an empty instance.
|
|
RoleWithParameters(RoleName roleName)
Creates new instance.
|
|
RoleWithParameters(RoleName roleName,
Collection<RoleUnitParameter> parameters)
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 |
getParamValue(int idx)
Gets parameter value for the given index.
|
RoleName |
getRoleName()
Returns the role name.
|
protected RoleWithParameters()
public RoleWithParameters(RoleName roleName)
roleName
- public RoleWithParameters(RoleName roleName, Collection<RoleUnitParameter> parameters)
roleName
- parameters
- IllegalArgumentException
- if any parameter in parameters
is not contained in
roleName
public RoleName getRoleName()
public Map<String,String> getMap()
public RoleUnitName getFullName()
RoleUnitName
instance.public String getParamValue(int idx)
idx
- Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.