public class DataObjectDefinitionShowPage extends java.lang.Object implements GeneratedPages
Constructor and Description |
---|
DataObjectDefinitionShowPage(DataObjectDefinition dataobject)
creates a utility code generation class for the show object page for the data
object given in argument
|
Modifier and Type | Method and Description |
---|---|
void |
generateToFile(SourceGenerator sg,
Module module)
generates the file of the page
|
LinkedToParent<?> |
getLeftLinkedToParent(LinkObject<?,?> linkobject,
LinkedToParent<?> rightobjectparent)
get the linked to parent for the left related object
|
public DataObjectDefinitionShowPage(DataObjectDefinition dataobject)
dataobject
- Data object to generate code forpublic void generateToFile(SourceGenerator sg, Module module) throws java.io.IOException
GeneratedPages
generateToFile
in interface GeneratedPages
sg
- source generatormodule
- parent module of the pagejava.io.IOException
- if anything bad happens writing the codepublic LinkedToParent<?> getLeftLinkedToParent(LinkObject<?,?> linkobject, LinkedToParent<?> rightobjectparent)
linkobject
- a link objectrightobjectparent
- a linkedtoparent for the right to parent