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
public class DerivedDataObjectStatusEventQualifier extends ServiceEventQualifier
- See Also:
DerivedDataObjectStatusConsumer
-
-
Constructor Summary
Constructors Constructor Description DerivedDataObjectStatusEventQualifier(long bmObjectId, String... segments)Creates a new event qualifier.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)longgetBmObjectId()Returns the BM object identifier.Collection<String>getSegments()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 Detail
-
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 Detail
-
test
public boolean test(IServiceEvent event)
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
public boolean equals(Object obj)
- Overrides:
equalsin classServiceEventQualifier
-
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.
-
-