Class AbstractConstraintFilter<T>

    • Field Detail

      • propname

        protected java.lang.String propname
        Name of the property being kept constant.
      • value

        protected java.lang.Object value
        The value once it is bound.
    • Constructor Detail

      • AbstractConstraintFilter

        public AbstractConstraintFilter()
        Creates a constant value filter.
      • AbstractConstraintFilter

        public AbstractConstraintFilter​(IExternalAccess component,
                                        java.lang.String propname,
                                        java.lang.Object value)
        Creates a constant value filter.
    • Method Detail

      • filter

        public final IFuture<java.lang.Boolean> filter​(T service)
        Test if an object passes the filter.
        Specified by:
        filter in interface IAsyncFilter<T>
        Returns:
        True, if passes the filter.
      • doFilter

        public abstract IFuture<java.lang.Boolean> doFilter​(IService service,
                                                            java.lang.Object value)
        Test if an object passes the filter.
        Returns:
        True, if passes the filter.
      • getValueName

        public java.lang.String getValueName()
        Gets the valuename. drag edge areadrag edge area
        Returns:
        The valuename.
      • setValueName

        public void setValueName​(java.lang.String valuename)
        Sets the valuename.
        Parameters:
        valuename - The valuename to set.
      • getValue

        public java.lang.Object getValue()
        Gets the value.
        Returns:
        The value.
      • setValue

        public void setValue​(java.lang.Object value)
        Sets the value.
        Parameters:
        value - The value to set.