@Generated(value={"Immutables.generator","FfbDepotInfo"}) public final class ImmutableFfbDepotInfo extends Object implements FfbDepotInfo
FfbDepotInfo.
Use the builder to create immutable instances:
ImmutableFfbDepotInfo.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableFfbDepotInfo.Builder
Builds instances of type
ImmutableFfbDepotInfo. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableFfbDepotInfo.Builder |
builder()
Creates a builder for
ImmutableFfbDepotInfo. |
static ImmutableFfbDepotInfo |
copyOf(FfbDepotInfo instance)
Creates an immutable copy of a
FfbDepotInfo value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableFfbDepotInfo that have equal attribute values. |
String |
getDepotname()
A name of th depot.
|
FfbDepotNummer |
getDepotNummer() |
List<FfbFondsbestand> |
getFondsbestaende()
Each fund is represendet by
FfbFondsbestand. |
BigDecimal |
getGesamtDepotBestand() |
int |
hashCode()
Computes a hash code from attributes:
depotname, depotNummer, gesamtDepotBestand, fondsbestaende. |
String |
toString()
Prints the immutable value
FfbDepotInfo with attribute values. |
ImmutableFfbDepotInfo |
withDepotname(String value)
Copy the current immutable object by setting a value for the
depotname attribute. |
ImmutableFfbDepotInfo |
withDepotNummer(FfbDepotNummer value)
Copy the current immutable object by setting a value for the
depotNummer attribute. |
ImmutableFfbDepotInfo |
withFondsbestaende(FfbFondsbestand... elements)
Copy the current immutable object with elements that replace the content of
fondsbestaende. |
ImmutableFfbDepotInfo |
withFondsbestaende(Iterable<? extends FfbFondsbestand> elements)
Copy the current immutable object with elements that replace the content of
fondsbestaende. |
ImmutableFfbDepotInfo |
withGesamtDepotBestand(BigDecimal value)
Copy the current immutable object by setting a value for the
gesamtDepotBestand attribute. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTopublic String getDepotname()
getDepotname in interface FfbDepotInfopublic FfbDepotNummer getDepotNummer()
getDepotNummer in interface FfbDepotInfodepotNummer attributepublic BigDecimal getGesamtDepotBestand()
getGesamtDepotBestand in interface FfbDepotInfogesamtDepotBestand attributepublic List<FfbFondsbestand> getFondsbestaende()
FfbFondsbestand.getFondsbestaende in interface FfbDepotInfopublic final ImmutableFfbDepotInfo withDepotname(String value)
depotname attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for depotnamethis objectpublic final ImmutableFfbDepotInfo withDepotNummer(FfbDepotNummer value)
depotNummer attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for depotNummerthis objectpublic final ImmutableFfbDepotInfo withGesamtDepotBestand(BigDecimal value)
gesamtDepotBestand attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for gesamtDepotBestandthis objectpublic final ImmutableFfbDepotInfo withFondsbestaende(FfbFondsbestand... elements)
fondsbestaende.elements - The elements to setthis objectpublic final ImmutableFfbDepotInfo withFondsbestaende(Iterable<? extends FfbFondsbestand> elements)
fondsbestaende.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of fondsbestaende elements to setthis objectpublic boolean equals(Object another)
ImmutableFfbDepotInfo that have equal attribute values.public int hashCode()
depotname, depotNummer, gesamtDepotBestand, fondsbestaende.public String toString()
FfbDepotInfo with attribute values.public static ImmutableFfbDepotInfo copyOf(FfbDepotInfo instance)
FfbDepotInfo 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 ImmutableFfbDepotInfo.Builder builder()
ImmutableFfbDepotInfo.builder in interface FfbDepotInfoCopyright © 2018. All rights reserved.