Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: Iterating over attribute defs in a Stem

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: Iterating over attribute defs in a Stem


Chronological Thread 
  • From: Chris Hyzer <>
  • To: John Gasper <>, grouper-users <>
  • Cc: Dmitriy Kopylenko <>
  • Subject: [grouper-users] RE: Iterating over attribute defs in a Stem
  • Date: Tue, 14 Jul 2015 15:27:17 +0000
  • Accept-language: en-US

Something like this:

 

Set<AttributeDef> attributeDefs = new AttributeDefFinder().assignParentStemId(“abc”).assignStemScope(Scope.ONE).findAttributes();

 

Similar for names…

 

Let me know if you need a working tested example J

 

Thanks,

Chris

 

From: [mailto:] On Behalf Of John Gasper
Sent: Tuesday, July 14, 2015 11:23 AM
To: grouper-users
Cc: Dmitriy Kopylenko
Subject: [grouper-users] Iterating over attribute defs in a Stem

 

Hi,

 

What’s the proper way to iterate over attributes being store (not assigned) to a folder/stem? For instance, I want to get a Set of all attributeDef/Names in etc:attributes. We looked at a stem Object and there is no .getChildAttributes(). Just the attributeDelegate*() methods, but those don’t seem to be appropriate.

 

Thanks,

John

 

-- 

John Gasper
IAM Consultant
Unicon, Inc.
PGP/GPG Key: 0xbafee3ef

 




Archive powered by MHonArc 2.6.16.

Top of Page