@Generated(value={"Immutables.generator","SMFAttributeNameType"}) public final class SMFAttributeName extends Object implements SMFAttributeNameType
| Modifier and Type | Class and Description |
|---|---|
static class |
SMFAttributeName.Builder
Builds instances of type
SMFAttributeName. |
| Modifier and Type | Method and Description |
|---|---|
static SMFAttributeName.Builder |
builder()
Creates a builder for
SMFAttributeName. |
static SMFAttributeName |
copyOf(SMFAttributeNameType instance)
Creates an immutable copy of a
SMFAttributeNameType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
SMFAttributeName that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
value. |
static SMFAttributeName |
of(String value)
Construct a new immutable
SMFAttributeName instance. |
String |
toString()
Prints the immutable value
SMFAttributeName with attribute values. |
String |
value() |
SMFAttributeName |
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 SMFAttributeNameTypepublic final SMFAttributeName 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)
SMFAttributeName that have equal attribute values.public int hashCode()
value.public String toString()
SMFAttributeName with attribute values.public static SMFAttributeName of(String value)
SMFAttributeName instance.value - The value for the value attributepublic static SMFAttributeName copyOf(SMFAttributeNameType instance)
SMFAttributeNameType 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 SMFAttributeName.Builder builder()
SMFAttributeName.Copyright © 2017 <code@io7m.com> http://io7m.com