nof-codegen-mongo:generate

Full name:

net.sf.nof:nof-codegen-mongo:0.0.1:generate

Description:

(no description)

Attributes:

  • Requires a Maven project to be executed.
  • Binds by default to the lifecycle phase: generate-sources.

Required Parameters

Name Type Since Description
outputPackage String - the package into which to generate the classes.
User property is: outputPackage.
pathToModel String - the path (including filename) to the model file.

Optional Parameters

Name Type Since Description
abstractClassesPrefix String - the prefix to use for the classnames of abstract classes. (ObjectClasses will result in abstract classes)
Default value is: Abstract.
User property is: abstractClassesPrefix.
outputDir String - the path to place the generated sources.
Default value is: ${project.build.directory}/generated-sources.
User property is: outputDir.
runtimeClassesPrefix String - the prefix to use for the classnames of runtime classes. (A SubClassesBag that has at least one ObjectSubClass which is flagged as runtime will result in a runtime classs)
Default value is: Runtime.
User property is: runtimeClassesPrefix.

Parameter Details

abstractClassesPrefix:

the prefix to use for the classnames of abstract classes. (ObjectClasses will result in abstract classes)
  • Type: java.lang.String
  • Required: No
  • User Property: abstractClassesPrefix
  • Default: Abstract

outputDir:

the path to place the generated sources.
  • Type: java.lang.String
  • Required: No
  • User Property: outputDir
  • Default: ${project.build.directory}/generated-sources

outputPackage:

the package into which to generate the classes.
  • Type: java.lang.String
  • Required: Yes
  • User Property: outputPackage

pathToModel:

the path (including filename) to the model file.
  • Type: java.lang.String
  • Required: Yes

runtimeClassesPrefix:

the prefix to use for the classnames of runtime classes. (A SubClassesBag that has at least one ObjectSubClass which is flagged as runtime will result in a runtime classs)
  • Type: java.lang.String
  • Required: No
  • User Property: runtimeClassesPrefix
  • Default: Runtime