grouper-users - RE: [grouper-users] RE: Iterating over attribute defs in a Stem
Subject: Grouper Users - Open Discussion List
List archive
- From: Chris Hyzer <>
- To: John Gasper <>, grouper-users <>
- Cc: Dmitriy Kopylenko <>
- Subject: RE: [grouper-users] RE: Iterating over attribute defs in a Stem
- Date: Tue, 14 Jul 2015 16:07:21 +0000
- Accept-language: en-US
The ID of the stem is the UUID… From: [mailto:]
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.