Skip to content

Commit

Permalink
Adding mode unordered collection types
Browse files Browse the repository at this point in the history
  • Loading branch information
escowles committed Nov 9, 2015
1 parent a143180 commit e14950b
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions fcrepo-kernel-modeshape/src/main/resources/fedora-node-types.cnd
Expand Up @@ -58,6 +58,30 @@

[ldp:IndirectContainer] > fedora:Container mixin


<mode = 'http://www.modeshape.org/1.0'>
<test = 'http://test.com/'>

[mode:unorderedCollection] mixin abstract

// Tiny unordered collection, where the number of range buckets is 16
[mode:unorderedTinyCollection] > mode:unorderedCollection mixin

// Small unordered collection, where the number of range buckets is 256
[mode:unorderedSmallCollection] > mode:unorderedCollection mixin

// Large unordered collection, where the number of range buckets is 4096
[mode:unorderedLargeCollection] > mode:unorderedCollection mixin

// Very large unordered collection, where the number of range buckets is 65536
[mode:unorderedHugeCollection] > mode:unorderedCollection mixin

[test:NormalContainer] > fedora:Container mixin
[test:TinyContainer] > fedora:Container, mode:unorderedTinyCollection mixin
[test:SmallContainer] > fedora:Container, mode:unorderedSmallCollection mixin
[test:LargeContainer] > fedora:Container, mode:unorderedLargeCollection mixin
[test:HugeContainer] > fedora:Container, mode:unorderedHugeCollection mixin

/*
* A Fedora datastream.
*/
Expand Down

0 comments on commit e14950b

Please sign in to comment.