| 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.
|
java.util.List<IJsonType> |
getDefinitions() |
java.lang.String |
getIdentifier() |
java.lang.String |
getName() |
IJsonParentType |
getParent() |
TypeAttributes |
getTypeAttributes() |
IJsonType |
merge(IJsonType type) |
IJsonType |
resolve() |
void |
setDefinitions(java.util.List<IJsonType> definitions) |
public IJsonType resolve()
public TypeAttributes getTypeAttributes()
getTypeAttributes in interface IJsonTypepublic LazyRefJsonType copyWithAttributes(TypeAttributes attributes)
copyWithAttributes in interface IJsonTypepublic java.lang.String getIdentifier()
getIdentifier in interface IJsonTypepublic IJsonParentType getParent()
public java.util.List<IJsonType> getDefinitions()
getDefinitions in interface IJsonTypepublic void setDefinitions(java.util.List<IJsonType> definitions)
setDefinitions in interface IJsonTypepublic boolean equalsStructurally(IJsonType type2)
IJsonTypeequalsStructurally in interface IJsonTypeCopyright © 2024. All rights reserved.