Class FeatureQuery.SortProperty

java.lang.Object
com.luciad.models.features.FeatureQuery.SortProperty
All Implemented Interfaces:
AutoCloseable
Enclosing class:
FeatureQuery

public static final class FeatureQuery.SortProperty extends Object implements AutoCloseable
SortProperty class defines the property name and the sort order for the SortOperator.
  • Constructor Details

    • SortProperty

      public SortProperty(@NotNull DataPropertyPath propertyPath, @NotNull FeatureQuery.SortOrder order)
      Constructs an instance of the SortProperty for a given property name and a sort order.
      Parameters:
      propertyPath - Path to the data property.
      order - Property sort order.
  • Method Details

    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • getPropertyPath

      @NotNull public DataPropertyPath getPropertyPath()
      Returns the property path.
      Returns:
      the property path.
    • getSortOrder

      @NotNull public FeatureQuery.SortOrder getSortOrder()
      Returns the sort order.
      Returns:
      the sort order.
    • hashCode

      public int hashCode()
      Returns the hash value for this sort order.
      Overrides:
      hashCode in class Object
      Returns:
      the hash value for this sort order.
    • equals

      public boolean equals(@Nullable Object other)
      Overrides:
      equals in class Object