Modifier and Type | Method and Description |
---|---|
LazyRefJsonType |
copyWithAttributes(TypeAttributes attributes) |
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() |
TypeAttributes |
getTypeAttributes() |
IJsonType |
merge(IJsonType type) |
IJsonType |
resolve() |
void |
setDefinitions(List<IJsonType> definitions) |
public IJsonType resolve()
public TypeAttributes getTypeAttributes()
getTypeAttributes
in interface IJsonType
public LazyRefJsonType copyWithAttributes(TypeAttributes attributes)
copyWithAttributes
in interface IJsonType
public String getIdentifier()
getIdentifier
in interface IJsonType
public IJsonParentType getParent()
public List<IJsonType> getDefinitions()
getDefinitions
in interface IJsonType
public void setDefinitions(List<IJsonType> definitions)
setDefinitions
in interface IJsonType
public boolean equalsStructurally(IJsonType type2)
IJsonType
equalsStructurally
in interface IJsonType
Copyright © 2024. All rights reserved.