Class RHardConstraints


  • public class RHardConstraints
    extends java.lang.Object
    Class defining runtime hard constraints.
    • Field Detail

      • constraintmodel

        protected java.util.Collection<MHardConstraint> constraintmodel
        Hard constraint model
      • filters

        protected java.util.List<IAsyncFilter<?>> filters
        The basic hard constraints filter
      • unboundconstantfilters

        protected java.util.List<ConstantValueFilter> unboundconstantfilters
        Unbound constant value filters
    • Constructor Detail

      • RHardConstraints

        public RHardConstraints​(IExternalAccess component,
                                java.util.Collection<MHardConstraint> constraintmodel)
        Creates the runtime hard constraints.
        Parameters:
        mhc - The declared model hard constraints.
    • Method Detail

      • addFilter

        protected void addFilter​(IAsyncFilter<IService> filter)
        Adds a filter.
        Parameters:
        filter - The filter.
      • getRemotableFilter

        public IAsyncFilter<?> getRemotableFilter()
        Gets the filter that is remotable.
        Returns:
        Remotable filter.
      • getLocalFilter

        public IAsyncFilter<?> getLocalFilter()
        Gets the filter for local filtering.
        Returns:
        Filter for local filtering.
      • getLocalFilter

        public IAsyncFilter<IService> getLocalFilter​(MethodInfo method)
        Gets the filter for local filtering.
        Returns:
        Filter for local filtering.
      • optimizeFilters

        public void optimizeFilters()
        Used after searches to make bound filters remotable.