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