@Generated(value={"Immutables.generator","SMFSchemaNameType"}) public final class SMFSchemaName extends Object implements SMFSchemaNameType
| Modifier and Type | Class and Description |
|---|---|
static class |
SMFSchemaName.Builder
Builds instances of type
SMFSchemaName. |
| Modifier and Type | Method and Description |
|---|---|
static SMFSchemaName.Builder |
builder()
Creates a builder for
SMFSchemaName. |
static SMFSchemaName |
copyOf(SMFSchemaNameType instance)
Creates an immutable copy of a
SMFSchemaNameType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
SMFSchemaName that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
value. |
static SMFSchemaName |
of(String value)
Construct a new immutable
SMFSchemaName instance. |
String |
toString()
Prints the immutable value
SMFSchemaName with attribute values. |
String |
value() |
SMFSchemaName |
withValue(String value)
Copy the current immutable object by setting a value for the
value attribute. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcheckPreconditions, compareTopublic String value()
value in interface SMFSchemaNameTypepublic final SMFSchemaName 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(Object another)
SMFSchemaName that have equal attribute values.public int hashCode()
value.public String toString()
SMFSchemaName with attribute values.public static SMFSchemaName of(String value)
SMFSchemaName instance.value - The value for the value attributepublic static SMFSchemaName copyOf(SMFSchemaNameType instance)
SMFSchemaNameType 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 SMFSchemaName.Builder builder()
SMFSchemaName.Copyright © 2017 <code@io7m.com> http://io7m.com