Package manifold.api.json.codegen
Interface IJsonType
-
- All Known Subinterfaces:
IJsonParentType
- All Known Implementing Classes:
DynamicType,ErrantType,JsonBasicType,JsonEnumType,JsonFormatType,JsonListType,JsonSchemaType,JsonStructureType,JsonUnionType,LazyRefJsonType
public interface IJsonType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description IJsonTypecopyWithAttributes(TypeAttributes attributes)default booleanequalsStructurally(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 List<IJsonType>getDefinitions()StringgetIdentifier()StringgetName()IJsonParentTypegetParent()TypeAttributesgetTypeAttributes()IJsonTypemerge(IJsonType type)default voidsetDefinitions(List<IJsonType> definitions)
-
-
-
Method Detail
-
getName
String getName()
-
getIdentifier
String getIdentifier()
-
getParent
IJsonParentType getParent()
-
getTypeAttributes
TypeAttributes getTypeAttributes()
-
copyWithAttributes
IJsonType copyWithAttributes(TypeAttributes attributes)
-
equalsStructurally
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.
-
-