Class Match

    • Field Detail

      • bmModel

        protected final IBmModel bmModel
        BM container of match
    • Constructor Detail

      • Match

        protected Match​(IBmModel bmModel)
        Constructor
        Parameters:
        bmModel - container of match, cannot be null
    • Method Detail

      • isFiltered

        public boolean isFiltered()
        Returns whether this match is filtered or not.
        Returns:
        true if the match is filtered, otherwise false
      • setFiltered

        public void setFiltered​(boolean value)
        Marks this match as filtered or not.
        Parameters:
        value - true if the match is filtered, otherwise false
      • getElement

        public abstract Object getElement()
        Returns the element that contains this match. The element is used to group the match.
        Returns:
        the element that contains this match, cannot be null
      • resolveObjectById

        protected Optional<IBmObject> resolveObjectById​(long objectId)
        Resolve object by bmId
        Parameters:
        objectId - bmId of resolving object
        Returns:
        return the object with the specified ID or empty optional if it does not exist or if engine of BM model is disposed or not in 'running' state
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object