public abstract static class Schema.SchemaReference
extends java.lang.Object
Schema within a SchemaRepository. Because of the
way types are constructed, some schema references shouldn't be resolved until needed. This
class is a simple utility for storing the reference.| Constructor and Description |
|---|
SchemaReference() |
| Modifier and Type | Method and Description |
|---|---|
abstract ApiConfig |
apiConfig() |
static Schema.SchemaReference |
create(SchemaRepository repository,
ApiConfig apiConfig,
com.google.common.reflect.TypeToken type) |
Schema |
get() |
abstract SchemaRepository |
repository() |
abstract com.google.common.reflect.TypeToken<?> |
type() |
public abstract SchemaRepository repository()
public abstract ApiConfig apiConfig()
public abstract com.google.common.reflect.TypeToken<?> type()
public Schema get()
public static Schema.SchemaReference create(SchemaRepository repository, ApiConfig apiConfig, com.google.common.reflect.TypeToken type)