Class FlowKey<K extends Comparable<K>>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String SELECTED_PROPERTY_KEY
      The key for a flow property that, if defined (at the dataset level), contains a Boolean value for the selection status of the flow.
    • Constructor Summary

      Constructors 
      Constructor Description
      FlowKey​(int stage, K source, K destination)
      Creates a new instance.
    • Field Detail

    • Constructor Detail

      • FlowKey

        public FlowKey​(int stage,
                       K source,
                       K destination)
        Creates a new instance.
        Parameters:
        stage - the stage.
        source - the source identifier (null not permitted).
        destination - the destination identifier (null not permitted).
    • Method Detail

      • getStage

        public int getStage()
        Returns the stage number for the flow.
        Returns:
        The stage number.
      • getSource

        public K getSource()
        Returns the source identifier.
        Returns:
        The source identifier (never null).
      • getDestination

        public K getDestination()
        Returns the destination identifier.
        Returns:
        The destination identifier (never null).
      • toString

        public String toString()
        Returns a string representation of this instance, primarily for debugging purposes.
        Overrides:
        toString in class Object
        Returns:
        A string.
      • equals

        public boolean equals​(Object obj)
        Tests this instance for equality with an arbitrary object.
        Overrides:
        equals in class Object
        Parameters:
        obj - the object (null permitted).
        Returns:
        A boolean.
      • hashCode

        public int hashCode()
        Returns a hashcode for this instance.
        Overrides:
        hashCode in class Object
        Returns:
        A hashcode.