protected static class GetCalendarEntriesCannedQuery.CalendarEntityComparator extends AbstractQNameAwareCannedQueryFactory.PropertyBasedComparator<CalendarEntity>
CalendarEntry
s on the basis of a Comparable property.
Comparisons of two null properties are considered 'equal' by this comparator.
Comparisons involving one null and one non-null property will return the null property as
being 'before' the non-null property.
Note that it is the responsibility of the calling code to ensure that the specified
property values actually implement Comparable themselves.comparableProperty
Modifier | Constructor and Description |
---|---|
protected |
CalendarEntityComparator(org.alfresco.service.namespace.QName property) |
Modifier and Type | Method and Description |
---|---|
protected Comparable |
getProperty(CalendarEntity entity) |
compare
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
protected CalendarEntityComparator(org.alfresco.service.namespace.QName property)
protected Comparable getProperty(CalendarEntity entity)
getProperty
in class AbstractQNameAwareCannedQueryFactory.PropertyBasedComparator<CalendarEntity>
Copyright © 2005–2017 Alfresco Software. All rights reserved.