Class MetaTagSorterAlphabetical

java.lang.Object
ca.uhn.fhir.util.MetaTagSorterAlphabetical
All Implemented Interfaces:
IMetaTagSorter

public class MetaTagSorterAlphabetical extends Object implements IMetaTagSorter
Contains methods to sort resource meta fields that are sets (i.e., tags, security labels and profiles) in alphabetical order. It sorts the Coding type sets (tags and security labels) based on the (system, code) pair. The system field has higher priority on sorting than the code field so the Coding set will be sorted first by system and then by code for each system.
  • Constructor Details

  • Method Details

    • sortCodings

      public void sortCodings(List<? extends org.hl7.fhir.instance.model.api.IBaseCoding> theCodings)
    • sortPrimitiveStrings

      public void sortPrimitiveStrings(List<? extends org.hl7.fhir.instance.model.api.IPrimitiveType<String>> theList)
    • sort

      public void sort(org.hl7.fhir.instance.model.api.IBaseMetaType theMeta)
      Specified by:
      sort in interface IMetaTagSorter