@ParametersAreNonnullByDefault @Immutable @CheckReturnValue public final class ImmutableSoapApiModelInfo extends Object implements SoapApiModelInfo
SoapApiModelInfo.
Use the builder to create immutable instances:
new SoapApiModelInfo.Builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableSoapApiModelInfo.Builder
Builds instances of type
ImmutableSoapApiModelInfo. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableSoapApiModelInfo |
copyOf(SoapApiModelInfo instance)
Creates an immutable copy of a
SoapApiModelInfo value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableSoapApiModelInfo that have equal attribute values. |
Optional<String> |
getDefaultAddress() |
Optional<String> |
getDefaultPort() |
Optional<QName> |
getDefaultService() |
com.google.common.collect.ImmutableList<Violation> |
getErrors() |
Optional<javax.wsdl.Definition> |
getModel() |
com.google.common.collect.ImmutableMap<QName,List<String>> |
getPorts() |
Optional<String> |
getResolvedSpecification() |
com.google.common.collect.ImmutableList<QName> |
getServices() |
com.google.common.collect.ImmutableList<Violation> |
getWarnings() |
Optional<String> |
getWsdlURL() |
int |
hashCode()
Computes a hash code from attributes:
wsdlURL, resolvedSpecification, model, defaultService, defaultPort, defaultAddress, services, ports, warnings, errors. |
String |
toString()
Prints the immutable value
SoapApiModelInfo with attribute values. |
ImmutableSoapApiModelInfo |
withDefaultAddress(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
defaultAddress attribute. |
ImmutableSoapApiModelInfo |
withDefaultAddress(String value)
Copy the current immutable object by setting a present value for the optional
defaultAddress attribute. |
ImmutableSoapApiModelInfo |
withDefaultPort(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
defaultPort attribute. |
ImmutableSoapApiModelInfo |
withDefaultPort(String value)
Copy the current immutable object by setting a present value for the optional
defaultPort attribute. |
ImmutableSoapApiModelInfo |
withDefaultService(Optional<? extends QName> optional)
Copy the current immutable object by setting an optional value for the
defaultService attribute. |
ImmutableSoapApiModelInfo |
withDefaultService(QName value)
Copy the current immutable object by setting a present value for the optional
defaultService attribute. |
ImmutableSoapApiModelInfo |
withErrors(Iterable<? extends Violation> elements)
Copy the current immutable object with elements that replace the content of
errors. |
ImmutableSoapApiModelInfo |
withErrors(Violation... elements)
Copy the current immutable object with elements that replace the content of
errors. |
ImmutableSoapApiModelInfo |
withModel(javax.wsdl.Definition value)
Copy the current immutable object by setting a present value for the optional
model attribute. |
ImmutableSoapApiModelInfo |
withModel(Optional<? extends javax.wsdl.Definition> optional)
Copy the current immutable object by setting an optional value for the
model attribute. |
ImmutableSoapApiModelInfo |
withPorts(Map<? extends QName,? extends List<String>> entries)
Copy the current immutable object by replacing the
ports map with the specified map. |
ImmutableSoapApiModelInfo |
withResolvedSpecification(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
resolvedSpecification attribute. |
ImmutableSoapApiModelInfo |
withResolvedSpecification(String value)
Copy the current immutable object by setting a present value for the optional
resolvedSpecification attribute. |
ImmutableSoapApiModelInfo |
withServices(Iterable<? extends QName> elements)
Copy the current immutable object with elements that replace the content of
services. |
ImmutableSoapApiModelInfo |
withServices(QName... elements)
Copy the current immutable object with elements that replace the content of
services. |
ImmutableSoapApiModelInfo |
withWarnings(Iterable<? extends Violation> elements)
Copy the current immutable object with elements that replace the content of
warnings. |
ImmutableSoapApiModelInfo |
withWarnings(Violation... elements)
Copy the current immutable object with elements that replace the content of
warnings. |
ImmutableSoapApiModelInfo |
withWsdlURL(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
wsdlURL attribute. |
ImmutableSoapApiModelInfo |
withWsdlURL(String value)
Copy the current immutable object by setting a present value for the optional
wsdlURL attribute. |
public Optional<String> getWsdlURL()
getWsdlURL in interface SoapApiModelInfowsdlURL attributepublic Optional<String> getResolvedSpecification()
getResolvedSpecification in interface SoapApiModelInforesolvedSpecification attributepublic Optional<javax.wsdl.Definition> getModel()
getModel in interface SoapApiModelInfomodel attributepublic Optional<QName> getDefaultService()
getDefaultService in interface SoapApiModelInfodefaultService attributepublic Optional<String> getDefaultPort()
getDefaultPort in interface SoapApiModelInfodefaultPort attributepublic Optional<String> getDefaultAddress()
getDefaultAddress in interface SoapApiModelInfodefaultAddress attributepublic com.google.common.collect.ImmutableList<QName> getServices()
getServices in interface SoapApiModelInfoservices attributepublic com.google.common.collect.ImmutableMap<QName,List<String>> getPorts()
getPorts in interface SoapApiModelInfoports attributepublic com.google.common.collect.ImmutableList<Violation> getWarnings()
getWarnings in interface SoapApiModelInfowarnings attributepublic com.google.common.collect.ImmutableList<Violation> getErrors()
getErrors in interface SoapApiModelInfoerrors attributepublic final ImmutableSoapApiModelInfo withWsdlURL(String value)
wsdlURL attribute.value - The value for wsdlURLthis objectpublic final ImmutableSoapApiModelInfo withWsdlURL(Optional<String> optional)
wsdlURL attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for wsdlURLthis objectpublic final ImmutableSoapApiModelInfo withResolvedSpecification(String value)
resolvedSpecification attribute.value - The value for resolvedSpecificationthis objectpublic final ImmutableSoapApiModelInfo withResolvedSpecification(Optional<String> optional)
resolvedSpecification attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for resolvedSpecificationthis objectpublic final ImmutableSoapApiModelInfo withModel(javax.wsdl.Definition value)
model attribute.value - The value for modelthis objectpublic final ImmutableSoapApiModelInfo withModel(Optional<? extends javax.wsdl.Definition> optional)
model attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this.optional - A value for modelthis objectpublic final ImmutableSoapApiModelInfo withDefaultService(QName value)
defaultService attribute.value - The value for defaultServicethis objectpublic final ImmutableSoapApiModelInfo withDefaultService(Optional<? extends QName> optional)
defaultService attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this.optional - A value for defaultServicethis objectpublic final ImmutableSoapApiModelInfo withDefaultPort(String value)
defaultPort attribute.value - The value for defaultPortthis objectpublic final ImmutableSoapApiModelInfo withDefaultPort(Optional<String> optional)
defaultPort attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for defaultPortthis objectpublic final ImmutableSoapApiModelInfo withDefaultAddress(String value)
defaultAddress attribute.value - The value for defaultAddressthis objectpublic final ImmutableSoapApiModelInfo withDefaultAddress(Optional<String> optional)
defaultAddress attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for defaultAddressthis objectpublic final ImmutableSoapApiModelInfo withServices(QName... elements)
services.elements - The elements to setthis objectpublic final ImmutableSoapApiModelInfo withServices(Iterable<? extends QName> elements)
services.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of services elements to setthis objectpublic final ImmutableSoapApiModelInfo withPorts(Map<? extends QName,? extends List<String>> entries)
ports map with the specified map.
Nulls are not permitted as keys or values.
A shallow reference equality check is used to prevent copying of the same value by returning this.entries - The entries to be added to the ports mapthis objectpublic final ImmutableSoapApiModelInfo withWarnings(Violation... elements)
warnings.elements - The elements to setthis objectpublic final ImmutableSoapApiModelInfo withWarnings(Iterable<? extends Violation> elements)
warnings.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of warnings elements to setthis objectpublic final ImmutableSoapApiModelInfo withErrors(Violation... elements)
errors.elements - The elements to setthis objectpublic final ImmutableSoapApiModelInfo withErrors(Iterable<? extends Violation> elements)
errors.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of errors elements to setthis objectpublic boolean equals(@Nullable Object another)
ImmutableSoapApiModelInfo that have equal attribute values.public int hashCode()
wsdlURL, resolvedSpecification, model, defaultService, defaultPort, defaultAddress, services, ports, warnings, errors.public String toString()
SoapApiModelInfo with attribute values.public static ImmutableSoapApiModelInfo copyOf(SoapApiModelInfo instance)
SoapApiModelInfo 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 copyCopyright © 2016–2021 Red Hat. All rights reserved.