Package org.apache.isis.core.metamodel.layout.memberorderfacet

Examples of org.apache.isis.core.metamodel.layout.memberorderfacet.MemberIdentifierComparator


public class DeweyOrderSet implements Comparable<DeweyOrderSet>, Iterable<Object>  {
   
    public static DeweyOrderSet createOrderSet(final List<? extends IdentifiedHolder> identifiedHolders) {

        final SortedMap<String, SortedSet<IdentifiedHolder>> sortedMembersByGroup = Maps.newTreeMap();
        final SortedSet<IdentifiedHolder> nonAnnotatedGroup = Sets.newTreeSet(new MemberIdentifierComparator());

        // spin over all the members and put them into a Map of SortedSets
        // any non-annotated members go into additional nonAnnotatedGroup set.
        for (final IdentifiedHolder identifiedHolder : identifiedHolders) {
            final MemberOrderFacet memberOrder = identifiedHolder.getFacet(MemberOrderFacet.class);
View Full Code Here

TOP

Related Classes of org.apache.isis.core.metamodel.layout.memberorderfacet.MemberIdentifierComparator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.