Package com._1c.g5.v8.dt.compare.core
Class ComparisonTreeNodeEvent
- java.lang.Object
-
- com._1c.g5.v8.dt.compare.core.ComparisonTreeNodeEvent
-
public class ComparisonTreeNodeEvent extends Object
A typed event that can happen with a comparison tree node.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ComparisonTreeNodeEvent.EventType
The event type.
-
Constructor Summary
Constructors Constructor Description ComparisonTreeNodeEvent(ComparisonTreeNodeEvent.EventType type, long nodeId)
Constructs an event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
long
getNodeId()
Returns the identifier of the node.ComparisonTreeNodeEvent.EventType
getType()
Returns the type of the event.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
ComparisonTreeNodeEvent
public ComparisonTreeNodeEvent(ComparisonTreeNodeEvent.EventType type, long nodeId)
Constructs an event.- Parameters:
type
- the event type, notnull
nodeId
- the id of the node where the event has happened
-
-
Method Detail
-
getType
public ComparisonTreeNodeEvent.EventType getType()
Returns the type of the event.- Returns:
- the type of the event, never
null
-
getNodeId
public long getNodeId()
Returns the identifier of the node.- Returns:
- the node id where the event has happened
-
-