Package | Description |
---|---|
com.sap.cloud.sdk.s4hana.datamodel.odata.generator |
Modifier and Type | Method and Description |
---|---|
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.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.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.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(DefaultNamingStrategy.NameSource nameSource)
Getter for the given
DefaultNamingStrategy.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 © 2018 SAP SE. All rights reserved.