public final class Name extends SqllrObject
| Modifier and Type | Class and Description |
|---|---|
static class |
Name.Builder
Collects the members of a new
Name. |
SqllrObject.Reader<T>| Modifier and Type | Field and Description |
|---|---|
static List<String> |
MEMBERS
The members the schema defines, in schema order.
|
static SqllrObject.Reader<Name> |
READER
Reads a JSON object as a
Name. |
static List<String> |
REQUIRED
The members the schema requires.
|
| Modifier and Type | Method and Description |
|---|---|
static Name.Builder |
builder() |
static Name |
fromJson(Object json)
A
Name with the members of a JSON object, all kept. |
List<NameSegment> |
getSegments()
The member
segments. |
Name.Builder |
toBuilder()
A builder holding every member of this object.
|
public static final SqllrObject.Reader<Name> READER
Name.public static Name fromJson(Object json)
Name with the members of a JSON object, all kept.public static Name.Builder builder()
public Name.Builder toBuilder()
public List<NameSegment> getSegments()
segments. Null when absent; throws IllegalStateException when the member
holds another JSON type.