public abstract class SdkAbstractStaticTypeResolver extends JavaTemplateEntity
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
requiresTypeResolver |
protected Class<?> |
superclass |
connectorModel, NAME_MEMBER, outputDir, VALUE_MEMBER| Constructor and Description |
|---|
SdkAbstractStaticTypeResolver(Path outputDir,
ConnectorModel connectorModel,
ConnectorOperation operation,
TypeDefinition typeDefinition,
SdkTypeDefinition sdkTypeDefinition) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyTemplates() |
protected abstract Class<?> |
buildSuperclass(TypeDefinition typeDefinition) |
protected String |
getCategorySuffix() |
String |
getClassName() |
protected abstract String |
getClassNameSuffix() |
String |
getPackage() |
protected abstract String |
getQName() |
boolean |
getRequiresTypeResolver() |
protected boolean |
requiresCategoryNameMethod() |
protected abstract boolean |
requiresQNameMethod() |
generateGetter, generateOptionalGetter, getResourcesPath, getSourcesPath, writeClassToFile, writeClassToFilegetTemplateEngineprotected final boolean requiresTypeResolver
protected Class<?> superclass
public SdkAbstractStaticTypeResolver(Path outputDir, ConnectorModel connectorModel, ConnectorOperation operation, TypeDefinition typeDefinition, SdkTypeDefinition sdkTypeDefinition)
protected abstract Class<?> buildSuperclass(TypeDefinition typeDefinition)
protected abstract String getClassNameSuffix()
protected String getCategorySuffix()
public String getClassName()
public boolean getRequiresTypeResolver()
public String getPackage()
public void applyTemplates()
throws TemplatingException
applyTemplates in class TemplateEntityTemplatingExceptionprotected boolean requiresCategoryNameMethod()
protected abstract boolean requiresQNameMethod()
protected abstract String getQName()
Copyright © 2019. All rights reserved.