Package tech.kronicle.sdk.models
Class SummaryComponentDependency
- java.lang.Object
-
- tech.kronicle.sdk.models.SummaryComponentDependency
-
- All Implemented Interfaces:
DependencyWithIdentity
public final class SummaryComponentDependency extends java.lang.Object implements DependencyWithIdentity
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSummaryComponentDependency.SummaryComponentDependencyBuilder
-
Constructor Summary
Constructors Constructor Description SummaryComponentDependency(java.lang.Integer sourceIndex, java.lang.Integer targetIndex, java.util.List<java.lang.Integer> relatedIndexes, java.lang.String typeId, java.lang.String label, java.lang.String description, java.lang.Boolean manual, java.lang.Integer sampleSize, java.time.LocalDateTime startTimestamp, java.time.LocalDateTime endTimestamp, SummaryComponentDependencyDuration duration)
-
Method Summary
-
-
-
Constructor Detail
-
SummaryComponentDependency
public SummaryComponentDependency(java.lang.Integer sourceIndex, java.lang.Integer targetIndex, java.util.List<java.lang.Integer> relatedIndexes, java.lang.String typeId, java.lang.String label, java.lang.String description, java.lang.Boolean manual, java.lang.Integer sampleSize, java.time.LocalDateTime startTimestamp, java.time.LocalDateTime endTimestamp, SummaryComponentDependencyDuration duration)
-
-
Method Detail
-
builder
public static SummaryComponentDependency.SummaryComponentDependencyBuilder builder()
-
toBuilder
public SummaryComponentDependency.SummaryComponentDependencyBuilder toBuilder()
-
getSourceIndex
public java.lang.Integer getSourceIndex()
- Specified by:
getSourceIndexin interfaceDependencyWithIdentity
-
getTargetIndex
public java.lang.Integer getTargetIndex()
- Specified by:
getTargetIndexin interfaceDependencyWithIdentity
-
getRelatedIndexes
public java.util.List<@NotNull @Min(0L) java.lang.Integer> getRelatedIndexes()
-
getTypeId
public java.lang.String getTypeId()
- Specified by:
getTypeIdin interfaceDependencyWithIdentity
-
getLabel
public java.lang.String getLabel()
- Specified by:
getLabelin interfaceDependencyWithIdentity
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin interfaceDependencyWithIdentity
-
getManual
public java.lang.Boolean getManual()
-
getSampleSize
public java.lang.Integer getSampleSize()
-
getStartTimestamp
public java.time.LocalDateTime getStartTimestamp()
-
getEndTimestamp
public java.time.LocalDateTime getEndTimestamp()
-
getDuration
public SummaryComponentDependencyDuration getDuration()
-
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
-
withSourceIndex
public SummaryComponentDependency withSourceIndex(java.lang.Integer sourceIndex)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withTargetIndex
public SummaryComponentDependency withTargetIndex(java.lang.Integer targetIndex)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withRelatedIndexes
public SummaryComponentDependency withRelatedIndexes(java.util.List<@NotNull @Min(0L) java.lang.Integer> relatedIndexes)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withTypeId
public SummaryComponentDependency withTypeId(java.lang.String typeId)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withLabel
public SummaryComponentDependency 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 SummaryComponentDependency withDescription(java.lang.String description)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withManual
public SummaryComponentDependency withManual(java.lang.Boolean manual)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withSampleSize
public SummaryComponentDependency withSampleSize(java.lang.Integer sampleSize)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withStartTimestamp
public SummaryComponentDependency withStartTimestamp(java.time.LocalDateTime startTimestamp)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withEndTimestamp
public SummaryComponentDependency withEndTimestamp(java.time.LocalDateTime endTimestamp)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withDuration
public SummaryComponentDependency withDuration(SummaryComponentDependencyDuration duration)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
-