Class ImmutableTestCaseIndexDto
- java.lang.Object
-
- com.chutneytesting.scenario.api.raw.dto.ImmutableTestCaseIndexDto
-
- All Implemented Interfaces:
TestCaseIndexDto
@ParametersAreNonnullByDefault @Generated("org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableTestCaseIndexDto extends Object implements TestCaseIndexDto
Immutable implementation ofTestCaseIndexDto.Use the builder to create immutable instances:
ImmutableTestCaseIndexDto.builder().
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableTestCaseIndexDto.BuilderBuilds instances of typeImmutableTestCaseIndexDto.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableTestCaseIndexDto.Builderbuilder()Creates a builder forImmutableTestCaseIndexDto.static ImmutableTestCaseIndexDtocopyOf(TestCaseIndexDto instance)Creates an immutable copy of aTestCaseIndexDtovalue.booleanequals(Object another)This instance is equal to all instances ofImmutableTestCaseIndexDtothat have equal attribute values.inthashCode()Computes a hash code from attributes:metadata.GwtTestCaseMetadataDtometadata()StringtoString()Prints the immutable valueTestCaseIndexDtowith attribute values.ImmutableTestCaseIndexDtowithMetadata(GwtTestCaseMetadataDto value)Copy the current immutable object by setting a value for themetadataattribute.
-
-
-
Method Detail
-
metadata
public GwtTestCaseMetadataDto metadata()
- Specified by:
metadatain interfaceTestCaseIndexDto- Returns:
- The value of the
metadataattribute
-
withMetadata
public final ImmutableTestCaseIndexDto withMetadata(GwtTestCaseMetadataDto value)
Copy the current immutable object by setting a value for themetadataattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for metadata- Returns:
- A modified copy of the
thisobject
-
equals
public boolean equals(@Nullable Object another)This instance is equal to all instances ofImmutableTestCaseIndexDtothat have equal attribute values.
-
hashCode
public int hashCode()
Computes a hash code from attributes:metadata.
-
toString
public String toString()
Prints the immutable valueTestCaseIndexDtowith attribute values.
-
copyOf
public static ImmutableTestCaseIndexDto copyOf(TestCaseIndexDto instance)
Creates an immutable copy of aTestCaseIndexDtovalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable TestCaseIndexDto instance
-
builder
public static ImmutableTestCaseIndexDto.Builder builder()
Creates a builder forImmutableTestCaseIndexDto.ImmutableTestCaseIndexDto.builder() .metadata(com.chutneytesting.scenario.api.raw.dto.GwtTestCaseMetadataDto) // requiredmetadata.build();- Returns:
- A new ImmutableTestCaseIndexDto builder
-
-