Package tech.kronicle.sdk.models
Class DiagramConnection
- java.lang.Object
-
- tech.kronicle.sdk.models.DiagramConnection
-
- All Implemented Interfaces:
ObjectWithReference
public final class DiagramConnection extends java.lang.Object implements ObjectWithReference
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDiagramConnection.DiagramConnectionBuilder
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DiagramConnection.DiagramConnectionBuilderbuilder()booleanequals(java.lang.Object o)java.lang.StringgetDescription()java.lang.StringgetLabel()java.lang.StringgetSourceComponentId()java.util.List<@Valid Tag>getTags()java.lang.StringgetTargetComponentId()java.lang.StringgetType()inthashCode()java.lang.Stringreference()DiagramConnection.DiagramConnectionBuildertoBuilder()java.lang.StringtoString()DiagramConnectionwithDescription(java.lang.String description)DiagramConnectionwithLabel(java.lang.String label)DiagramConnectionwithSourceComponentId(java.lang.String sourceComponentId)DiagramConnectionwithTags(java.util.List<@Valid Tag> tags)DiagramConnectionwithTargetComponentId(java.lang.String targetComponentId)DiagramConnectionwithType(java.lang.String type)
-
-
-
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
-
reference
public java.lang.String reference()
- Specified by:
referencein interfaceObjectWithReference
-
builder
public static DiagramConnection.DiagramConnectionBuilder builder()
-
toBuilder
public DiagramConnection.DiagramConnectionBuilder toBuilder()
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
withSourceComponentId
public DiagramConnection withSourceComponentId(java.lang.String sourceComponentId)
- Returns:
- a clone of this object, except with this updated property (returns
thisif 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
thisif 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
thisif 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
thisif 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
thisif 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
thisif an identical value is passed).
-
-