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