Class GraphNode

    • Constructor Detail

      • GraphNode

        public GraphNode​(java.lang.String componentId,
                         java.lang.String name,
                         java.util.List<@Valid Tag> tags)
    • Method Detail

      • getName

        public java.lang.String getName()
      • getTags

        public java.util.List<@Valid Tag> getTags()
      • 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
      • toString

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

        public GraphNode withComponentId​(java.lang.String componentId)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withName

        public GraphNode withName​(java.lang.String name)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withTags

        public GraphNode withTags​(java.util.List<@Valid Tag> tags)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).