public class GQLSchemaConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GQLSchemaConfig.IdType
Type ID
|
| Constructor and Description |
|---|
GQLSchemaConfig()
Constructor
|
public String removePropertyIdSuffix(String property)
attributeIdSuffix or attributeIdPluralSuffix
suffixes from given property nameproperty - the property namepublic Set<Class<?>> getScalarTypeClasses()
Set of all scalar type classespublic Optional<String> getScalarTypeCodeFromClass(Class<?> scalarClass)
scalarClass - the scalar classpublic boolean isScalarType(Class<?> clazz)
clazz - the class to be testedpublic Optional<graphql.schema.GraphQLScalarType> getScalarType(String scalarTypeCode)
GraphQLScalarType from its related scalar type codescalarTypeCode - the scalar type codeOptional found GraphQLScalarTypepublic Optional<graphql.schema.GraphQLScalarType> getScalarTypeFromClass(Class<?> scalarClass)
GraphQLScalarType from given scalar classscalarClass - the scalar classOptional found GraphQLScalarTypepublic String getQueryTypeName()
public void setQueryTypeName(String queryTypeName)
queryTypeName - the queryTypeName to setpublic String getMutationTypeName()
public void setMutationTypeName(String mutationTypeName)
mutationTypeName - the mutationTypeName to setpublic String getInputTypeNameSuffix()
public void setInputTypeNameSuffix(String inputTypeNameSuffix)
inputTypeNameSuffix - the inputTypeNameSuffix to setpublic String getOutputTypeNameSuffix()
public void setOutputTypeNameSuffix(String outputTypeNameSuffix)
outputTypeNameSuffix - the outputTypeNameSuffix to setpublic String getQueryGetListOutputTypeNameSuffix()
public void setQueryGetListOutputTypeNameSuffix(String queryGetListOutputTypeNameSuffix)
queryGetListOutputTypeNameSuffix - the queryGetListOutputTypeNameSuffix to setpublic String getOutputDeleteResultTypeNamePrefix()
public void setOutputDeleteResultTypeNamePrefix(String outputDeleteResultTypeNamePrefix)
outputDeleteResultTypeNamePrefix - the outputDeleteResultTypeNamePrefix to setpublic String getQueryGetListPrefix()
public void setQueryGetListPrefix(String queryGetListPrefix)
queryGetListPrefix - the queryGetListPrefix to setpublic String getQueryGetByIdPrefix()
public void setQueryGetByIdPrefix(String queryGetByIdPrefix)
queryGetByIdPrefix - the queryGetByIdPrefix to setpublic String getMutationSavePrefix()
public void setMutationSavePrefix(String mutationSavePrefix)
mutationSavePrefix - the mutationSavePrefix to setpublic String getMutationDeletePrefix()
public void setMutationDeletePrefix(String mutationDeletePrefix)
mutationDeletePrefix - the mutationDeletePrefix to setpublic String getAttributeIdSuffix()
public void setAttributeIdSuffix(String attributeIdSuffix)
attributeIdSuffix - the attributeIdSuffix to setpublic String getAttributePluralSuffix()
public void setAttributePluralSuffix(String attributePluralSuffix)
attributePluralSuffix - the attributePluralSuffix to setpublic String getAttributeIdPluralSuffix()
public void setAttributeIdPluralSuffix(String attributeIdPluralSuffix)
attributeIdPluralSuffix - the attributeIdPluralSuffix to setpublic String getMutationAttributeInputDataName()
public void setMutationAttributeInputDataName(String mutationAttributeInputDataName)
mutationAttributeInputDataName - the mutationAttributeInputDataName to setpublic String getQueryGetListAttributeOutputDataName()
public void setQueryGetListAttributeOutputDataName(String queryGetListAttributeOutputDataName)
queryGetListAttributeOutputDataName - the queryGetListAttributeOutputDataName to setpublic GQLOrderByDirectionEnum getQueryGetListFilterAttributeOrderByDirectionDefaultValue()
public void setQueryGetListFilterAttributeOrderByDirectionDefaultValue(GQLOrderByDirectionEnum queryGetListFilterAttributeOrderByDirectionDefaultValue)
queryGetListFilterAttributeOrderByDirectionDefaultValue - the queryGetListFilterAttributeOrderByDirectionDefaultValue to
setpublic String getMutationDeleteResultAttributeId()
public void setMutationDeleteResultAttributeId(String mutationDeleteResultAttributeId)
mutationDeleteResultAttributeId - the mutationDeleteResultAttributeId to setpublic String getMutationDeleteResultAttributeTypename()
public void setMutationDeleteResultAttributeTypename(String mutationDeleteResultAttributeTypename)
mutationDeleteResultAttributeTypename - the mutationDeleteResultAttributeTypename to setpublic String getQueryGetListFilterAttributeName()
public void setQueryGetListFilterAttributeName(String queryGetListFilterAttributeName)
queryGetListFilterAttributeName - the queryGetListFilterAttributeName to setpublic String getQueryGetListFilterAttributeOperatorTypeNamePrefix()
public void setQueryGetListFilterAttributeOperatorTypeNamePrefix(String queryGetListFilterAttributeOperatorTypeNamePrefix)
queryGetListFilterAttributeOperatorTypeNamePrefix - the queryGetListFilterAttributeOperatorTypeNamePrefix to setpublic String getQueryGetListFilterAttributeOperatorName()
public void setQueryGetListFilterAttributeOperatorName(String queryGetListFilterAttributeOperatorName)
queryGetListFilterAttributeOperatorName - the queryGetListFilterAttributeOperatorName to setpublic String getQueryGetListFilterAttributeValueName()
public void setQueryGetListFilterAttributeValueName(String queryGetListFilterAttributeValueName)
queryGetListFilterAttributeValueName - the queryGetListFilterAttributeValueName to setpublic String getQueryGetListFilterAttributeOrderByName()
public void setQueryGetListFilterAttributeOrderByName(String queryGetListFilterAttributeOrderByName)
queryGetListFilterAttributeOrderByName - the queryGetListFilterAttributeOrderByName to setpublic String getQueryGetListFilterAttributeOrderByFieldName()
public void setQueryGetListFilterAttributeOrderByFieldName(String queryGetListFilterAttributeOrderByFieldName)
queryGetListFilterAttributeOrderByFieldName - the queryGetListFilterAttributeOrderByFieldName to setpublic String getQueryGetListFilterAttributeOrderByDirectionName()
public void setQueryGetListFilterAttributeOrderByDirectionName(String queryGetListFilterAttributeOrderByDirectionName)
queryGetListFilterAttributeOrderByDirectionName - the queryGetListFilterAttributeOrderByDirectionName to setpublic String getQueryGetListPagingAttributeName()
public void setQueryGetListPagingAttributeName(String queryGetListPagingAttributeName)
queryGetListPagingAttributeName - the queryGetListPagingAttributeName to setpublic String getQueryGetListPagingAttributeTotalLengthName()
public void setQueryGetListPagingAttributeTotalLengthName(String queryGetListPagingAttributeTotalLengthName)
queryGetListPagingAttributeTotalLengthName - the queryGetListPagingAttributeTotalLengthName to setpublic String getQueryGetListPagingAttributeOffsetName()
public void setQueryGetListPagingAttributeOffsetName(String queryGetListPagingAttributeOffsetName)
queryGetListPagingAttributeOffsetName - the queryGetListPagingAttributeOffsetName to setpublic String getQueryGetListPagingAttributeLimitName()
public void setQueryGetListPagingAttributeLimitName(String queryGetListPagingAttributeLimitName)
queryGetListPagingAttributeLimitName - the queryGetListPagingAttributeLimitName to setpublic int getQueryGetListPagingAttributeLimitDefaultValue()
public void setQueryGetListPagingAttributeLimitDefaultValue(int queryGetListPagingAttributeLimitDefaultValue)
queryGetListPagingAttributeLimitDefaultValue - the queryGetListPagingAttributeLimitDefaultValue to setpublic String getQueryGetListFilterEntityTypeNameSuffix()
public void setQueryGetListFilterEntityTypeNameSuffix(String queryGetListFilterEntityTypeNameSuffix)
queryGetListFilterEntityTypeNameSuffix - the queryGetListFilterEntityTypeNameSuffix to setpublic String getConcreteEmbeddedExtendingTypeNamePrefix()
public void setConcreteEmbeddedExtendingTypeNamePrefix(String concreteEmbeddedExtendingTypeNamePrefix)
concreteEmbeddedExtendingTypeNamePrefix - the concreteEmbeddedExtendingTypeNamePrefix to setpublic String getAttributeIdName()
public void setAttributeIdName(String attributeIdName)
attributeIdName - the attributeIdName to setCopyright © 2019. All rights reserved.