Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Stems and attribute definitions

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Stems and attribute definitions


Chronological Thread 
  • From: Julio Polo <>
  • To:
  • Subject: [grouper-users] Stems and attribute definitions
  • Date: Mon, 23 May 2011 15:24:48 -1000

All examples in
https://spaces.internet2.edu/display/Grouper/Grouper+attribute+framework
seem to imply that a stem is required when defining an attribute:

studentsAttrDef = attrStudentsStem.addChildAttributeDef("students",
AttributeDefType.attr);

AttributeDef attributeDef = stem.addChildAttributeDef("someName",
AttributeDefType.attr); attributeDef.setAssignToGroup(true);

attributeDef = folder.addChildAttributeDef("attr01", AttributeDefType.attr);

If a stem is indeed required, what is the significance of this stem
with regards to the attribute being defined? Do we just arbitrarily
create a etc:attributes: stem where we define all attributes that we
plan to use? Or is it better if we define attributes closer to where
they'll be actually used? e.g. if I have group3.1, group3.2,
group3.3, group3.4 within stem1:stem2:stem3, is it recommended that i
define attributes to be associated with those groups and their
memberships under stem3?

Julio Polo
University of Hawaii



Archive powered by MHonArc 2.6.16.

Top of Page