
Package ca.uhn.fhir.util
Class MetaTagSorterAlphabetical
java.lang.Object
ca.uhn.fhir.util.MetaTagSorterAlphabetical
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsort(org.hl7.fhir.instance.model.api.IBaseMetaType theMeta) voidsortCodings(List<? extends org.hl7.fhir.instance.model.api.IBaseCoding> theCodings) voidsortPrimitiveStrings(List<? extends org.hl7.fhir.instance.model.api.IPrimitiveType<String>> theList)
-
Constructor Details
-
MetaTagSorterAlphabetical
public MetaTagSorterAlphabetical()
-
-
Method Details
-
sortCodings
-
sortPrimitiveStrings
public void sortPrimitiveStrings(List<? extends org.hl7.fhir.instance.model.api.IPrimitiveType<String>> theList) -
sort
- Specified by:
sortin interfaceIMetaTagSorter
-