public abstract class TypeSchema extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
depth
a depth of the type that are used by other types
eg, A contains B, and B contains C, then the depth for A is 2
|
JavaDtoSpec |
spec |
| Constructor and Description |
|---|
TypeSchema(String type,
String fullTypeName,
Class<?> clazz,
JavaDtoSpec spec) |
| Modifier and Type | Method and Description |
|---|---|
abstract TypeSchema |
copy() |
Class<?> |
getClazz() |
TypeDto |
getDto() |
String |
getFullTypeName() |
String |
getFullTypeNameWithGenericType() |
String |
getSimpleTypeName() |
String |
getTypeNameForInstanceInJavaOrKotlin(boolean isJava) |
boolean |
sameType(TypeDto dto) |
void |
setOriginalType(Class<?> originalType) |
public final JavaDtoSpec spec
public int depth
public TypeSchema(String type, String fullTypeName, Class<?> clazz, JavaDtoSpec spec)
public void setOriginalType(Class<?> originalType)
public String getSimpleTypeName()
public String getFullTypeName()
public String getFullTypeNameWithGenericType()
public abstract TypeSchema copy()
public TypeDto getDto()
public boolean sameType(TypeDto dto)
public Class<?> getClazz()
public String getTypeNameForInstanceInJavaOrKotlin(boolean isJava)
Copyright © 2016–2024. All rights reserved.