Class SimpleLink

  • All Implemented Interfaces:
    Link

    public final class SimpleLink
    extends java.lang.Object
    implements Link
    A simple immutable representation of ADF links.
    Author:
    Mathias Hofer
    • Constructor Detail

      • SimpleLink

        public SimpleLink​(Argument from,
                          Argument to,
                          LinkType type)
        Parameters:
        from - the source of the link
        to - the target of the link
        type - the type of the link
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object