public class OrgStructModule
extends com.whitestein.lsps.model.AbstractModelElement
Modifier and Type | Field and Description |
---|---|
static String |
NAME
The name of the OrganizationalStructure module itself.
|
Constructor and Description |
---|
OrgStructModule(String name)
Creates new instance of
OrgStructModule without roles or
organization units. |
Modifier and Type | Method and Description |
---|---|
RoleUnit |
getRoleUnit(String name)
Returns a role or an organization unit for given name.
|
String |
getRoleUnitLabel(String roleUnitName)
Returns the
roleUnit label. |
Collection<RoleUnit> |
getRoleUnits()
Returns the collection of roles or/and organization units.
|
void |
setRoleUnitLabel(String roleUnitName,
String label)
Sets the
roleUnit label. |
String |
toString() |
public static final String NAME
public OrgStructModule(String name)
OrgStructModule
without roles or
organization units.name
- The name of the organizational structure model module.public Collection<RoleUnit> getRoleUnits()
public RoleUnit getRoleUnit(String name)
name
- The name of a role or an organization unit.RoleUnit
with given name.public void setRoleUnitLabel(String roleUnitName, String label)
roleUnit
label.roleUnitName
- label
- public String getRoleUnitLabel(String roleUnitName)
roleUnit
label.roleUnitName
- public String toString()
toString
in class com.whitestein.lsps.model.AbstractModelElement
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.