| Constructor and Description |
|---|
LazyRefJsonType(java.util.function.Supplier<IJsonType> supplier) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equalsStructurally(IJsonType type2)
JSon Schema types normally compare by identity, however for
some use-cases we still need to compare them structurally e.g.,
for merging types.
|
List<IJsonType> |
getDefinitions() |
String |
getIdentifier() |
String |
getName() |
IJsonParentType |
getParent() |
IJsonType |
resolve() |
void |
setDefinitions(List<IJsonType> definitions) |
public LazyRefJsonType(java.util.function.Supplier<IJsonType> supplier)
public IJsonType resolve()
public String getIdentifier()
getIdentifier in interface IJsonTypepublic IJsonParentType getParent()
public List<IJsonType> getDefinitions()
getDefinitions in interface IJsonTypepublic void setDefinitions(List<IJsonType> definitions)
setDefinitions in interface IJsonTypepublic boolean equalsStructurally(IJsonType type2)
IJsonTypeequalsStructurally in interface IJsonTypeCopyright © 2018. All rights reserved.