Module io.ebean.api
Package io.ebean

Class OrderBy.Property

    • Constructor Detail

      • Property

        public Property​(String property,
                        boolean ascending)
      • Property

        public Property​(String property,
                        boolean ascending,
                        String nulls,
                        String highLow)
      • Property

        public Property​(String property,
                        boolean ascending,
                        String collation)
    • Method Detail

      • copyWithTrim

        public OrderBy.Property copyWithTrim​(String path)
        Return a copy of this Property with the path trimmed.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toStringFormat

        public String toStringFormat()
      • reverse

        public void reverse()
        Reverse the ascending/descending order for this property.
      • trim

        public void trim​(String pathPrefix)
        Trim off the pathPrefix.
      • getProperty

        public String getProperty()
        Return the property name.
      • setProperty

        public void setProperty​(String property)
        Set the property name.
      • isAscending

        public boolean isAscending()
        Return true if the order is ascending.
      • setAscending

        public void setAscending​(boolean ascending)
        Set to true if the order is ascending.