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 TypeMethodDescriptionbooleanlongReturns the BM object identifier.Returns the collection of segments of DS.inthashCode()booleantest(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:IServiceEventQualifierTests the given event belongs to qualifier. By default returnstrueif theIServiceEventQualifier.getServiceEventClass()is assignable from event class.- Parameters:
event- the event.- Returns:
truethe given event belongs to qualifier,false- overwise.
-
hashCode
public int hashCode()- Overrides:
hashCodein classServiceEventQualifier
-
equals
- Overrides:
equalsin 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.
-