Class DiagramConnection

    • Constructor Detail

      • DiagramConnection

        @ConstructorProperties({"sourceComponentId","targetComponentId","type","label","description","tags"})
        public DiagramConnection​(java.lang.String sourceComponentId,
                                 java.lang.String targetComponentId,
                                 java.lang.String type,
                                 java.lang.String label,
                                 java.lang.String description,
                                 java.util.List<@Valid Tag> tags)
    • Method Detail

      • getSourceComponentId

        public java.lang.String getSourceComponentId()
      • getTargetComponentId

        public java.lang.String getTargetComponentId()
      • getType

        public java.lang.String getType()
      • getLabel

        public java.lang.String getLabel()
      • getDescription

        public java.lang.String getDescription()
      • 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
      • withSourceComponentId

        public DiagramConnection withSourceComponentId​(java.lang.String sourceComponentId)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withTargetComponentId

        public DiagramConnection withTargetComponentId​(java.lang.String targetComponentId)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withType

        public DiagramConnection withType​(java.lang.String type)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withLabel

        public DiagramConnection withLabel​(java.lang.String label)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withDescription

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

        public DiagramConnection 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).