@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","ViewStateValuesBlockIF"}) @Immutable public final class ViewStateValuesBlock extends Object implements ViewStateValuesBlockIF
ViewStateValuesBlockIF.
Use the builder to create immutable instances:
ViewStateValuesBlock.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ViewStateValuesBlock.Builder
Builds instances of type
ViewStateValuesBlock. |
| Modifier and Type | Method and Description |
|---|---|
static ViewStateValuesBlock.Builder |
builder()
Creates a builder for
ViewStateValuesBlock. |
static ViewStateValuesBlock |
copyOf(ViewStateValuesBlockIF instance)
Creates an immutable copy of a
ViewStateValuesBlockIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ViewStateValuesBlock that have equal attribute values. |
String |
getType() |
String |
getValue() |
int |
hashCode()
Computes a hash code from attributes:
type, value. |
String |
toString()
Prints the immutable value
ViewStateValuesBlock with attribute values. |
ViewStateValuesBlock |
withType(String type)
Copy the current immutable object by setting a value for the
type attribute. |
ViewStateValuesBlock |
withValue(String value)
Copy the current immutable object by setting a value for the
value attribute. |
public String getType()
getType in interface ViewStateValuesBlockIFtype attributepublic String getValue()
getValue in interface ViewStateValuesBlockIFvalue attributepublic final ViewStateValuesBlock withType(String type)
type attribute.
An equals check used to prevent copying of the same value by returning this.type - A new value for typethis objectpublic final ViewStateValuesBlock withValue(String value)
value attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for valuethis objectpublic boolean equals(@Nullable Object another)
ViewStateValuesBlock that have equal attribute values.public int hashCode()
type, value.public String toString()
ViewStateValuesBlock with attribute values.public static ViewStateValuesBlock copyOf(ViewStateValuesBlockIF instance)
ViewStateValuesBlockIF value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ViewStateValuesBlock.Builder builder()
ViewStateValuesBlock.Copyright © 2020. All rights reserved.