public final class Producer extends SqllrObject
| Modifier and Type | Class and Description |
|---|---|
static class |
Producer.Builder
Collects the members of a new
Producer. |
SqllrObject.Reader<T>| Modifier and Type | Field and Description |
|---|---|
static List<String> |
MEMBERS
The members the schema defines, in schema order.
|
static SqllrObject.Reader<Producer> |
READER
Reads a JSON object as a
Producer. |
static List<String> |
REQUIRED
The members the schema requires.
|
| Modifier and Type | Method and Description |
|---|---|
static Producer.Builder |
builder() |
static Producer |
fromJson(Object json)
A
Producer with the members of a JSON object, all kept. |
Map<String,Extension> |
getExtensions()
The member
extensions. |
String |
getName()
The member
name. |
String |
getVersion()
The member
version. |
Producer.Builder |
toBuilder()
A builder holding every member of this object.
|
public static final SqllrObject.Reader<Producer> READER
Producer.public static Producer fromJson(Object json)
Producer with the members of a JSON object, all kept.public static Producer.Builder builder()
public Producer.Builder toBuilder()
public String getName()
name. Null when absent; throws IllegalStateException when the member holds
another JSON type.public String getVersion()
version. Null when absent; throws IllegalStateException when the member
holds another JSON type.public Map<String,Extension> getExtensions()
extensions. Extension data keyed by namespace. Every core object may carry
it; it never takes part in a core identity. Null when absent; throws IllegalStateException
when the member holds another JSON type.