Class PropertyComparator
- java.lang.Object
-
- de.hybris.platform.importcockpit.components.contentbrowser.util.PropertyComparator
-
- All Implemented Interfaces:
java.util.Comparator<PropertyDescriptor>
public class PropertyComparator extends java.lang.Object implements java.util.Comparator<PropertyDescriptor>
Comparator for the property descriptors. Compares in order:
- Labels (localized)
- Attribute names (last part of qualifier)
-
-
Constructor Summary
Constructors Constructor Description PropertyComparator()PropertyComparator(java.util.Locale locale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(PropertyDescriptor src, PropertyDescriptor target)ImportCockpitMappingUtilsgetImportCockpitMappingUtils()TypeServicegetTypeService()protected voidsetTypeService(TypeService typeService)
-
-
-
Method Detail
-
compare
public int compare(PropertyDescriptor src, PropertyDescriptor target)
- Specified by:
comparein interfacejava.util.Comparator<PropertyDescriptor>
-
getTypeService
public TypeService getTypeService()
-
setTypeService
protected void setTypeService(TypeService typeService)
-
getImportCockpitMappingUtils
public ImportCockpitMappingUtils getImportCockpitMappingUtils()
-
-