Skip to Content.
Sympa Menu

grouper-users - [grouper-users] attribute framework questions

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] attribute framework questions

Chronological Thread 
  • From: Scott Koranda <>
  • To: "" <>
  • Subject: [grouper-users] attribute framework questions
  • Date: Fri, 8 Oct 2010 21:56:06 -0500


I am using Grouper 1.6.1.

I have some questions regarding the attribute framework:

1) Am I correct that I can use Grouper WS to assign attributes
(and values) and query on attributes (and values) but I cannot
use WS to define attributes?

Consider on this page

this snippet of GSH code:

addStem("school", "attr", "attr");
addStem("school:attr", "students", "students");
grouperSession = GrouperSession.startRootSession();
attrStudentsStem = StemFinder.findByName(grouperSession,
studentsAttrDef = attrStudentsStem.addChildAttributeDef("students",

2) In the line

studentsAttrDef = attrStudentsStem.addChildAttributeDef("students",

what precisely is the first argument to addChildAttributeDef()?

Is the second argument boilerplate, or can it take different

3) With the line


what precisely does setAssignToGroup() do and why do I want or
need to call it with argument 'true'?

4) Is the line;

necessary? Why?

Consider from that same page the GSH command

attrArtsAndSciences =
attrStudentsStem.addChildAttributeDefName(studentsAttrDef, "artsAndSciences",

5) After I create an attribute definition, is it necessary that
I also create an attribute definition name?

If it is not necessary, why might I want to do it?



Archive powered by MHonArc 2.6.16.

Top of Page