Class DefaultContextSearchRestriction

    • Constructor Detail

      • DefaultContextSearchRestriction

        public DefaultContextSearchRestriction​(java.lang.String... attributes)
      • DefaultContextSearchRestriction

        public DefaultContextSearchRestriction​(java.util.List<java.lang.String> attributes)
    • Method Detail

      • isAttributeRestricted

        public boolean isAttributeRestricted​(java.lang.String name)
        Description copied from interface: ContextSearchRestriction
        Checks whether specified attribute may be changed
        Specified by:
        isAttributeRestricted in interface ContextSearchRestriction
        Parameters:
        name - name of attribute to check
        Returns:
        true if value of attribute cannot be changed
      • 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