Class ComponentDependency

    • Constructor Detail

      • ComponentDependency

        @ConstructorProperties({"targetComponentId","typeId","direction","label","description"})
        public ComponentDependency​(java.lang.String targetComponentId,
                                   java.lang.String typeId,
                                   DependencyDirection direction,
                                   java.lang.String label,
                                   java.lang.String description)
    • Method Detail

      • getTargetComponentId

        public java.lang.String getTargetComponentId()
      • getTypeId

        public java.lang.String getTypeId()
      • getLabel

        public java.lang.String getLabel()
      • getDescription

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

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

        public ComponentDependency withTypeId​(java.lang.String typeId)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withDirection

        public ComponentDependency withDirection​(DependencyDirection direction)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withLabel

        public ComponentDependency 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 ComponentDependency withDescription​(java.lang.String description)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).