public class ConstantLocationHelperDefinition extends LocationHelperDefinition
Constructor and Description |
---|
ConstantLocationHelperDefinition(DataObjectDefinition parent,
ModuleDomain moduledomain)
creates a constant location helper
|
Modifier and Type | Method and Description |
---|---|
void |
generateLocationHelper(SourceGenerator sg,
Module module)
generates the java code to configure the location helper
|
getParent
public ConstantLocationHelperDefinition(DataObjectDefinition parent, ModuleDomain moduledomain)
parent
- parent data objectmoduledomain
- the module domain to always map the data objects topublic void generateLocationHelper(SourceGenerator sg, Module module) throws java.io.IOException
LocationHelperDefinition
generateLocationHelper
in class LocationHelperDefinition
sg
- source generatormodule
- parent modulejava.io.IOException
- if anything bad happens while writing the source code