Package com._1c.g5.v8.dt.aef2.bm.events
Class DerivedDataObjectStatusEventQualifier
java.lang.Object
com._1c.g5.aef2.events.ServiceEventQualifier
com._1c.g5.v8.dt.aef2.bm.events.DerivedDataObjectStatusEventQualifier
- All Implemented Interfaces:
IServiceEventQualifier
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDerivedDataObjectStatusEventQualifier
(long bmObjectId, String... segments) Creates a new event qualifier. -
Method Summary
Modifier and TypeMethodDescriptionboolean
long
Returns the BM object identifier.Returns the collection of segments of DS.int
hashCode()
boolean
test
(IServiceEvent event) Tests the given event belongs to qualifier.Methods inherited from class com._1c.g5.aef2.events.ServiceEventQualifier
getServiceEventClass
-
Constructor Details
-
DerivedDataObjectStatusEventQualifier
Creates a new event qualifier.- Parameters:
bmObjectId
- the BM object identifier.segments
- the segments of DS that are insterested in.
-
-
Method Details
-
test
Description copied from interface:IServiceEventQualifier
Tests the given event belongs to qualifier. By default returnstrue
if theIServiceEventQualifier.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 classServiceEventQualifier
-
equals
- Overrides:
equals
in classServiceEventQualifier
-
getBmObjectId
public long getBmObjectId()Returns the BM object identifier.- Returns:
- the BM object identifier.
-
getSegments
Returns the collection of segments of DS.- Returns:
- the collection of segments of DS.
-