CTicketSystemTypepublic final class CTicketSystem extends java.lang.Object implements CTicketSystemType
| Modifier and Type | Class | Description |
|---|---|---|
static class |
CTicketSystem.Builder |
Builds instances of type
CTicketSystem. |
| Modifier and Type | Method | Description |
|---|---|---|
static CTicketSystem.Builder |
builder() |
Creates a builder for
CTicketSystem. |
static CTicketSystem |
copyOf(CTicketSystemType instance) |
Creates an immutable copy of a
CTicketSystemType value. |
boolean |
equals(java.lang.Object another) |
This instance is equal to all instances of
CTicketSystem that have equal attribute values. |
int |
hashCode() |
Computes a hash code from attributes:
id, uris. |
java.lang.String |
id() |
|
static CTicketSystem |
of(java.lang.String id,
java.lang.Iterable<? extends java.net.URI> uris) |
Construct a new immutable
CTicketSystem instance. |
static CTicketSystem |
of(java.lang.String id,
java.util.List<java.net.URI> uris) |
Construct a new immutable
CTicketSystem instance. |
java.lang.String |
toString() |
Prints the immutable value
CTicketSystem with attribute values. |
java.util.List<java.net.URI> |
uris() |
|
CTicketSystem |
withId(java.lang.String value) |
Copy the current immutable object by setting a value for the
id attribute. |
CTicketSystem |
withUris(java.lang.Iterable<? extends java.net.URI> elements) |
Copy the current immutable object with elements that replace the content of
uris. |
CTicketSystem |
withUris(java.net.URI... elements) |
Copy the current immutable object with elements that replace the content of
uris. |
public java.lang.String id()
id in interface CTicketSystemTypepublic java.util.List<java.net.URI> uris()
uris in interface CTicketSystemTypepublic final CTicketSystem withId(java.lang.String value)
id attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for idthis objectpublic final CTicketSystem withUris(java.net.URI... elements)
uris.elements - The elements to setthis objectpublic final CTicketSystem withUris(java.lang.Iterable<? extends java.net.URI> elements)
uris.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of uris elements to setthis objectpublic boolean equals(java.lang.Object another)
CTicketSystem that have equal attribute values.equals in class java.lang.Objecttrue if this is equal to another instancepublic int hashCode()
id, uris.hashCode in class java.lang.Objectpublic java.lang.String toString()
CTicketSystem with attribute values.toString in class java.lang.Objectpublic static CTicketSystem of(java.lang.String id, java.util.List<java.net.URI> uris)
CTicketSystem instance.id - The value for the id attributeuris - The value for the uris attributepublic static CTicketSystem of(java.lang.String id, java.lang.Iterable<? extends java.net.URI> uris)
CTicketSystem instance.id - The value for the id attributeuris - The value for the uris attributepublic static CTicketSystem copyOf(CTicketSystemType instance)
CTicketSystemType 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 CTicketSystem.Builder builder()
CTicketSystem.Copyright © 2017 <code@io7m.com> http://io7m.com