public class OrgUnit extends RoleUnit
Constructor and Description |
---|
OrgUnit(OrgStructModule module,
java.util.Map<java.lang.String,java.lang.String> metadata,
java.lang.String name,
java.lang.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, toString
public OrgUnit(OrgStructModule module, java.util.Map<java.lang.String,java.lang.String> metadata, java.lang.String name, java.lang.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.