grouper-users - Re: [grouper-users] RE: Iterating over attribute defs in a Stem
Subject: Grouper Users - Open Discussion List
List archive
- From: John Gasper <>
- To: Chris Hyzer <>, grouper-users <>
- Cc: Dmitriy Kopylenko <>
- Subject: Re: [grouper-users] RE: Iterating over attribute defs in a Stem
- Date: Tue, 14 Jul 2015 09:39:28 -0700
Yeah… maybe an enhancement for 3.0. Get the usage of id, name, extension, etc consistent across the platform. :D … OK, maybe not, but couldn’t help tryin’. -- John Gasper IAM Consultant Unicon, Inc. PGP/GPG Key: 0xbafee3ef From: <> on behalf of Chris Hyzer <> Date: Tuesday, July 14, 2015 at 9:22 AM To: John Gasper <>, grouper-users <> Cc: Dmitriy Kopylenko <> Subject: RE: [grouper-users] RE: Iterating over attribute defs in a Stem I cant say its not confusing that the UI and API concept of “ID” is different…
J From: John Gasper []
*Groaning Head Slap* Thanks. :) -- John Gasper From:
Chris Hyzer <> The ID of the stem is the UUID… From: []
On Behalf Of John Gasper A working example would be nice… We can't get something like this to work: attributeDefNames = new AttributeDefNameFinder().assignParentStemId("etc:attribute").assignStemScope(Stem.Scope.SUB).findAttributeNames(); If I yank the assignParent and StemScope we get everything… but nothing with them in. -- John Gasper From:
<> on behalf of Chris Hyzer <> 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:
[]
On Behalf Of John Gasper 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 |
- Re: [grouper-users] RE: Iterating over attribute defs in a Stem, John Gasper, 07/14/2015
- RE: [grouper-users] RE: Iterating over attribute defs in a Stem, Chris Hyzer, 07/14/2015
- Re: [grouper-users] RE: Iterating over attribute defs in a Stem, John Gasper, 07/14/2015
- RE: [grouper-users] RE: Iterating over attribute defs in a Stem, Chris Hyzer, 07/14/2015
- Re: [grouper-users] RE: Iterating over attribute defs in a Stem, John Gasper, 07/14/2015
- RE: [grouper-users] RE: Iterating over attribute defs in a Stem, Chris Hyzer, 07/14/2015
- Re: [grouper-users] RE: Iterating over attribute defs in a Stem, John Gasper, 07/14/2015
- RE: [grouper-users] RE: Iterating over attribute defs in a Stem, Chris Hyzer, 07/14/2015
- Re: [grouper-users] RE: Iterating over attribute defs in a Stem, John Gasper, 07/14/2015
- RE: [grouper-users] RE: Iterating over attribute defs in a Stem, Chris Hyzer, 07/14/2015
Archive powered by MHonArc 2.6.16.