Class QueryName


  • public class QueryName
    extends java.lang.Object
    Represents the Hibernate query name which is passed in as a parameter. The displayQuery can be obtained which has spaces and other symbols replaced with a textual description (which shouldn't be changed or localized. The localization rule is so that one set of admin scripts will work against any back end system. If it becomes more important to localize the textual descriptions, care should be taken to avoid duplicate values when doing so.
    • Constructor Detail

      • QueryName

        public QueryName​(java.lang.String query)
        Construct
    • Method Detail

      • queryName

        public static QueryName queryName​(java.lang.String query)
      • getDisplayName

        public java.lang.String getDisplayName()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object