Package manifold.api.json.codegen.schema
Class LazyRefJsonType
- java.lang.Object
-
- manifold.api.json.codegen.schema.LazyRefJsonType
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LazyRefJsonTypecopyWithAttributes(TypeAttributes attributes)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.List<IJsonType>getDefinitions()StringgetIdentifier()StringgetName()IJsonParentTypegetParent()TypeAttributesgetTypeAttributes()IJsonTypemerge(IJsonType type)IJsonTyperesolve()voidsetDefinitions(List<IJsonType> definitions)
-
-
-
Method Detail
-
resolve
public IJsonType resolve()
-
getTypeAttributes
public TypeAttributes getTypeAttributes()
- Specified by:
getTypeAttributesin interfaceIJsonType
-
copyWithAttributes
public LazyRefJsonType copyWithAttributes(TypeAttributes attributes)
- Specified by:
copyWithAttributesin interfaceIJsonType
-
getIdentifier
public String getIdentifier()
- Specified by:
getIdentifierin interfaceIJsonType
-
getParent
public IJsonParentType getParent()
-
getDefinitions
public List<IJsonType> getDefinitions()
- Specified by:
getDefinitionsin interfaceIJsonType
-
setDefinitions
public void setDefinitions(List<IJsonType> definitions)
- Specified by:
setDefinitionsin interfaceIJsonType
-
equalsStructurally
public boolean equalsStructurally(IJsonType type2)
Description copied from interface:IJsonTypeJSon Schema types normally compare by identity, however for some use-cases we still need to compare them structurally e.g., for merging types.- Specified by:
equalsStructurallyin interfaceIJsonType
-
-