public class ParentLocationHelperDefinition extends LocationHelperDefinition
Constructor and Description |
---|
ParentLocationHelperDefinition(LinkedToParent<?> parentlinkforlocation)
creates a parent location helper
|
Modifier and Type | Method and Description |
---|---|
void |
generateLocationHelper(SourceGenerator sg,
Module module)
generates the java code to configure the location helper
|
LinkedToParent<?> |
getParentLinkForLocation() |
getParent
public ParentLocationHelperDefinition(LinkedToParent<?> parentlinkforlocation)
parentlinkforlocation
- the linked to parent property on the current
object linking to the parent object for linkpublic 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 codepublic LinkedToParent<?> getParentLinkForLocation()