Class DerivedDataObjectStatusEventQualifier

java.lang.Object
com._1c.g5.aef2.events.ServiceEventQualifier
com._1c.g5.v8.dt.aef2.bm.events.DerivedDataObjectStatusEventQualifier
All Implemented Interfaces:
IServiceEventQualifier

public class DerivedDataObjectStatusEventQualifier extends ServiceEventQualifier
See Also:
  • Constructor Details

    • DerivedDataObjectStatusEventQualifier

      public DerivedDataObjectStatusEventQualifier(long bmObjectId, String... segments)
      Creates a new event qualifier.
      Parameters:
      bmObjectId - the BM object identifier.
      segments - the segments of DS that are insterested in.
  • Method Details

    • test

      public boolean test(IServiceEvent event)
      Description copied from interface: IServiceEventQualifier
      Tests the given event belongs to qualifier. By default returns true if the IServiceEventQualifier.getServiceEventClass() is assignable from event class.
      Parameters:
      event - the event.
      Returns:
      true the given event belongs to qualifier, false - overwise.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ServiceEventQualifier
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class ServiceEventQualifier
    • getBmObjectId

      public long getBmObjectId()
      Returns the BM object identifier.
      Returns:
      the BM object identifier.
    • getSegments

      public Collection<String> getSegments()
      Returns the collection of segments of DS.
      Returns:
      the collection of segments of DS.