Uses of Class
com.sap.cloud.sdk.datamodel.odata.generator.DataModelGenerator
-
Uses of DataModelGenerator in com.sap.cloud.sdk.datamodel.odata.generator
Modifier and TypeMethodDescriptionDataModelGenerator.copyrightHeader
(String copyrightHeader) Defines a copyright header to be placed at the beginning of generated files.DataModelGenerator.deleteOutputDirectory()
Deletes the output directory specified bywithPackageName(String)
prior to generating the sources.DataModelGenerator.deleteOutputDirectory
(boolean deleteOutputDirectory) Defines whether to delete the output directory specified bywithPackageName(String)
prior to generating the sources.DataModelGenerator.failOnWarning()
The generator exists with failure in case a warning occurs during processing.DataModelGenerator.failOnWarning
(boolean failOnWarning) Defines whether to exit with failure in case a warning occurs during processing.DataModelGenerator.keepExistingSignatures
(boolean keepExistingSignatures) Defines whether existing signatures from already generated classes will be considered when generating again.DataModelGenerator.linkToApiBusinessHub()
Activates generation of API reference URLs linking to the SAP Business Accelerator Hub.DataModelGenerator.linkToApiBusinessHub
(boolean linkToApiBusinessHub) Defines whether to generate API reference URLs linking to the SAP Business Accelerator Hub.DataModelGenerator.overwriteFiles()
Defines that already existing files will get overwritten.DataModelGenerator.overwriteFiles
(boolean overwriteFiles) Defines whether already existing files will get overwritten.DataModelGenerator.pojosOnly()
Activates POJO only generation, so just entity and complex type classes are generated.DataModelGenerator.pojosOnly
(boolean pojosOnly) Defines whether to generate just the POJO classes (entities and complex types).DataModelGenerator.sapCopyrightHeader()
Generate SAP copyright headers at the top of generated files.DataModelGenerator.serviceMethodsPerEntitySet()
The generator generates service methods for each entity set of one entity type.DataModelGenerator.serviceMethodsPerEntitySet
(boolean serviceMethodsPerEntitySet) The generator generates service methods for each entity set of one entity type.DataModelGenerator.versionReference()
Generate comments, which indicate the version of the used OData VDM generator plugin.DataModelGenerator.versionReference
(boolean versionReference) Defines whether to generate the version reference of the used OData generator plugin.DataModelGenerator.withAnnotationStrategy
(AnnotationStrategy annotationStrategy) Sets the class to use to provide generated Java classes with necessary annotations.DataModelGenerator.withAnnotationStrategy
(String annotationStrategyClassName) Sets the class to use to provide generated Java classes with necessary annotations.DataModelGenerator.withDefaultBasePath
(String defaultBasePath) Specifies the default base path.DataModelGenerator.withDeprecationNotice
(String deprecationNotice) Generates deprecation notices for generated service ,and it's implementation classDataModelGenerator.withExcludeFilePattern
(String excludeFilePattern) The ant style filename pattern for which VDM should not be generated.DataModelGenerator.withIncludedEntitySets
(Set<String> includedEntitySets) Restricts the generated entity classes to the provided values, plus any dependent complex types.DataModelGenerator.withIncludedFunctionImports
(Set<String> includedFunctionImports) Restricts the generated function imports to the provided values, plus any dependent complex types.DataModelGenerator.withInputDirectory
(File inputDirectory) Input directory that contains the service definition files.DataModelGenerator.withInputDirectory
(String inputDirectory) Path to the input directory that contains the service definition files.DataModelGenerator.withNameSource
(NameSource nameSource) Getter for the givenNameSource
.DataModelGenerator.withNamingStrategy
(NamingStrategy namingStrategy) Sets the class to use to convert OData names into suitable Java names.DataModelGenerator.withNamingStrategy
(String namingStrategyClassName) Sets the class to use to convert OData names into suitable Java names.DataModelGenerator.withOutputDirectory
(File outputDirectory) Output directory to store the generated sources in.DataModelGenerator.withOutputDirectory
(String outputDirectory) Path to the output directory to store the generated sources in.DataModelGenerator.withPackageName
(String packageName) Specifies the package prefix to be used in the generated sources.DataModelGenerator.withServiceNameMapping
(File serviceNameMappingFile) The properties file containing the service name mapping.DataModelGenerator.withServiceNameMapping
(String serviceNameMappingFile) The path to the properties file containing the service name mapping.