Class Dependency

    • Constructor Detail

      • Dependency

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

      • getSourceComponentId

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

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

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