public final class SchemaObjectSorter extends Object
Modifier and Type | Method and Description |
---|---|
static Iterable<AttributeType> |
hierarchicalOrdered(List<AttributeType> attributeTypes)
Gets an hierarchical ordered
Iterable of the given AttributeType s. |
static Iterable<ObjectClass> |
sortObjectClasses(List<ObjectClass> objectClasses)
Gets an hierarchical ordered
Iterable of the given ObjectClass es. |
public static Iterable<AttributeType> hierarchicalOrdered(List<AttributeType> attributeTypes)
Iterable
of the given AttributeType
s.
In other words parent AttributeType
s are returned before child AttributeType
s.attributeTypes
- list of attribute types to orderpublic static Iterable<ObjectClass> sortObjectClasses(List<ObjectClass> objectClasses)
Iterable
of the given ObjectClass
es.
In other words parent ObjectClass
es are returned before child ObjectClass
es.objectClasses
- list of object classes to orderCopyright © 2003–2019 The Apache Software Foundation. All rights reserved.