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