@Generated(value={"Immutables.generator","CAtomFeedMetaType"}) public final class CAtomFeedMeta extends Object implements CAtomFeedMetaType
| Modifier and Type | Class and Description |
|---|---|
static class |
CAtomFeedMeta.Builder
Builds instances of type
CAtomFeedMeta. |
| Modifier and Type | Method and Description |
|---|---|
String |
authorEmail() |
String |
authorName() |
static CAtomFeedMeta.Builder |
builder()
Creates a builder for
CAtomFeedMeta. |
static CAtomFeedMeta |
copyOf(CAtomFeedMetaType instance)
Creates an immutable copy of a
CAtomFeedMetaType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
CAtomFeedMeta that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
authorEmail, authorName, title, uri. |
static CAtomFeedMeta |
of(String authorEmail,
String authorName,
String title,
URI uri)
Construct a new immutable
CAtomFeedMeta instance. |
String |
title() |
String |
toString()
Prints the immutable value
CAtomFeedMeta with attribute values. |
URI |
uri() |
CAtomFeedMeta |
withAuthorEmail(String value)
Copy the current immutable object by setting a value for the
authorEmail attribute. |
CAtomFeedMeta |
withAuthorName(String value)
Copy the current immutable object by setting a value for the
authorName attribute. |
CAtomFeedMeta |
withTitle(String value)
Copy the current immutable object by setting a value for the
title attribute. |
CAtomFeedMeta |
withUri(URI value)
Copy the current immutable object by setting a value for the
uri attribute. |
public String authorEmail()
authorEmail in interface CAtomFeedMetaTypepublic String authorName()
authorName in interface CAtomFeedMetaTypepublic String title()
title in interface CAtomFeedMetaTypepublic URI uri()
uri in interface CAtomFeedMetaTypepublic final CAtomFeedMeta withAuthorEmail(String value)
authorEmail attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for authorEmailthis objectpublic final CAtomFeedMeta withAuthorName(String value)
authorName attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for authorNamethis objectpublic final CAtomFeedMeta withTitle(String value)
title attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for titlethis objectpublic final CAtomFeedMeta withUri(URI value)
uri attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for urithis objectpublic boolean equals(Object another)
CAtomFeedMeta that have equal attribute values.public int hashCode()
authorEmail, authorName, title, uri.public String toString()
CAtomFeedMeta with attribute values.public static CAtomFeedMeta of(String authorEmail, String authorName, String title, URI uri)
CAtomFeedMeta instance.authorEmail - The value for the authorEmail attributeauthorName - The value for the authorName attributetitle - The value for the title attributeuri - The value for the uri attributepublic static CAtomFeedMeta copyOf(CAtomFeedMetaType instance)
CAtomFeedMetaType 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 CAtomFeedMeta.Builder builder()
CAtomFeedMeta.Copyright © 2017 <code@io7m.com> http://io7m.com