public class OrgUnit extends RoleUnit
| Constructor and Description |
|---|
OrgUnit(OrgStructModule module,
Map<String,String> metadata,
String name,
String... parameterNames)
Creates new
OrgUnit instance with given name. |
| Modifier and Type | Method and Description |
|---|---|
OrgUnit |
addChild(RoleUnit roleUnit)
Adds given
roleUnit into the children of this organization unit
and returns current OrgUnit instance. |
OrgUnit |
addParent(RoleUnit roleUnit)
Adds given
roleUnit into the parents of this organization unit
and returns current OrgUnit instance. |
equals, getChildren, getFullName, getMetadata, getModule, getParameterNames, getParents, hashCode, toStringpublic OrgUnit(OrgStructModule module, Map<String,String> metadata, String name, String... parameterNames)
OrgUnit instance with given name.module - The name of the module this role belongs to.metadata - name - The name of the organization unit.parameterNames - The set of names of parameters for the organization unit.public OrgUnit addParent(RoleUnit roleUnit)
roleUnit into the parents of this organization unit
and returns current OrgUnit instance.Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.