public interface Document
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Document.DocumentProvider
A provider of
Document where it will create from two parameters:
The first one is the name of column
The second one is the information of column |
| Modifier and Type | Method and Description |
|---|---|
Object |
get()
Alias to
Value.get() |
<T> T |
get(Class<T> clazz)
Alias to
Value.get(Class) |
<T> T |
get(TypeSupplier<T> typeSupplier)
Alias to
Value.get(TypeSupplier) |
String |
getName()
The column's name
|
Value |
getValue()
the column's value
|
static <V> Document |
of(String name,
V value)
Creates a document instance
|
static <V> Document of(String name, V value)
V - the value typename - - document's namevalue - - document's valueNullPointerException - when there is any null parameterDocumentsString getName()
<T> T get(Class<T> clazz)
Value.get(Class)T - Value.get(Class)clazz - Value.get(Class)Value.get(Class)NullPointerException - see Value.get(Class)UnsupportedOperationException - see Value.get(Class)<T> T get(TypeSupplier<T> typeSupplier)
Value.get(TypeSupplier)T - Value.get(TypeSupplier)typeSupplier - Value.get(TypeSupplier)Value.get(TypeSupplier)NullPointerException - see Value.get(TypeSupplier)UnsupportedOperationException - see Value.get(TypeSupplier)Object get()
Value.get()Value.get()Copyright © 2017–2020 Eclipse Foundation. All rights reserved.