Class NetworkUpdate

  • All Implemented Interfaces:
    java.io.Serializable

    public class NetworkUpdate
    extends java.lang.Object
    implements java.io.Serializable
    Represents single change on networkchart. The change consists of Action and NetworkEntity which is parent class of Edge and Node
    See Also:
    Serialized Form
    • Constructor Detail

      • NetworkUpdate

        public NetworkUpdate​(Action action,
                             NetworkEntity entity)
        Parameters:
        action - Represents possible actions while interacting with network chart
        entity - Represents Edge or Node
    • Method Detail

      • getAction

        public Action getAction()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object